Jump to content
grumlu

SystemC using Visual Studio 2013

Recommended Posts

Hello,

 

I'm currently trying to port a SystemC simulation running under Linux to Windows with Visual Studio 2013.

 

I've been searching and following several guides like this one : 

http://www.ict.kth.se/courses/IL2452/Sept2009/TUTORIAL-SystemC-with-Microsoft-Visual-Studio.pdf

 

The only missing option I couldn't set is "detect 64-bit portability issues".

 

Although, when I'm trying to compile a simple SystemC project, the following error occurs :

 

Error 1 error LNK1561: entry point must be defined
 
After looking for it on google, I found this link, saying that the SystemC.lib file might not have been set in VS:
 
The thing is, it is. 
 
Can someone help me?

Share this post


Link to post
Share on other sites

Having successfully used SystemC 2.3.1 with VS 2013 on a 64-bit Window 7 OS, I can assure you that it is not hard.

 

Basic steps are:

1. Download the latest version of SystemC from Accellera.org

2. Open the archive and find the MSC80 directory where some old project solutions await you.

3. Open the solution, ignore the complaints, and build the library.

4. Back in your project simply adjust the settings for C++ include files to use the src directory from you build. Also, adjust the linker to point to the recently built library files under the MSC80/Debug directory.

 

Go!

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

×