• Advertisement
Sign in to follow this  

new problem

This topic is 4736 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

now i have an error, and i don't know how to fix it. --------------------Configuration: experiment2 - Win32 Debug-------------------- Linking... Model.obj : error LNK2001: unresolved external symbol "unsigned int __cdecl LoadGLTexture(char const *)" (?LoadGLTexture@@YAIPBD@Z) Debug/experiment2.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. experiment2.exe - 2 error(s), 0 warning(s)

Share this post


Link to post
Share on other sites
Advertisement
is

unsigned int __cdecl LoadGLTexture(char const *)

in a cpp file?
it has to have the same types

Share this post


Link to post
Share on other sites
if you make a typo or put int insted of long or somthing like that it wont compile

also is the cpp included in your project?

Share this post


Link to post
Share on other sites
dude, thanks a lot. everything was right, except i was missing a cpp file i forgot existed in my project, so thanks to you because you had me look at what was in my project.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement