Author: Mihai Fonoage Edited by Aleksander Colic and Charles Norona. 1. First Microsoft Visual Studio 2005 or 2008 needs to be downloaded from http://brwcse.fau.edu/MSDNAA/index.html . 2. Go to www.systemc.org and create a new user account in order to download the SystemC Library. 3. On the SystemC website, go under “Downloads->OSCI Standards,” scroll down to “Current Releases” section and download SystemC 2.2.0 (systemc-2.2.0.tgz). 4. Open Microsoft Visual Studio 2005/2008:
Open the SystemC project that comes 2.2.0\msvc71\SystemC\SystemC.vcproj”):
with
the
release
(“\systemc-
Visual Studio’s Conversion Wizard should pop up. Follow the directions of the wizard, a back-up of the project is not necessary.
The output should look like this (make sure you have the Solution Explorer view opened – “View → Solution Explorer”):
5. Build the systemc project using F6. This should create the SystemC.lib file under “\systemc-2.2.0\msvc71\SystemC\Debug\”. Warning messages will appear in the output panel while the project is being compiled; these messages specify that some methods used are deprecated. This will not hinder the creation of the SystemC library. The output should be similar to the next figure:
NOTE: If you get errors during the compilation of SystemC, i.e. missing header files, or missing libraries, one has to have the Platform SDK installed. All the information needed can be found at http://msdn2.microsoft.com/en-us/express/aa700755.aspx (to compile SystemC and to make the SISC example work, I only followed Step1 through Step3 from that webpage).
All of the previous steps including step six should be done only once. The changes will be applied for any project you will create (same as in the Visual C++ 2005 Express version). 6. Include SystemC’s source directory into “Tools → Options… → Projects and Solutions → VC++ Directories,” and in the right panel, under “Show directories for:”