Hi,
Unfortunately I have some problems with compilation. I'm using eVC4.
I have such listing:
c:\documents and settings\user\pulpit\iperf-windowsce\iperflib\headers.h(154) : fatal error C1083: Cannot open include file: 'sys/types.h': No such file or directory
socket.h, time.h and signal.h are problematic too. these are named as unix headers.
Do I have not all neccessery libraries?
Thanks a lot,
Tom
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You need to define WIN32 pre-processor variable. Do you know how to do this? It is in Project, Settings, C/C++ tag, Preprocessor definitions (in eVC3).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Go to Projects, Settings, select the target for which you want to build for, go to C/C++ tab and add at the end of the Pre-Processor line WIN32. The parameters are separated by comma.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Unfortunately I have some problems with compilation. I'm using eVC4.
I have such listing:
c:\documents and settings\user\pulpit\iperf-windowsce\iperflib\headers.h(154) : fatal error C1083: Cannot open include file: 'sys/types.h': No such file or directory
socket.h, time.h and signal.h are problematic too. these are named as unix headers.
Do I have not all neccessery libraries?
Thanks a lot,
Tom
You need to define WIN32 pre-processor variable. Do you know how to do this? It is in Project, Settings, C/C++ tag, Preprocessor definitions (in eVC3).
Thanks for reply!
I have there this:
_WIN32_WCE=$(CEVersion),ARM,_ARM_,$(CePlatform),ARMV4I,UNDER_CE=$(CEVersion),UNICODE,_UNICODE,NDEBUG
What should it be?
I used to learn C and C++ a couple of years ago, unfortunately I've forgotten almost everything and now I'm stuck.
Go to Projects, Settings, select the target for which you want to build for, go to C/C++ tab and add at the end of the Pre-Processor line WIN32. The parameters are separated by comma.