[Plib-users] Re: Problems using PLIB with Windows XP and Visual C++
Brought to you by:
sjbaker
From: Adnan B. <adn...@gm...> - 2005-08-03 12:04:12
|
I will prefer to copy those library files into your same project directory as well. so what you should do is copy the library files files as well and paste into your project direct and include those files.I hope you know how to include those files if not please check over the internet how to include.I will wait for your email after doing these steps as well.I hope this time it will work fine. Adnan On 8/3/05, Ramsey Nabulsi <ram...@ho...> wrote: > Thanks for your quick response Adnan. >=20 > That is the strange thing, I have copied all of the header files (fnt.h,= =20 > pui.h, sl.h and many others) into my directory path. The code compiles fi= ne, >=20 > it's just that when I run it I get all these linkage errors. I'm at work = at >=20 > the moment so I can't give you any more details than this, when I get hom= e=20 > tonight I'll email you again if that's alright with an exact list of the= =20 > header files I've copied. Could it be anything to do with the library fil= es? >=20 > I read somewhere that there are various library files you also need to co= py >=20 > into the directory path. So far I've only done this for one library file:= =20 > fnt_d.lib. There are no other library files in the PLIB package I downloa= ded >=20 > (there's no pui.lib, sl.lib, etc). Is this normal? >=20 > Thanks again, > Ramsey >=20 > >From: Adnan Bhatti <adn...@gm...> > >Reply-To: pli...@li... > >To: pli...@li... > >Subject: Re: [Plib-users] Problems using PLIB with Windows XP and Visual= =20 > >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=20 > >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=20 > >application > > > compiles fine, but when it comes time to running it I get the followi= ng > > > errors: > > > > > >=20 > >************************************************************************= *** > > > 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= =20 > >void > > > __thiscall puButton::draw(int,int)" (?draw@puButton@@UAEXHH@Z) > > > Test.obj : error LNK2001: unresolved external symbol "public: virtual= =20 > >int > > > __thiscall puObject::checkKey(int,int)" (?checkKey@puObject@@UAEHHH@Z= ) > > > Test.obj : error LNK2001: unresolved external symbol "public: virtual= =20 > >int > > > __thiscall puObject::checkHit(int,int,int,int)" > > > (?checkHit@puObject@@UAEHHHHH@Z) > > > Test.obj : error LNK2001: unresolved external symbol "public: virtual= =20 > >void > > > __thiscall puObject::recalc_bbox(void)" (?recalc_bbox@puObject@@UAEXX= Z) > > > Test.obj : error LNK2001: unresolved external symbol "public: virtual= =20 > >void > > > __thiscall puOneShot::doHit(int,int,int,int)"=20 > >(?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= =20 > >void > > > __thiscall puValue::setValue(char const *)"=20 > >(?setValue@puValue@@UAEXPBD@Z) > > > Test.obj : error LNK2001: unresolved external symbol "public: virtual= =20 > >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= =20 > >void > > > __thiscall puButton::doHit(int,int,int,int)"=20 > >(?doHit@puButton@@UAEXHHHH@Z) > > > Test.obj : error LNK2001: unresolved external symbol "public: virtual= =20 > >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: stat= ic > > > 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: stat= ic > > > 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) > > >=20 > >************************************************************************= *** > > > > > > Can anybody please help me with this problem? > > > > > > Thanks, > > > Ramsey > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategie= s > > > 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=3D7477&alloc_id=3D16492&op=3D= 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_id=16492&op=3Dclick > >_______________________________________________ > >plib-users mailing list > >pli...@li... > >https://lists.sourceforge.net/lists/listinfo/plib-users >=20 >=20 >=20 >=20 > ------------------------------------------------------- > 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=3D7477&alloc_id=3D16492&op=3Dclic= k > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |