1. Select Tools(工具) -> Options(选项) . . . and the Projects(项目和解决方案) -> VC++ Directories tab(Vc++目录)
2. Select show directories for: Library files(库文件)
3. Select the 'New' icon and browse to: C:\systemc-2.2.0\msvc71\SystemC\Debug
4. Select show directories for: Include files(包含文件)
5. Select the 'New' icon and browse to: C:\systemc-2.2.0\src
步骤三:创建SystemC应用程序
1. Start Visual Studio. From the Start Page select New Project and Win32 Console Project
(Windows 控制台应用程序). Type the project name and select a suitable location then click OK.
2. Select the Application Settings page of the Win32 Application Wizard and make sure the 'Empty project'
box is ticked(把空项目勾起来). Click 'Finish' to complete the wizard.
3. Add new/existing C++ files to the project and edit code.【一定要添加某个C++文件否则下一步就找不到C/c++的选项了】
4. Display the project Property Pages by selecting 'Properties...' from the Project menu.
5. C/C++ -> General properties Warning level= Level 1(/W1)
6. C/C++ -> Code Generation Runtime Library =Multi-thread Debug (/MTd)
7. C/C++ -> Command Line properties Additional Options = /vmg /D_CRT_SECURE_NO_DEPRECATE
8. Linker -> Input properties Additional Dependiences = systemc.lib
9. Click
结束