Re: [Plib-users] Installing plib on windows
Brought to you by:
sjbaker
From: Ana-Maria R. <ro_...@ya...> - 2006-12-10 21:17:34
|
Thank you for your answer, but, unfortunatelly, it didn't solve the problem= . =0AI copied all the .lib files in the Lib folder, but i still get the sam= e errors. But I only found *_d.lib files, and not *.lib in the plib folder= . Is this the way it's supposed to be?=0A=0AThanks,=0AAna=0A=0AMessage: 2= =0ADate: Sun, 10 Dec 2006 14:11:47 +0100=0AFrom: "Tinoshi Kitazawa" <tinosh= i...@li...>=0ASubject: Re: [Plib-users] Installing plib on windows=0ATo: "= PLIB Users" <pli...@li...>=0AMessage-ID: <003b01c71c5c$= bfe65220$0301a8c0@TINOSHILAPTOP>=0AContent-Type: text/plain; charset=3D"iso= -8859-1"=0A=0AHi!=0A=0AMaybe you've already done that, but just double chec= k that the MSVC6.0 include and lib folders contain all the files needed by = plib in order to work properly... =0A=0AOn my machine folders are:=0A=0AC:\= Program Files\Microsoft Visual Studio\VC98\include=0AC:\Program Files\Micro= soft Visual Studio\VC98\lib=0A=0Ain the first one (the 'include' folder) yo= u should have (if not, create a new one) a 'plib' folder, in which you sohu= ld put all the plib's .h files. This is needed to make sure that when examp= les use: =0A=0A#include <plib/XXX.h> =0A=0Aplib headers are found.. =0A=0At= hen 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 defaul= t path of MSVC6.0, so the linker cannot find them. =0A=0A> cannot open file= "ul_d.lib"=0A> although the file exists in the plib folder.=0A=0AI quite s= ure that those files should not be (by default) in a 'plib' subfolder... ju= st copy them into the 'lib' one. =0AHope it helps... I had the same problem= once... =0A =0AGiorgio!=0A ----- Original Message ----- =0A From: Ana-Ma= ria Rosioara =0A To: pli...@li... =0A Sent: Sunday, D= ecember 10, 2006 12:18 PM=0A Subject: [Plib-users] Installing plib on wind= ows=0A=0A=0A Hello!=0A=0A I've just installed the plib on my computer, bu= t there seems to be a problem:=0A I'm using the VisualStudio 6.0, and i've= followed all the installation steps i've found in the readme.win32 file: p= ut the contents of the archieve in the includes/plib folder, opened the wor= kspace "plib.dsw" in MSVC++, selected the "plib" project, and built it (usi= ng "Rebuild All" in the Build menu). =0A=0A But when I try to run one of t= he examples (for example pw_demo), i get an error: =0A cannot open fil= e "ul_d.lib"=0A although the file exists in the plib folder.=0A=0A I trie= d to copy+paste the example posted on the website, the one with a button th= at 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:=0A=0A tst1.obj : error LNK20= 01: unresolved external symbol "int __cdecl puMouse(int,int)" (?puMouse@@YA= HHH@Z)=0A tst1.obj : error LNK2001: unresolved external symbol "int __cdec= l puMouse(int,int,int,int)" (?puMouse@@YAHHHHH@Z)=0A tst1.obj : error LNK2= 001: unresolved external symbol "void __cdecl puDisplay(void)" (?puDisplay@= @YAXXZ)=0A tst1.obj : error LNK2001: unresolved external symbol "void __cd= ecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double= ,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)=0A tst1.obj : error LNK20= 01: unresolved external symbol "void __cdecl puPostRefresh(void)" (?puPostR= efresh@@YAXXZ)=0A tst1.obj : error LNK2001: unresolved external symbol "pu= blic: virtual void __thiscall puButton::draw(int,int)" (?draw@puButton@@UAE= XHH@Z)=0A tst1.obj : error LNK2001: unresolved external symbol "public: vi= rtual int __thiscall puObject::checkKey(int,int)" (?checkKey@puObject@@UAEH= HH@Z)=0A tst1.obj : error LNK2001: unresolved external symbol "public: vir= tual int __thiscall puObject::checkHit(int,int,int,int)" (?checkHit@puObjec= t@@UAEHHHHH@Z)=0A tst1.obj : error LNK2001: unresolved external symbol "pu= blic: virtual void __thiscall puObject::recalc_bbox(void)" (?recalc_bbox@pu= Object@@UAEXXZ)=0A tst1.obj : error LNK2001: unresolved external symbol "p= ublic: virtual void __thiscall puOneShot::doHit(int,int,int,int)" (?doHit@p= uOneShot@@UAEXHHHH@Z)=0A tst1.obj : error LNK2001: unresolved external sym= bol "protected: virtual void __thiscall puObject::draw_label(int,int)" (?dr= aw_label@puObject@@MAEXHH@Z)=0A tst1.obj : error LNK2001: unresolved exter= nal symbol "protected: virtual void __thiscall puObject::draw_legend(int,in= t)" (?draw_legend@puObject@@MAEXHH@Z)=0A tst1.obj : error LNK2001: unresol= ved external symbol "public: virtual void __thiscall puValue::setValue(char= const *)" (?setValue@puValue@@UAEXPBD@Z)=0A tst1.obj : error LNK2001: unr= esolved external symbol "public: virtual void * __thiscall puOneShot::RTTI_= cast(class ulRTTItypeid)" (?RTTI_cast@puOneShot@@UAEPAXVulRTTItypeid@@@Z)= =0A tst1.obj : error LNK2001: unresolved external symbol "protected: void = __thiscall puValue::copy_stringval(char const *)" (?copy_stringval@puValue@= @IAEXPBD@Z)=0A tst1.obj : error LNK2001: unresolved external symbol "prote= cted: void __thiscall puValue::re_eval(void)" (?re_eval@puValue@@IAEXXZ)=0A= tst1.obj : error LNK2001: unresolved external symbol "int __cdecl puGetWi= ndow(void)" (?puGetWindow@@YAHXZ)=0A tst1.obj : error LNK2001: unresolved = external symbol "public: virtual void __thiscall puButton::doHit(int,int,in= t,int)" (?doHit@puButton@@UAEXHHHH@Z)=0A tst1.obj : error LNK2001: unresol= ved external symbol "public: virtual void * __thiscall puButton::RTTI_cast(= class ulRTTItypeid)" (?RTTI_cast@puButton@@UAEPAXVulRTTItypeid@@@Z)=0A tst= 1.obj : error LNK2001: unresolved external symbol "public: __thiscall puObj= ect::puObject(int,int,int,int)" (??0puObject@@QAE@HHHH@Z)=0A tst1.obj : er= ror LNK2001: unresolved external symbol "protected: static class ulRTTIType= info const puButton::RTTI_obj" (?RTTI_obj@puButton@@1VulRTTITypeinfo@@B)=0A= tst1.obj : error LNK2001: unresolved external symbol "public: virtual __t= hiscall puObject::~puObject(void)" (??1puObject@@UAE@XZ)=0A tst1.obj : err= or LNK2001: unresolved external symbol "protected: static class ulRTTITypei= nfo const puOneShot::RTTI_obj" (?RTTI_obj@puOneShot@@1VulRTTITypeinfo@@B)= =0A tst1.obj : error LNK2001: unresolved external symbol "void __cdecl puR= ealInit(void)" (?puRealInit@@YAXXZ)=0A tst1.obj : error LNK2001: unresolve= d external symbol "void __cdecl puSetWindowFuncs(int (__cdecl*)(void),void = (__cdecl*)(int),void (__cdecl*)(int *,int *),void (__cdecl*)(int,int))" (?p= uSetWindowFuncs@@YAXP6AHXZP6AXH@ZP6AXPAH2@ZP6AXHH@Z@Z)=0A Debug/tst1.exe := fatal error LNK1120: 25 unresolved externals=0A Error executing link.exe.= =0A=0A Please, how can I solve this problem? =0A=0A Thank you,=0A Ana=0A= =0A=0A __________________________________________________=0A Do You Yahoo= !?=0A Tired of spam? Yahoo! Mail has the best spam protection around =0A = http://mail.yahoo.com =0A=0A=0A--------------------------------------------= ----------------------------------=0A=0A=0A ------------------------------= -------------------------------------------=0A Take Surveys. Earn Cash. In= fluence the Future of IT=0A Join SourceForge.net's Techsay panel and you'l= l get the chance to share your=0A opinions on IT & business topics through= brief surveys - and earn cash=0A http://www.techsay.com/default.php?page= =3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV=0A=0A=0A--------------------------= ----------------------------------------------------=0A=0A=0A ____________= ___________________________________=0A plib-users mailing list=0A plib-us= er...@li...=0A https://lists.sourceforge.net/lists/listinfo/= plib-users=0A-------------- next part --------------=0AAn HTML attachment w= as scrubbed...=0AURL: http://sourceforge.net/mailarchive/forum.php?forum=3D= plib-users/attachments/20061210/4614bba2/attachment.html =0A=0A------------= ------------------=0A=0A---------------------------------------------------= ----------------------=0ATake Surveys. Earn Cash. Influence the Future of I= T=0AJoin SourceForge.net's Techsay panel and you'll get the chance to share= your=0Aopinions on IT & business topics through brief surveys - and earn c= ash=0Ahttp://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CI= D=3DDEVDEV=0A=0A------------------------------=0A=0A_______________________= ________________________=0Aplib-users mailing list=0Ap...@li...urc= eforge.net=0Ahttps://lists.sourceforge.net/lists/listinfo/plib-users=0A=0A= =0AEnd of plib-users Digest, Vol 7, Issue 1=0A*****************************= ***********=0A=0A=0A=0A=0A=0A=0A=0A =0A____________________________________= ________________________________________________=0ANeed a quick answer? Get= one in minutes from people who know.=0AAsk your question on www.Answers.ya= hoo.com |