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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error LNK2001 LNK1120

Status
Not open for further replies.

adasilva

Programmer
Joined
Aug 16, 2000
Messages
5
Location
DE
Dear Colleagues,<br>Have someone with one idea(?) /<A HREF="mailto:adasilva@igd.fhg.de">adasilva@igd.fhg.de</A>/- I try to compile a GLut/Open GL library and I have always this Bug:<br>--------------------Configuration: top10 - Win32 Debug--------------------<br>Linking...<br>top10.obj : error LNK2001: unresolved external symbol &quot;int __cdecl rand(void)&quot;(?rand@@YAHXZ)<br>LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16<br>Debug/top10.exe : fatal error LNK1120: 2 unresolved externals<br>Error executing link.exe.<br>top10.exe - 3 error(s), 0 warning(s)<br>
 
Ok. I know now that I just need to declare it.
adasilva
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top