Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking Error 2001...Newbie Question

Status
Not open for further replies.

TimeOut

Programmer
Nov 21, 2000
16
GB
Hi everyone!
I downloaded C++ code (FFT algos) and couldn't get it to work and got two link errors!
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/fftdom.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
I tried looking up these errors in the 'developers network' but find it very it hard to understand. Please help me someone!
 
hi!
Maybe you create this project as a "console" type.
You should implement a entry function name: "main()" .
Hope that help you.
gzjungle
 
could be that you haven't told vc++ where to look for the .lib file. Go to project, settings, and link. Then make sure the .lib file is listed in Object/library modules section.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top