[Plib-users] Problems using PLIB with Windows XP and Visual C++
Brought to you by:
sjbaker
From: Ramsey N. <ram...@ho...> - 2005-08-02 21:12:49
|
Hi, I am completely stuck with trying to get PLIB to work. What I'm basically trying to do is just run a simple PUI + OpenGL application in C++. I've downloaded the PLIB package (version 1.8.4) and opened and built the plib.dsw workspace in MS Visual C++ without any problems. My PUI application compiles fine, but when it comes time to running it I get the following errors: *************************************************************************** Linking... Test.obj : error LNK2001: unresolved external symbol "int __cdecl puMouse(int,int)" (?puMouse@@YAHHH@Z) Test.obj : error LNK2001: unresolved external symbol "int __cdecl puMouse(int,int,int,int)" (?puMouse@@YAHHHHH@Z) Test.obj : error LNK2001: unresolved external symbol "void __cdecl puDisplay(void)" (?puDisplay@@YAXXZ) Test.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z) Test.obj : error LNK2001: unresolved external symbol "void __cdecl puPostRefresh(void)" (?puPostRefresh@@YAXXZ) Test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall puButton::draw(int,int)" (?draw@puButton@@UAEXHH@Z) Test.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall puObject::checkKey(int,int)" (?checkKey@puObject@@UAEHHH@Z) Test.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall puObject::checkHit(int,int,int,int)" (?checkHit@puObject@@UAEHHHHH@Z) Test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall puObject::recalc_bbox(void)" (?recalc_bbox@puObject@@UAEXXZ) Test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall puOneShot::doHit(int,int,int,int)" (?doHit@puOneShot@@UAEXHHHH@Z) Test.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_label(int,int)" (?draw_label@puObject@@MAEXHH@Z) Test.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_legend(int,int)" (?draw_legend@puObject@@MAEXHH@Z) Test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall puValue::setValue(char const *)" (?setValue@puValue@@UAEXPBD@Z) Test.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall puOneShot::RTTI_cast(class ulRTTItypeid)" (?RTTI_cast@puOneShot@@UAEPAXVulRTTItypeid@@@Z) Test.obj : error LNK2001: unresolved external symbol "protected: void __thiscall puValue::copy_stringval(char const *)" (?copy_stringval@puValue@@IAEXPBD@Z) Test.obj : error LNK2001: unresolved external symbol "protected: void __thiscall puValue::re_eval(void)" (?re_eval@puValue@@IAEXXZ) Test.obj : error LNK2001: unresolved external symbol "int __cdecl puGetWindow(void)" (?puGetWindow@@YAHXZ) Test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall puButton::doHit(int,int,int,int)" (?doHit@puButton@@UAEXHHHH@Z) Test.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall puButton::RTTI_cast(class ulRTTItypeid)" (?RTTI_cast@puButton@@UAEPAXVulRTTItypeid@@@Z) Test.obj : error LNK2001: unresolved external symbol "public: __thiscall puObject::puObject(int,int,int,int)" (??0puObject@@QAE@HHHH@Z) Test.obj : error LNK2001: unresolved external symbol "protected: static class ulRTTITypeinfo const puButton::RTTI_obj" (?RTTI_obj@puButton@@1VulRTTITypeinfo@@B) Test.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall puObject::~puObject(void)" (??1puObject@@UAE@XZ) Test.obj : error LNK2001: unresolved external symbol "protected: static class ulRTTITypeinfo const puOneShot::RTTI_obj" (?RTTI_obj@puOneShot@@1VulRTTITypeinfo@@B) Test.obj : error LNK2001: unresolved external symbol "void __cdecl puRealInit(void)" (?puRealInit@@YAXXZ) Test.obj : error LNK2001: unresolved external symbol "void __cdecl puSetWindowFuncs(int (__cdecl*)(void),void (__cdecl*)(int),void (__cdecl*)(int *,int *),void (__cdecl*)(int,int))" (?puSetWindowFuncs@@YAXP6AHXZP6AXH@ZP6AXPAH2@ZP6AXHH@Z@Z) Debug/Test.exe : fatal error LNK1120: 25 unresolved externals Error executing link.exe. Test.exe - 26 error(s), 0 warning(s) *************************************************************************** Can anybody please help me with this problem? Thanks, Ramsey |