09-11-2012 09:06 AM
Hi Folks,
I am porting a Shared Object from the Linux/C world to Windows. I would like to use LabWindows/CVI for this. The shared object makes use of some POSIX headers. (Specifically <sys/types.h> <sys/time.h> and some others.)
After reading here I see that LabWindows is strict ANSI C and does not include POSIX headers.
What do people do in this case?
The two suggestions I have read in the forums are to use another compiler or get the missing files from another source.
I would rather use LabWindows/CVI, so any suggestions on where to get the files I need? Any other suggestions?
Thanks!
09-12-2012 01:09 PM
Hi Clendon,
It sounds like you probably found this forum post, which describes why POSIX is not supported by CVI. The easiest solution is to compile what you need into a .dll as Bilal described. Then you can use those functions in the CVI environment.
Cheers,