Jump to content

nurabha

Members
  • Content Count

    4
  • Joined

  • Last visited

  • Days Won

    1
  1. Fixed last issue also by providing "/vmg" flag to compiler Source: http://forums.accellera.org/topic/71-dcast-exception-for-sc-thread-call-in-constructor-vs2012-w8/ Now everything works.
  2. I have managed to remove the error by changing the following linker flag - Project -> Properties -> C/C++ Build -> Settings -> Tool Settings -> C++ compiler -> Code Genearation -> Run-time library : from /MD (msvcrt.lib: import library for the release DLL version of the CRT ) to /MTd (links libcmtd.lib: static CRT link library for a debug build). Then I get some different warnings: cl /c /EHs /MTd /Zi "/IC:\\systemc-2.3.0\\src" "/IC:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Include" /nologo /Fofifo.obj "..\\fifo.cpp" fifo.cpp Unknown compiler versi
  3. There are two folders for Microsoft SDK C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include C:\Program Files\Microsoft SDKs\Windows\v6.1\Include I have used the first path as it is most recent and for x86 Below are the errors I see on compilation (mostly linker errors) : Description Resource Path Location Type LNK2005: _sprintf already defined in MSVCRT.lib(MSVCR100.dll) sysc_test line 0 C/C++ Problem LNK2005: _fflush already defined in MSVCRT.lib(MSVCR100.dll) sysc_test line 0 C/C++ Problem LNK2005: __invalid_parameter already def
  4. 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
×
×
  • Create New...