HI
The issue is most probably related to earlier post:
I am working on x64 Windows on 64-bit intel core 2 duo processor
For development I have Visual Studio 2010 Ultimate and Eclipse CDT Kepler C/C++.
I have built systemc-2.3.0 library (systemc.lib) for debug and release configurations using my Visual Studio.
I am now trying to compile a simple_fifo.cpp example in eclipse.
I am getting following error:
C1083: Cannot open include file: 'Windows.h': No such file or directory sysc_test line 70, external location: c:\systemc-2.3.0\src\sysc\kernel\sc_cmnhdr.h C/C++ Problem
Below I will reproduce the releavant lines from sc_cmnhdr.h header file:
// Windows Version Build Option
#define _WIN32_WINNT 0x0400
#include <Windows.h> // this line no. 70 is giving error
// MSVC6.0 for() scope bug
#define for if( false ); else for
#endif
I then tried by providing the compiler with the inlcude folder path where Windows.h is located in the Windows SDK folder, but it give me more error.
Can anyone help me fix this error ?
Thanks
N.