Find the answer to your Linux question:
Results 1 to 4 of 4
I have some code that requires "stdafx.h". I want to port this code to linux. Can you please help me. is there an equivalent library for this in linux? Guru...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    2

    porting VC++ code to linux


    I have some code that requires "stdafx.h". I want to port this code to linux. Can you please help me. is there an equivalent library for this in linux?

    Guru

  2. #2
    Just Joined!
    Join Date
    Mar 2006
    Posts
    34
    I'm not familiar with Windows programming, but a quick Google search reveals that stdafx.h is just a meta-header file that includes some other commonly needed headers. There is no such header in Linux, but rolling your own would be quite simple; something along these lines:

    Code:
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <wchar.h>
    /* etc */
    Of course, be sure to check out your VC++ header file to see what it includes.

  3. #3
    Just Joined!
    Join Date
    Mar 2006
    Posts
    2

    thanks

    i will check that out. also do u know any frame grabbers implemented in linux for firewire cameras?

    Guru

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Mar 2006
    Posts
    34
    Check out Video4Linux: http://www.exploits.org/v4l/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •