nurabha Posted July 26, 2013 Report Share Posted July 26, 2013 HI The issue is most probably related to earlier post: SystemC in Visual Studio 2012 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. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.