new problem

Started by
4 comments, last by iedoc 19 years, 1 month ago
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)
Advertisement
is

unsigned int __cdecl LoadGLTexture(char const *)

in a cpp file?
it has to have the same types
yes its in a cpp file, but what do you mean it has to be the same?
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?
yes, the cpp is in my project. but i don't know what im supposed to have the same.
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.

This topic is closed to new replies.

Advertisement