Re: [Plib-users] Problems using PLIB with Windows XP and Visual C++
Brought to you by:
sjbaker
From: Ramsey N. <ram...@ho...> - 2005-08-03 08:00:27
|
Thanks for your quick response Adnan. That is the strange thing, I have copied all of the header files (fnt.h, pui.h, sl.h and many others) into my directory path. The code compiles fine, it's just that when I run it I get all these linkage errors. I'm at work at the moment so I can't give you any more details than this, when I get home tonight I'll email you again if that's alright with an exact list of the header files I've copied. Could it be anything to do with the library files? I read somewhere that there are various library files you also need to copy into the directory path. So far I've only done this for one library file: fnt_d.lib. There are no other library files in the PLIB package I downloaded (there's no pui.lib, sl.lib, etc). Is this normal? Thanks again, Ramsey >From: Adnan Bhatti <adn...@gm...> >Reply-To: pli...@li... >To: pli...@li... >Subject: Re: [Plib-users] Problems using PLIB with Windows XP and Visual >C++ >Date: Tue, 2 Aug 2005 23:42:55 +0100 > >Hi, > basically wat happeneing that when you are trying to run the program >your PUI programme it is not loading the .h files from PLIB >package.one thing you can do is that watever ".h" files you are >including in your programme copy and paste those files into project >folder directory and compile,run it.Hopefully it will work now. >If you still have same problem reply me > >Adnan > > > > > >On 8/2/05, Ramsey Nabulsi <ram...@ho...> wrote: > > 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 > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > plib-users mailing list > > pli...@li... > > https://lists.sourceforge.net/lists/listinfo/plib-users > > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >plib-users mailing list >pli...@li... >https://lists.sourceforge.net/lists/listinfo/plib-users |