Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

systemC issue: errors LNK2001 and LNK1120

Status
Not open for further replies.

junchaoguo51888

Member level 1
Joined
Jun 8, 2003
Messages
38
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
shanghai
Activity points
309
when i complie the systemc project in VC6 , it show below indicats, how to sovle it?

Linking...
systemc.lib(sc_main.obj) : error LNK2001: unresolved external symbol _sc_main
Debug/d_ff.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

d_ff.exe - 2 error(s), 0 warning(s)
 

error lnk2019: _sc_main

did u set you include directory correctly?
 

unresolved external symbol _sc_main

yes, i set below:
1. project->setting->c/c++->c++language RTTI and
preprocessor include dir path
2...... ..................->link->general add systemc.lib in lib module
 

sc_main unresolved systemc

it seems that you did not include all the libraries needed.
 

error lnk2019 _sc_main

bump.

Has this been resolved, I'm having the same issue. I also (strongly) believe I've linked the library properly.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top