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.

help for errors in C++

Status
Not open for further replies.

sharadbags

Junior Member level 3
Junior Member level 3
Joined
Oct 1, 2006
Messages
26
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,466
hi all
i am getting the following errors while compiling a C++ code in MS VC++
please suggest how to overcome it.

epsmoea is the name of the program file


epsmoea.obj : error LNK2001: unresolved external symbol _del
epsmoea.obj : error LNK2001: unresolved external symbol _deallocate
epsmoea.obj : error LNK2001: unresolved external symbol _report_archive
epsmoea.obj : error LNK2001: unresolved external symbol _update_pop
epsmoea.obj : error LNK2001: unresolved external symbol _mutation
epsmoea.obj : error LNK2001: unresolved external symbol _crossover
epsmoea.obj : error LNK2001: unresolved external symbol _tournament
epsmoea.obj : error LNK2001: unresolved external symbol _rnd
epsmoea.obj : error LNK2001: unresolved external symbol _update_elite
epsmoea.obj : error LNK2001: unresolved external symbol _insert
epsmoea.obj : error LNK2001: unresolved external symbol _report_pop
epsmoea.obj : error LNK2001: unresolved external symbol _eval
epsmoea.obj : error LNK2001: unresolved external symbol _decode
epsmoea.obj : error LNK2001: unresolved external symbol _initialize
epsmoea.obj : error LNK2001: unresolved external symbol _allocate
epsmoea.obj : error LNK2001: unresolved external symbol _randomize
epsmoea.obj : error LNK2001: unresolved external symbol _seed
 

did you use extern in your code? , if so then you should provide the object file to it.
 

the functions that are called is outside of "context". I think the linker cannot locate the object file that contains the definition on the functions. Check your linker setting. Perhaps, you haven't include the needed *.obj file path to the linker setting.
 

This is an error when you want to connect other files to your program and files cann't be accessed.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top