[Plib-users] Installing plib on windows
Brought to you by:
sjbaker
From: Ana-Maria R. <ro_...@ya...> - 2006-12-10 11:18:10
|
Hello!=0A=0AI've just installed the plib on my computer, but there seems to= be a problem:=0AI'm using the VisualStudio 6.0, and i've followed all the = installation steps i've found in the readme.win32 file: put the contents of= the archieve in the includes/plib folder, opened the workspace "plib.dsw" = in MSVC++, selected the "plib" project, and built it (using "Rebuild All" i= n the Build menu). =0A=0ABut when I try to run one of the examples (for exa= mple pw_demo), i get an error: =0A cannot open file "ul_d.lib"=0Aalthoug= h the file exists in the plib folder.=0A=0AI tried to copy+paste the exampl= e posted on the website, the one with a button that prints "Hello world!", = and when i compile it, everything is ok, but then when i try to run it, a g= et a lot of errors:=0A=0Atst1.obj : error LNK2001: unresolved external symb= ol "int __cdecl puMouse(int,int)" (?puMouse@@YAHHH@Z)=0Atst1.obj : error LN= K2001: unresolved external symbol "int __cdecl puMouse(int,int,int,int)" (?= puMouse@@YAHHHHH@Z)=0Atst1.obj : error LNK2001: unresolved external symbol = "void __cdecl puDisplay(void)" (?puDisplay@@YAXXZ)=0Atst1.obj : error LNK20= 01: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* con= st)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQ= AY03NNNNNNN@Z)=0Atst1.obj : error LNK2001: unresolved external symbol "void= __cdecl puPostRefresh(void)" (?puPostRefresh@@YAXXZ)=0Atst1.obj : error LN= K2001: unresolved external symbol "public: virtual void __thiscall puButton= ::draw(int,int)" (?draw@puButton@@UAEXHH@Z)=0Atst1.obj : error LNK2001: unr= esolved external symbol "public: virtual int __thiscall puObject::checkKey(= int,int)" (?checkKey@puObject@@UAEHHH@Z)=0Atst1.obj : error LNK2001: unreso= lved external symbol "public: virtual int __thiscall puObject::checkHit(int= ,int,int,int)" (?checkHit@puObject@@UAEHHHHH@Z)=0Atst1.obj : error LNK2001:= unresolved external symbol "public: virtual void __thiscall puObject::reca= lc_bbox(void)" (?recalc_bbox@puObject@@UAEXXZ)=0Atst1.obj : error LNK2001: = unresolved external symbol "public: virtual void __thiscall puOneShot::doHi= t(int,int,int,int)" (?doHit@puOneShot@@UAEXHHHH@Z)=0Atst1.obj : error LNK20= 01: unresolved external symbol "protected: virtual void __thiscall puObject= ::draw_label(int,int)" (?draw_label@puObject@@MAEXHH@Z)=0Atst1.obj : error = LNK2001: unresolved external symbol "protected: virtual void __thiscall puO= bject::draw_legend(int,int)" (?draw_legend@puObject@@MAEXHH@Z)=0Atst1.obj := error LNK2001: unresolved external symbol "public: virtual void __thiscall= puValue::setValue(char const *)" (?setValue@puValue@@UAEXPBD@Z)=0Atst1.obj= : error LNK2001: unresolved external symbol "public: virtual void * __this= call puOneShot::RTTI_cast(class ulRTTItypeid)" (?RTTI_cast@puOneShot@@UAEPA= XVulRTTItypeid@@@Z)=0Atst1.obj : error LNK2001: unresolved external symbol = "protected: void __thiscall puValue::copy_stringval(char const *)" (?copy_s= tringval@puValue@@IAEXPBD@Z)=0Atst1.obj : error LNK2001: unresolved externa= l symbol "protected: void __thiscall puValue::re_eval(void)" (?re_eval@puVa= lue@@IAEXXZ)=0Atst1.obj : error LNK2001: unresolved external symbol "int __= cdecl puGetWindow(void)" (?puGetWindow@@YAHXZ)=0Atst1.obj : error LNK2001: = unresolved external symbol "public: virtual void __thiscall puButton::doHit= (int,int,int,int)" (?doHit@puButton@@UAEXHHHH@Z)=0Atst1.obj : error LNK2001= : unresolved external symbol "public: virtual void * __thiscall puButton::R= TTI_cast(class ulRTTItypeid)" (?RTTI_cast@puButton@@UAEPAXVulRTTItypeid@@@Z= )=0Atst1.obj : error LNK2001: unresolved external symbol "public: __thiscal= l puObject::puObject(int,int,int,int)" (??0puObject@@QAE@HHHH@Z)=0Atst1.obj= : error LNK2001: unresolved external symbol "protected: static class ulRTT= ITypeinfo const puButton::RTTI_obj" (?RTTI_obj@puButton@@1VulRTTITypeinfo@@= B)=0Atst1.obj : error LNK2001: unresolved external symbol "public: virtual = __thiscall puObject::~puObject(void)" (??1puObject@@UAE@XZ)=0Atst1.obj : er= ror LNK2001: unresolved external symbol "protected: static class ulRTTIType= info const puOneShot::RTTI_obj" (?RTTI_obj@puOneShot@@1VulRTTITypeinfo@@B)= =0Atst1.obj : error LNK2001: unresolved external symbol "void __cdecl puRea= lInit(void)" (?puRealInit@@YAXXZ)=0Atst1.obj : error LNK2001: unresolved ex= ternal symbol "void __cdecl puSetWindowFuncs(int (__cdecl*)(void),void (__c= decl*)(int),void (__cdecl*)(int *,int *),void (__cdecl*)(int,int))" (?puSet= WindowFuncs@@YAXP6AHXZP6AXH@ZP6AXPAH2@ZP6AXHH@Z@Z)=0ADebug/tst1.exe : fatal= error LNK1120: 25 unresolved externals=0AError executing link.exe.=0A=0APl= ease, how can I solve this problem? =0A=0AThank you,=0AAna=0A=0A=0A=0A_____= _____________________________________________=0ADo You Yahoo!?=0ATired of s= pam? Yahoo! Mail has the best spam protection around =0Ahttp://mail.yahoo.= com |