Jump to content

thoschmi

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Hi, I'm trying to install SystemC on Microsoft Visual Studio 2012. I downloaded SystemC 2.3.0 and did the steps in this tutorial: http://www.ict.kth.se/courses/IL2452/Sept2009/TUTORIAL-SystemC-with-Microsoft-Visual-Studio.pdf I opened the C++ project in SystemC 2.3.0\...\msvc80 folder and tried to build it, but i got the following errors: 1>------ Erstellen gestartet: Projekt: SystemC, Konfiguration: Debug Win32 ------ 1> sc_list.cpp 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(195): warning C4005: 'for': Makro-Neudefinition 1> c:\users\thomas\downloads\systemc-2.3.0\systemc-2.3.0\src\sysc\kernel\sc_cmnhdr.h(75): Siehe vorherige Definition von 'for' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 1> sc_reset.cpp 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(195): warning C4005: 'for': Makro-Neudefinition 1> c:\users\thomas\downloads\systemc-2.3.0\systemc-2.3.0\src\sysc\kernel\sc_cmnhdr.h(75): Siehe vorherige Definition von 'for' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 1> sc_main_main.cpp 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(195): warning C4005: 'for': Makro-Neudefinition 1> c:\users\thomas\downloads\systemc-2.3.0\systemc-2.3.0\src\sysc\kernel\sc_cmnhdr.h(75): Siehe vorherige Definition von 'for' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 1> sc_main.cpp 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(195): warning C4005: 'for': Makro-Neudefinition 1> c:\users\thomas\downloads\systemc-2.3.0\systemc-2.3.0\src\sysc\kernel\sc_cmnhdr.h(75): Siehe vorherige Definition von 'for' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 1> sc_except.cpp 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(195): warning C4005: 'for': Makro-Neudefinition 1> c:\users\thomas\downloads\systemc-2.3.0\systemc-2.3.0\src\sysc\kernel\sc_cmnhdr.h(75): Siehe vorherige Definition von 'for' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 1> sc_unsigned.cpp 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(195): warning C4005: 'for': Makro-Neudefinition 1> c:\users\thomas\downloads\systemc-2.3.0\systemc-2.3.0\src\sysc\kernel\sc_cmnhdr.h(75): Siehe vorherige Definition von 'for' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 1> sc_signed.cpp 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(195): warning C4005: 'for': Makro-Neudefinition 1> c:\users\thomas\downloads\systemc-2.3.0\systemc-2.3.0\src\sysc\kernel\sc_cmnhdr.h(75): Siehe vorherige Definition von 'for' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 1> sc_nbdefs.cpp 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(195): warning C4005: 'for': Makro-Neudefinition 1> c:\users\thomas\downloads\systemc-2.3.0\systemc-2.3.0\src\sysc\kernel\sc_cmnhdr.h(75): Siehe vorherige Definition von 'for' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 1> sc_bit.cpp 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(195): warning C4005: 'for': Makro-Neudefinition 1> c:\users\thomas\downloads\systemc-2.3.0\systemc-2.3.0\src\sysc\kernel\sc_cmnhdr.h(75): Siehe vorherige Definition von 'for' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 1> sc_signal_resolved_ports.cpp 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(195): warning C4005: 'for': Makro-Neudefinition 1> c:\users\thomas\downloads\systemc-2.3.0\systemc-2.3.0\src\sysc\kernel\sc_cmnhdr.h(75): Siehe vorherige Definition von 'for' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 1> sc_signal_resolved.cpp 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(195): warning C4005: 'for': Makro-Neudefinition 1> c:\users\thomas\downloads\systemc-2.3.0\systemc-2.3.0\src\sysc\kernel\sc_cmnhdr.h(75): Siehe vorherige Definition von 'for' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 1> sc_port.cpp 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(195): warning C4005: 'for': Makro-Neudefinition 1> c:\users\thomas\downloads\systemc-2.3.0\systemc-2.3.0\src\sysc\kernel\sc_cmnhdr.h(75): Siehe vorherige Definition von 'for' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 1> Code wird generiert... ========== Erstellen: 0 erfolgreich, 1 fehlerhaft, 0 aktuell, 0 ├╝bersprungen ========== I hope someone could help me Regards, Thomas
×