unresolved external symbol

M

Michael Sgier

Hi
I've included the SDL_image.h but get:

C12 error LNK2019: unresolved external symbol _SDL_RWFromFile referenced
in function "int __cdecl LoadGLTexture(char *,int)"
(?LoadGLTexture@@YAHPADH@Z)

WHY?
Thanks Michael
 
J

jason.cipriani

Hi
  I've included the SDL_image.h but get:

C12 error LNK2019: unresolved external symbol _SDL_RWFromFile referenced
in function "int __cdecl LoadGLTexture(char *,int)"
(?LoadGLTexture@@YAHPADH@Z)

WHY?


You are getting that error because the function LoadGLTexture is
referencing the symbol _SDL_RWFromFile, which is not defined in any of
the object files or libraries you've linked to. Be sure you are
linking to all of the required SDL libraries.

This question is off topic here; if you need additional help, you
should ask on SDL's mailing list / newsgroup / forum / IRC channel /
etc. (check their web site, there is likely a link to help somewhere).


Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top