PhysX SDK - error LNK2019: unresolved external symbol when compiling "wavefront.cpp"
- by user370102
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:
1Linking...
1wavefront.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)
1C:\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