Re: [Plib-users] Installing plib on windows
Brought to you by:
sjbaker
From: Tinoshi K. <ti...@li...> - 2006-12-10 13:11:52
|
Hi! Maybe you've already done that, but just double check that the MSVC6.0 = include and lib folders contain all the files needed by plib in order to = work properly...=20 On my machine folders are: C:\Program Files\Microsoft Visual Studio\VC98\include C:\Program Files\Microsoft Visual Studio\VC98\lib in the first one (the 'include' folder) you should have (if not, create = a new one) a 'plib' folder, in which you sohuld put all the plib's .h = files. This is needed to make sure that when examples use:=20 #include <plib/XXX.h>=20 plib headers are found..=20 then check if in the 'lib' folder you have copied all the *.lib and = *_d.lib files. Maybe you have put those files in a folder that is not on = the default path of MSVC6.0, so the linker cannot find them.=20 > cannot open file "ul_d.lib" > although the file exists in the plib folder. I quite sure that those files should not be (by default) in a 'plib' = subfolder... just copy them into the 'lib' one.=20 Hope it helps... I had the same problem once...=20 =20 Giorgio! ----- Original Message -----=20 From: Ana-Maria Rosioara=20 To: pli...@li...=20 Sent: Sunday, December 10, 2006 12:18 PM Subject: [Plib-users] Installing plib on windows Hello! I've just installed the plib on my computer, but there seems to be a = problem: I'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" = in the Build menu).=20 But when I try to run one of the examples (for example pw_demo), i get = an error:=20 cannot open file "ul_d.lib" although the file exists in the plib folder. I tried to copy+paste the example 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 get a lot of errors: tst1.obj : error LNK2001: unresolved external symbol "int __cdecl = puMouse(int,int)" (?puMouse@@YAHHH@Z) tst1.obj : error LNK2001: unresolved external symbol "int __cdecl = puMouse(int,int,int,int)" (?puMouse@@YAHHHHH@Z) tst1.obj : error LNK2001: unresolved external symbol "void __cdecl = puDisplay(void)" (?puDisplay@@YAXXZ) tst1.obj : error LNK2001: unresolved external symbol "void __cdecl = sgdMakeCoordMat4(double (* = const)[4],double,double,double,double,double,double)" = (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z) tst1.obj : error LNK2001: unresolved external symbol "void __cdecl = puPostRefresh(void)" (?puPostRefresh@@YAXXZ) tst1.obj : error LNK2001: unresolved external symbol "public: virtual = void __thiscall puButton::draw(int,int)" (?draw@puButton@@UAEXHH@Z) tst1.obj : error LNK2001: unresolved external symbol "public: virtual = int __thiscall puObject::checkKey(int,int)" = (?checkKey@puObject@@UAEHHH@Z) tst1.obj : error LNK2001: unresolved external symbol "public: virtual = int __thiscall puObject::checkHit(int,int,int,int)" = (?checkHit@puObject@@UAEHHHHH@Z) tst1.obj : error LNK2001: unresolved external symbol "public: virtual = void __thiscall puObject::recalc_bbox(void)" = (?recalc_bbox@puObject@@UAEXXZ) tst1.obj : error LNK2001: unresolved external symbol "public: virtual = void __thiscall puOneShot::doHit(int,int,int,int)" = (?doHit@puOneShot@@UAEXHHHH@Z) tst1.obj : error LNK2001: unresolved external symbol "protected: = virtual void __thiscall puObject::draw_label(int,int)" = (?draw_label@puObject@@MAEXHH@Z) tst1.obj : error LNK2001: unresolved external symbol "protected: = virtual void __thiscall puObject::draw_legend(int,int)" = (?draw_legend@puObject@@MAEXHH@Z) tst1.obj : error LNK2001: unresolved external symbol "public: virtual = void __thiscall puValue::setValue(char const *)" = (?setValue@puValue@@UAEXPBD@Z) tst1.obj : error LNK2001: unresolved external symbol "public: virtual = void * __thiscall puOneShot::RTTI_cast(class ulRTTItypeid)" = (?RTTI_cast@puOneShot@@UAEPAXVulRTTItypeid@@@Z) tst1.obj : error LNK2001: unresolved external symbol "protected: void = __thiscall puValue::copy_stringval(char const *)" = (?copy_stringval@puValue@@IAEXPBD@Z) tst1.obj : error LNK2001: unresolved external symbol "protected: void = __thiscall puValue::re_eval(void)" (?re_eval@puValue@@IAEXXZ) tst1.obj : error LNK2001: unresolved external symbol "int __cdecl = puGetWindow(void)" (?puGetWindow@@YAHXZ) tst1.obj : error LNK2001: unresolved external symbol "public: virtual = void __thiscall puButton::doHit(int,int,int,int)" = (?doHit@puButton@@UAEXHHHH@Z) tst1.obj : error LNK2001: unresolved external symbol "public: virtual = void * __thiscall puButton::RTTI_cast(class ulRTTItypeid)" = (?RTTI_cast@puButton@@UAEPAXVulRTTItypeid@@@Z) tst1.obj : error LNK2001: unresolved external symbol "public: = __thiscall puObject::puObject(int,int,int,int)" = (??0puObject@@QAE@HHHH@Z) tst1.obj : error LNK2001: unresolved external symbol "protected: = static class ulRTTITypeinfo const puButton::RTTI_obj" = (?RTTI_obj@puButton@@1VulRTTITypeinfo@@B) tst1.obj : error LNK2001: unresolved external symbol "public: virtual = __thiscall puObject::~puObject(void)" (??1puObject@@UAE@XZ) tst1.obj : error LNK2001: unresolved external symbol "protected: = static class ulRTTITypeinfo const puOneShot::RTTI_obj" = (?RTTI_obj@puOneShot@@1VulRTTITypeinfo@@B) tst1.obj : error LNK2001: unresolved external symbol "void __cdecl = puRealInit(void)" (?puRealInit@@YAXXZ) tst1.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/tst1.exe : fatal error LNK1120: 25 unresolved externals Error executing link.exe. Please, how can I solve this problem?=20 Thank you, Ana __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 -------------------------------------------------------------------------= ----- = -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to = share your opinions on IT & business topics through brief surveys - and earn cash = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV -------------------------------------------------------------------------= ----- _______________________________________________ plib-users mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-users |