Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

HELP!!!SystemC on visual studio 2005

Status
Not open for further replies.

Alexander Yin

Junior Member level 2
Joined
May 29, 2007
Messages
21
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
Finland
Activity points
1,450
systemc windows

I'm a newbie in systemC and trying to run the example given by systemc.org on visual studio 2005. But after compiling systemc.sln under the folder msvc71 and set the directory in the compiler, I tried to run the example. But when I tried to debug it, there is some errors like:
'simple_bus.exe': Loaded 'C:\systemc-2.1.v1\examples\sysc\simple_bus\Debug\simple_bus.exe', Symbols loaded.
'simple_bus.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'simple_bus.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
The program '[1416] simple_bus.exe: Native' has exited with code 0 (0x0).
Can anyone help me out of this situation? Thank you so much.
 

Joined
Sep 3, 2007
Messages
853
Helped
66
Reputation
132
Reaction score
16
Trophy points
1,298
Activity points
0
systemc visual studio 2008

Hi,
This happened to me with MSVC6++. The only one solution that i found was by reinstalling it.
Regards,
Master_PicEngineer.
 

shiv_emf

Advanced Member level 2
Joined
Aug 31, 2005
Messages
605
Helped
22
Reputation
44
Reaction score
6
Trophy points
1,298
Activity points
4,106
systemc visual studio 2005

systemC on windows ! i am nt aware of it but I am going to start work on Microsoft studio developer.! ..

any guidelines to follow?
 

Joined
Sep 3, 2007
Messages
853
Helped
66
Reputation
132
Reaction score
16
Trophy points
1,298
Activity points
0
system c visual studio

Docs: SystemC
User Guide avalable at:
www.systemc.org
Books:
SystemC from the ground up
System design with SystemC
Tools:
SystemCWin and SystemCRafter
 

Alexander Yin

Junior Member level 2
Joined
May 29, 2007
Messages
21
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
Finland
Activity points
1,450
systemc for windows

I have found the solution.

First, update SystemC include file and library:
1. Select Tools -> Options . . . and the Projects -> VC++ Directories tab
2. Select show directories for: Library files
3. Select the 'New' icon and browse to: c:\systemc-2.1.v1\msvc71\systemc\debug
4. Select show directories for: Include files
5. Select the 'New' icon and browse to: c:\systemc-2.1.v1\src

Then, create systemC application program:
1. Start Visual Studio. From the Start Page select New Project and Win32 Console Project. 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.
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 OK
 

pragya.laad

Junior Member level 1
Joined
Aug 16, 2007
Messages
19
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
1,368
systemc visual studio

hey, follow the instructions given in INSTALL text file in the folser downloaded from systemc.org
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top