PhysX SDK - error LNK2019: unresolved external symbol when compiling "wavefront.cpp"

Posted by user370102 on Stack Overflow See other posts from Stack Overflow or by user370102
Published on 2010-06-18T08:20:33Z Indexed on 2010/06/18 8:23 UTC
Read the original article Hit count: 297

Filed under:
|
|
|
|

Hi all,

I'm using the PhysX SDK and I'm trying to load an .obj file with the WavefrontObj object which is defined by the files "wavefront.h/.cpp", localized in the samples directory.

When I'm compiling my project, I got this error:

1>Linking... 1>wavefront.obj : error LNK2019: unresolved external symbol "char * __cdecl FindMediaFile(char const *,char *)" (?FindMediaFile@@YAPADPBDPAD@Z) referenced in function "public: void __thiscall WAVEFRONT::InPlaceParser::SetFile(char const *)" (?SetFile@InPlaceParser@WAVEFRONT@@QAEXPBD@Z) 1>C:\Users\Nicolas\Documents\GI05\CSED451 - Computer Graphics\ToyFK_Project\Debug\ToyFK_Project.exe : fatal error LNK1120: 1 unresolved externals

I guess I forgot to link a library or something but I really can't find what... It's driving me crazy!!! Does somebody have an idea?

Thank you

© Stack Overflow or respective owner

Related posts about error

Related posts about library