Jump to content
Sign in to follow this  

Installation for Visual Studio 2010, Windows 7

Recommended Posts

Hi , I am very new to SystemC and Visual Studio 2010. I have download the SystemC 2.3 and wanted to compile an example project "simple fifo" with Visual studio 2010. I get the following error:

1>------ Build started: Project: simple_fifo, Configuration: Debug Win32 ------

1>Build started 1/12/2013 1:13:22 AM.


1> Touching "Debug\simple_fifo.unsuccessfulbuild".


1> simple_fifo.cpp

1>e:\users\shan\programing\systemc\systemc-2.3.0\examples\sysc\simple_fifo\simple_fifo.cpp(41): fatal error C1083: Cannot open include file: 'systemc.h': No such file or directory


1>Build FAILED.


1>Time Elapsed 00:00:00.89

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I have added the systemc.h file in the header files folder of the project , but it still gives the same error. What is going wrong? Why it is not bale to find the header files?

Share this post

Link to post
Share on other sites

You should add the include and library directories to the paths. Here are my rather short notes:

Visual C++ 2010

Tools > Settings > Expert Settings

View > Property Manager

Expand project properties until you see


Right-click on the above under e.g. Debug, and set directories.

Close and re-open Visual C++.

When it says "set directories", include should be set to the src directory, library should be set to the Debug directory,


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this