plib-users Mailing List for PLIB (Page 14)
Brought to you by:
sjbaker
You can subscribe to this list here.
2000 |
Jan
|
Feb
(24) |
Mar
(54) |
Apr
(29) |
May
(58) |
Jun
(29) |
Jul
(675) |
Aug
(46) |
Sep
(40) |
Oct
(102) |
Nov
(39) |
Dec
(40) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(45) |
Feb
(23) |
Mar
(30) |
Apr
(64) |
May
(28) |
Jun
(61) |
Jul
(55) |
Aug
(35) |
Sep
(24) |
Oct
(23) |
Nov
(21) |
Dec
(67) |
2002 |
Jan
(98) |
Feb
(23) |
Mar
(13) |
Apr
(23) |
May
(43) |
Jun
(45) |
Jul
(54) |
Aug
(5) |
Sep
(56) |
Oct
(17) |
Nov
(53) |
Dec
(26) |
2003 |
Jan
(67) |
Feb
(36) |
Mar
(22) |
Apr
(35) |
May
(26) |
Jun
(35) |
Jul
(10) |
Aug
(49) |
Sep
(17) |
Oct
(3) |
Nov
(30) |
Dec
(10) |
2004 |
Jan
(12) |
Feb
(18) |
Mar
(52) |
Apr
(50) |
May
(22) |
Jun
(13) |
Jul
(16) |
Aug
(23) |
Sep
(21) |
Oct
(29) |
Nov
(6) |
Dec
(26) |
2005 |
Jan
(9) |
Feb
(19) |
Mar
(13) |
Apr
(19) |
May
(12) |
Jun
(8) |
Jul
(6) |
Aug
(10) |
Sep
(22) |
Oct
(3) |
Nov
(6) |
Dec
(17) |
2006 |
Jan
(10) |
Feb
(8) |
Mar
(5) |
Apr
(5) |
May
(6) |
Jun
(8) |
Jul
(8) |
Aug
(13) |
Sep
(2) |
Oct
(1) |
Nov
(9) |
Dec
(6) |
2007 |
Jan
(3) |
Feb
(4) |
Mar
(12) |
Apr
(2) |
May
(6) |
Jun
|
Jul
(22) |
Aug
|
Sep
(9) |
Oct
(13) |
Nov
|
Dec
|
2008 |
Jan
(1) |
Feb
(6) |
Mar
(2) |
Apr
(4) |
May
(15) |
Jun
(28) |
Jul
(8) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2009 |
Jan
(5) |
Feb
(5) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(2) |
Apr
(7) |
May
(4) |
Jun
(2) |
Jul
(5) |
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
2011 |
Jan
(7) |
Feb
(2) |
Mar
(1) |
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
(1) |
Nov
(4) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Michele F. <mi...@li...> - 2005-09-08 17:16:23
|
Alle 18:24, gioved=EC 8 settembre 2005, Adnan Bhatti ha=20 scritto: > you are already using glut that is glutCreateSubWindow > and there are alot of tutorial online which will help you > to do wat you want.To be honest i didnt understand your > question.You definately can creat subwindows and windows > seperate and depended as well.I think plui is not better > than glut but you can try glui as well. > bye > Adnan You are quite right: I have think to a problem in Plib but I not have cosidered the "context" separation in glut. At this address I have find a solution ( =3D:-| ) for the=20 problem: http://www.opengl.org/resources/faq/technical/displaylist.htm I have already try with code like: glutCreateWindow( ....... ); =46irst_Ctx =3D glXGetCurrentContext( ........ ); Display =3D glXGetCurrentDisplay( ....... ); glutCreateSubWindow( ....... ); Second_Ctx =3D glXGetCurrentContext( ........ ); =2E... But for now when call "glXCopyContext( Display, First_Ctx,=20 Second_Ctx , GL_ALL_ATTRIB_BITS ) " the answer ( at run=20 time ) is a error ( GLXBadContext ). But this solution and the previous is not portables. Can I hope for a future feature in PW library? Thank |
From: Adnan B. <adn...@gm...> - 2005-09-08 16:25:15
|
you are already using glut that is glutCreateSubWindow and there are alot o= f=20 tutorial online which will help you to do wat you want.To be honest i didnt= =20 understand your question.You definately can creat subwindows and windows=20 seperate and depended as well.I think plui is not better than glut but you= =20 can try glui as well. bye Adnan On 9/7/05, Michele Fanti <mi...@li...> wrote: >=20 >=20 > Hello, > I have a problem when use glutCreateSubWindow. > When add a sub window in the code, one of the window > ( depending where I place ssgInit ) could'n visualize > display list and texture. > I've tryed to call ssgInit with current window set on main > and sub window, but the problem continue... > How can use multiple window with Plib and glut ? >=20 > Thank to all and excuse me for my english. >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle=20 > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q= A > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |
From: Paolo L. <p.l...@ci...> - 2005-09-08 14:17:27
|
If you are under Windows you need to share lists (display lists and = texture objects) through the wgl function wglShareLists, which takes two OpenGL contexes (returned by the function GetCurrentContext). Such two contexes are respectively the one where the textures/display = lists were created, and the new one willing to put hands on them (or in the reverse order, see doc). Under GLX similar functions do exist. Greetings - Paolo Leoncini > -----Messaggio originale----- > Da: pli...@li...=20 > [mailto:pli...@li...] Per conto di=20 > Michele Fanti > Inviato: gioved=EC 8 settembre 2005 0.42 > A: pli...@li... > Oggetto: [Plib-users] Using Multiple Window of GLUT >=20 >=20 >=20 > Hello, > I have a problem when use glutCreateSubWindow. > When add a sub window in the code, one of the window > ( depending where I place ssgInit ) could'n visualize=20 > display list and texture. > I've tryed to call ssgInit with current window set on main > and sub window, but the problem continue... > How can use multiple window with Plib and glut ? >=20 > Thank to all and excuse me for my english. >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference &=20 > EXPO September 19-22, 2005 * San Francisco, CA * Development=20 > Lifecycle Practices Agile & Plan-Driven Development *=20 > Managing Projects & Teams * Testing & QA Security * Process=20 > Improvement & Measurement * http://www.sqe.com/bsce5sf=20 > _______________________________________________ > plib-users mailing list > pli...@li...=20 > https://lists.sourceforge.net/lists/listinfo/plib-users >=20 |
From: Michele F. <mi...@li...> - 2005-09-08 13:57:00
|
Hello, I have a problem when use glutCreateSubWindow. When add a sub window in the code, one of the window ( depending where I place ssgInit ) could'n visualize display list and texture. I've tryed to call ssgInit with current window set on main and sub window, but the problem continue... How can use multiple window with Plib and glut ? Thank to all and excuse me for my english. |
From: Jared C. <jca...@ya...> - 2005-09-01 00:35:11
|
Hello, I'm a new user, and just downloaded PLIB. I really like but I'm having some trouble with subwindows and the file selector. Basically I want two subwindows which have plots in each of them. Underneath these two subwindows I have a bunch of buttons and knobs to select values to plot, etc.. The problem I'm having is that the subwindows block the file selector, so you hit the button, the file selector comes up, but behind a subwindow. I could move the selector off to the side, but I thought I'd ask if anyone knows a way to make the file selector come in front of the subwindows. Thanks for any help, Jared Carlson __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Francisco C. <fra...@gm...> - 2005-08-09 18:27:23
|
Excelent guys, it's seems to work now... Finally I've to swich the parameters like this: LIBS =3D -L"C:/Archivos de programa/Dev-Cpp/lib" -mwindows -lmingw32 -lSDLmain -lSDL ../../lib/plib/libplibpu.a ../../lib/plib/libplibfnt.a ../../lib/plib/libplibul.a -lopengl32 -mwin32 -lm -lwinmm -lgmon -pg=20 -g3 Thanxs for the help! On 8/8/05, Jan Reucker <slo...@gm...> wrote: > Am Mon, 8 Aug 2005 11:14:52 +0200 schrieb p.l...@ci...: >=20 > > In LIBS just put the -lopengl32 and -lSDL* after the libplib* stuffs, a= nd, less > > important, remove the -l* stuffs from CXXFLAGS since are not appropriat= e there. >=20 > Yes, Dev-Cpp seems to be a bit sloppy with compiler and linker flags... > It's also strange that the "debug" setting in Dev-Cpp is located in the > Linker flags dialog although it's clearly a compiler option. >=20 > I've also ported a project to Dev-Cpp using SDL, plib and OpenGL and > the ordering of the -l... parameters nearly drove me nuts. mingw32-g++ > requires that a library libFoo.a which has references to symbols from > libBar.a must be specified on the command line BEFORE libBar.a. So the > correct order will be something like: >=20 > -lmingw32 -lsdlmain -lsdl -lglu32 -lplibpu -lplibfnt -lplibul -lopengl32 = -lwinmm >=20 >=20 > Regarding >=20 > > -DPU_USING_SDL >=20 > shouldn't that be >=20 > -DPU_USE_SDL ? >=20 > I can recall that I had some trouble with that #define until I looked > at the pu.h header file (at the bottom). >=20 > Kind regards, > Jan R. >=20 > -- > Jan Reucker > email: jan dot reucker at web dot de > web: http://www.reucker-online.de >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic= es > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q= A > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |
From: Jan R. <slo...@gm...> - 2005-08-08 17:31:56
|
Am Mon, 8 Aug 2005 11:14:52 +0200 schrieb p.l...@ci...: > In LIBS just put the -lopengl32 and -lSDL* after the libplib* stuffs, and, less > important, remove the -l* stuffs from CXXFLAGS since are not appropriate there. Yes, Dev-Cpp seems to be a bit sloppy with compiler and linker flags... It's also strange that the "debug" setting in Dev-Cpp is located in the Linker flags dialog although it's clearly a compiler option. I've also ported a project to Dev-Cpp using SDL, plib and OpenGL and the ordering of the -l... parameters nearly drove me nuts. mingw32-g++ requires that a library libFoo.a which has references to symbols from libBar.a must be specified on the command line BEFORE libBar.a. So the correct order will be something like: -lmingw32 -lsdlmain -lsdl -lglu32 -lplibpu -lplibfnt -lplibul -lopengl32 -lwinmm Regarding > -DPU_USING_SDL shouldn't that be -DPU_USE_SDL ? I can recall that I had some trouble with that #define until I looked at the pu.h header file (at the bottom). Kind regards, Jan R. -- Jan Reucker email: jan dot reucker at web dot de web: http://www.reucker-online.de |
From: <p.l...@ci...> - 2005-08-08 09:44:23
|
In LIBS just put the -lopengl32 and -lSDL* after the libplib* stuffs, and, less important, remove the -l* stuffs from CXXFLAGS since are not appropriate there. Greetings - Paolo Scrive Francisco Carbonari <fra...@gm...>: > Hi everybody. I'm new to the list and I wrote here because I need > help. I read the list archives but I couldn' t find the solution, only > a few tips but they thosen' t are enough for me... > The problem is this, I dowload the package of plib and I compiled it > with cygwin and Dev-cpp (mingw). The compilation runs fine I think, I > get the lib*.a files. Then I think the problem is with the linker... > I get a simple piece of code that uses SDL and openGL and compile and > run fine, then I modified this code with two or three lines to get > plib in my program, but the the program don't finish the compiling > anymore. It's seems that they don't recognize the openGL functions > gl*(*). > I think maybe is the order of the parameters passed to the linker (I > read a problem like that in the archives) but my experience with this > enviroment is still too little... > Here are the makefile the Dev-cpp automatically generate for the project: > > # Project: SDL-GL_01 > # Makefile created by Dev-C++ 4.9.9.0 > > CPP = g++.exe -D__DEBUG__ > CC = gcc.exe -D__DEBUG__ > WINDRES = windres.exe > RES = SDL-DL_01_private.res > OBJ = main.o $(RES) > LINKOBJ = main.o $(RES) > LIBS = -L"C:/Archivos de programa/Dev-Cpp/lib" -mwindows -lmingw32 > -lopengl32 -lSDLmain -lSDL ../../lib/plib/libplibfnt.a > ../../lib/plib/libplibpu.a ../../lib/plib/libplibul.a -mwin32 -lm > -lgdi32 -lwinmm -lgmon -pg -g3 > INCS = -I"C:/Archivos de programa/Dev-Cpp/include" > CXXINCS = -I"C:/Archivos de programa/Dev-Cpp/include/c++/3.3.1" > -I"C:/Archivos de programa/Dev-Cpp/include/c++/3.3.1/mingw32" > -I"C:/Archivos de programa/Dev-Cpp/include/c++/3.3.1/backward" > -I"C:/Archivos de programa/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" > -I"C:/Archivos de programa/Dev-Cpp/include" > BIN = SDL-GL_01.exe > CXXFLAGS = $(CXXINCS) -DPU_USING_SDL -DWIN32 -g -mwin32 -lm -lgdi32 > -lwinmm -pg -g3 > CFLAGS = $(INCS) -pg -g3 > > .PHONY: all all-before all-after clean clean-custom > > all: all-before SDL-GL_01.exe all-after > > > clean: clean-custom > rm -f $(OBJ) $(BIN) > > $(BIN): $(OBJ) > $(CPP) $(LINKOBJ) -o "SDL-GL_01.exe" $(LIBS) > > main.o: main.cpp > $(CPP) -c main.cpp -o main.o $(CXXFLAGS) > > SDL-DL_01_private.res: SDL-DL_01_private.rc > $(WINDRES) -i SDL-DL_01_private.rc -I rc -o SDL-DL_01_private.res -O coff > > > And the errors that the linker shots me are like this: > > ../../lib/plib/libplibpu.a(pu.o): In function `Z16glIsValidContextv': > C:/Archivos de programa/Dev-Cpp/include/plib-1.8.4/src/pui/pu.cxx:105: > undefined reference to `wglGetCurrentContext@0' > > ../../lib/plib/libplibpu.a(pu.o): In function `Z12puDrawCursorii': > C:/Archivos de programa/Dev-Cpp/include/plib-1.8.4/src/pui/pu.cxx:137: > undefined reference to `glColor4fv@4' > > C:/Archivos de programa/Dev-Cpp/include/plib-1.8.4/src/pui/pu.cxx:139: > undefined reference to `glBegin@4' > C:/Archivos de programa/Dev-Cpp/include/plib-1.8.4/src/pui/pu.cxx:140: > undefined reference to `glVertex2i@8' > > etc, etc... > > In the code I already do this: > > #define _WIN32_WINNT 0x0500 > #define WINVER 0x0500 > #define WIN32_LEAN_AND_MEAN > #define NOGDI > > #include <windows.h> > > #include <gl/gl.h> > #include <SDL/SDL.h> > #define PU_USE_SDL 1 > #include <plib/pu.h> > > In this order... > Well, this is a picture of the problem. Like I'd say I have little > experience yet, so I couldn't find a solution to this problem. If > someone can help me I really appreciate the effort... > Thanks a lot... > > > PD: Excuse my english, it's not my natural language :) > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |
From: Francisco C. <fra...@gm...> - 2005-08-08 06:03:24
|
Hi everybody. I'm new to the list and I wrote here because I need help. I read the list archives but I couldn' t find the solution, only a few tips but they thosen' t are enough for me... The problem is this, I dowload the package of plib and I compiled it with cygwin and Dev-cpp (mingw). The compilation runs fine I think, I get the lib*.a files. Then I think the problem is with the linker... I get a simple piece of code that uses SDL and openGL and compile and run fine, then I modified this code with two or three lines to get plib in my program, but the the program don't finish the compiling anymore. It's seems that they don't recognize the openGL functions gl*(*). I think maybe is the order of the parameters passed to the linker (I read a problem like that in the archives) but my experience with this enviroment is still too little... Here are the makefile the Dev-cpp automatically generate for the project: # Project: SDL-GL_01 # Makefile created by Dev-C++ 4.9.9.0 CPP =3D g++.exe -D__DEBUG__ CC =3D gcc.exe -D__DEBUG__ WINDRES =3D windres.exe RES =3D SDL-DL_01_private.res OBJ =3D main.o $(RES) LINKOBJ =3D main.o $(RES) LIBS =3D -L"C:/Archivos de programa/Dev-Cpp/lib" -mwindows -lmingw32 -lopengl32 -lSDLmain -lSDL ../../lib/plib/libplibfnt.a ../../lib/plib/libplibpu.a ../../lib/plib/libplibul.a -mwin32 -lm -lgdi32 -lwinmm -lgmon -pg -g3 INCS =3D -I"C:/Archivos de programa/Dev-Cpp/include"=20 CXXINCS =3D -I"C:/Archivos de programa/Dev-Cpp/include/c++/3.3.1"=20 -I"C:/Archivos de programa/Dev-Cpp/include/c++/3.3.1/mingw32"=20 -I"C:/Archivos de programa/Dev-Cpp/include/c++/3.3.1/backward"=20 -I"C:/Archivos de programa/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include"=20 -I"C:/Archivos de programa/Dev-Cpp/include" BIN =3D SDL-GL_01.exe CXXFLAGS =3D $(CXXINCS) -DPU_USING_SDL -DWIN32 -g -mwin32 -lm -lgdi32 -lwinmm -pg -g3 CFLAGS =3D $(INCS) -pg -g3 .PHONY: all all-before all-after clean clean-custom all: all-before SDL-GL_01.exe all-after clean: clean-custom =09rm -f $(OBJ) $(BIN) $(BIN): $(OBJ) =09$(CPP) $(LINKOBJ) -o "SDL-GL_01.exe" $(LIBS) main.o: main.cpp =09$(CPP) -c main.cpp -o main.o $(CXXFLAGS) SDL-DL_01_private.res: SDL-DL_01_private.rc=20 =09$(WINDRES) -i SDL-DL_01_private.rc -I rc -o SDL-DL_01_private.res -O cof= f=20 And the errors that the linker shots me are like this: ../../lib/plib/libplibpu.a(pu.o): In function `Z16glIsValidContextv': C:/Archivos de programa/Dev-Cpp/include/plib-1.8.4/src/pui/pu.cxx:105: undefined reference to `wglGetCurrentContext@0' ../../lib/plib/libplibpu.a(pu.o): In function `Z12puDrawCursorii': C:/Archivos de programa/Dev-Cpp/include/plib-1.8.4/src/pui/pu.cxx:137: undefined reference to `glColor4fv@4' C:/Archivos de programa/Dev-Cpp/include/plib-1.8.4/src/pui/pu.cxx:139: undefined reference to `glBegin@4' C:/Archivos de programa/Dev-Cpp/include/plib-1.8.4/src/pui/pu.cxx:140: undefined reference to `glVertex2i@8' etc, etc... In the code I already do this: #define _WIN32_WINNT 0x0500 =20 #define WINVER 0x0500 #define WIN32_LEAN_AND_MEAN #define NOGDI #include <windows.h> #include <gl/gl.h> #include <SDL/SDL.h> #define PU_USE_SDL 1 #include <plib/pu.h> In this order... Well, this is a picture of the problem. Like I'd say I have little experience yet, so I couldn't find a solution to this problem. If someone can help me I really appreciate the effort... Thanks a lot... PD: Excuse my english, it's not my natural language :) |
From: Adnan B. <adn...@gm...> - 2005-08-04 19:04:27
|
To be honest with you i forget to tell you about GLUI it is really good becoz i used it long time ago anyways best of luck Adnan On 8/3/05, Ramsey Nabulsi <ram...@ho...> wrote: > Thank you so much for you help Adnan. >=20 > I have come across a UI toolkit that is better suited to my needs than PU= I, > it is called GLUI. I have managed to get GLUI working perfectly so am no > longer worried about PUI. >=20 > Once again thanks for your help. >=20 > Regards, > Ramsey >=20 > >From: Adnan Bhatti <adn...@gm...> > >Reply-To: pli...@li... > >To: pli...@li... > >Subject: [Plib-users] Re: Problems using PLIB with Windows XP and Visual > >C++ > >Date: Wed, 3 Aug 2005 13:04:02 +0100 > > > >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. > > > > > > 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 compile= s > >fine, > > > > > > it's just that when I run it I get all these linkage errors. I'm at w= ork > >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 t= o > >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 progr= am > > > >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 __cdec= l > > > > > puDisplay(void)" (?puDisplay@@YAXXZ) > > > > > Test.obj : error LNK2001: unresolved external symbol "void __cdec= l > > > > > sgdMakeCoordMat4(double (* > > > > > const)[4],double,double,double,double,double,double)" > > > > > (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z) > > > > > Test.obj : error LNK2001: unresolved external symbol "void __cdec= l > > > > > 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 __cdec= l > > > > > puRealInit(void)" (?puRealInit@@YAXXZ) > > > > > Test.obj : error LNK2001: unresolved external symbol "void __cdec= l > > > > > 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 article= s, > > > > > informative Webcasts and more! Get everything you need to get up = to > > > > > speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&o= p=3Dclick > > > > > _______________________________________________ > > > > > plib-users mailing list > > > > > pli...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/plib-users > > > > > > > > > > > > > > > > >------------------------------------------------------- > > > >SF.Net email is sponsored by: Discover Easy Linux Migration Strategi= es > > > >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 > > > > > > > > > > > > > > > ------------------------------------------------------- > > > 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 > |
From: Ramsey N. <ram...@ho...> - 2005-08-03 13:05:55
|
Thank you so much for you help Adnan. I have come across a UI toolkit that is better suited to my needs than PUI, it is called GLUI. I have managed to get GLUI working perfectly so am no longer worried about PUI. Once again thanks for your help. Regards, Ramsey >From: Adnan Bhatti <adn...@gm...> >Reply-To: pli...@li... >To: pli...@li... >Subject: [Plib-users] Re: Problems using PLIB with Windows XP and Visual >C++ >Date: Wed, 3 Aug 2005 13:04:02 +0100 > >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. > > > > 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 > > > > > > > > > > ------------------------------------------------------- > > 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 |
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 > |
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 |
From: Adnan B. <adn...@gm...> - 2005-08-02 22:45:16
|
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, >=20 > 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 applicat= ion > compiles fine, but when it comes time to running it I get the following > 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 voi= d > __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 voi= d > __thiscall puObject::recalc_bbox(void)" (?recalc_bbox@puObject@@UAEXXZ) > Test.obj : error LNK2001: unresolved external symbol "public: virtual voi= d > __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 voi= d > __thiscall puValue::setValue(char const *)" (?setValue@puValue@@UAEXPBD@Z= ) > Test.obj : error LNK2001: unresolved external symbol "public: virtual voi= d * > __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 voi= d > __thiscall puButton::doHit(int,int,int,int)" (?doHit@puButton@@UAEXHHHH@Z= ) > Test.obj : error LNK2001: unresolved external symbol "public: virtual voi= d * > __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. >=20 > Test.exe - 26 error(s), 0 warning(s) > *************************************************************************= ** >=20 > Can anybody please help me with this problem? >=20 > Thanks, > Ramsey >=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 > |
From: Ramsey N. <ram...@ho...> - 2005-08-02 21:12:49
|
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 |
From: Joerg H. <jo...@lu...> - 2005-07-20 13:31:55
|
Hi Jorge, > I'm really a newbie with plib, so my answer could be way of. Perhaps > you could look at the class ssgStateSelector, to see how it works... > Perhaps it does something you do not. Thanks for the hint - I had a look, but all ssgStateSelector does is basically passing the calls through to the selected branch. I couldn't find anything special :( Cheers, Joerg -- ---------------------------------------------------------------- Joerg Henrichs Luding Administration e-mail: jo...@lu... URL: http://luding.org |
From: Roberts, J. S <jsr...@al...> - 2005-07-15 19:53:44
|
I am working with an open source package that uses ul_d.lib. The package compiles no problem in Visual Studio 2003. In Visual Studio 2005 however, I keep getting the error: unresolved external symbol __iob in file ul_d.lib. Does anyone know which library I must link in to get rid of this error? Has anyone else had this problem and resolved it? Note: in both cases, the ul_d.lib library is already compiled. I am not compiling it along with the project. =20 Thanks =20 Steve Roberts |
From: Trey A. <Tre...@na...> - 2005-07-15 17:37:25
|
Hello, I have been using PLIB for about a week with great success. However, I am having problems with the OpenFlight loader. I can view my model with Audition (free viewer that can be obtained here: http://www.quantum3d.com/support/ and selecting audition to download) and it looks fine. When I try to load it with ssgLoadFLT, I get a warning that it doesn't know some OPCODES in the file. So, it appears that my model never loads because of bad OPCODES. So, what version of OpenFlight is ssgLoadFLT rock solid for? I couldn't really tell from the source in plib-1.8.4. Is there a suggested loader that works well? In other words, if I buy something like Polytrans, what format should I convert to? ADthanksVANCE, ******************************** Trey Arthur NASA Langley Research Center 24 W Taylor St B1268A, R2154, MS 152 Hampton, VA 23681-2199 Tre...@na... 757 864 6609 |
From: Jorge V. <xx...@gm...> - 2005-07-13 16:24:32
|
I'm really a newbie with plib, so my answer could be way of. Perhaps you could look at the class ssgStateSelector, to see how it works... Perhaps it does something you do not. On 7/11/05, jo...@lu... <jo...@lu...> wrote: > I can work around the problem by either: > 1) call icon->force() at (1), since this will bind the texture > again (even if it's not changed). To optimise this further: > I can compare icon(i) with the previous icon and only > do this (probably expensive) force() call if the same icon is > drawn twice (which is really an exception) > 2) I can manually bind the texture at (1) > 3) I can probably reset the current texture to 0 before > calling apply() > 4) ??? |
From: Guido <gu...@us...> - 2005-07-12 21:39:41
|
Hi all, I have the following feature request: a PW library function that sets the mouse cursor to a specific position within the current window: void pwSetCursorPosition ( int x, int y ) ; This function can be used to calculate relative mouse movements. Possible X11 implementation (didn't test it): void pwSetCursorPosition ( int x, int y ) { XWarpPointer ( currDisplay, currHandle, currHandle, 0, 0, 0, 0, x, y ) ; XFlush ( currDisplay ) ; } Note that this will generate a mouse position event. Regards, Guido |
From: <jo...@lu...> - 2005-07-12 02:33:09
|
Hi all, first of all a thank you for probiding and maintaining plib! I got a minor problem with textures and ssg. I am drawing icons in a loop, and it can sometimes happen that the same icon (i.e. texture) has to be drawn twice: for(i ...) { //(1) icon(i) -> apply (); //icon(i) is an ssgSimpleState glBegin ( GL_QUADS ) ; glColor4f ( 1, 1, 1, 1 ) ; glTexCoord2f ( 0, 0 ) ; glVertex2i ( x , y ) ; glTexCoord2f ( 1, 0 ) ; glVertex2i ( x+55, y ) ; glTexCoord2f ( 1, 1 ) ; glVertex2i ( x+55, y+55 ) ; glTexCoord2f ( 0, 1 ) ; glVertex2i ( x , y+55 ) ; glEnd () ; } If it happens that icon(i)==icon(i+1), the second icon does not get displayed. This seems to be caused by the lazy evaluation in apply(), since it does not bind the texture the second time. It figures out that the texture wasn't changed, and does not to the glBindTExture call again. I don't know enough about OpenGL to know if this is correct, but for now I assume it is. Since I assume that I am not the only person having this experienced, and I am not much of an OpenGL wizard: what is the proper solution to handle this? I can work around the problem by either: 1) call icon->force() at (1), since this will bind the texture again (even if it's not changed). To optimise this further: I can compare icon(i) with the previous icon and only do this (probably expensive) force() call if the same icon is drawn twice (which is really an exception) 2) I can manually bind the texture at (1) 3) I can probably reset the current texture to 0 before calling apply() 4) ??? Any comments and suggestions are welcome! Thanks a lot! Joerg |
From: Jan Schaefer(local) <ta...@gm...> - 2005-06-26 15:22:02
|
(I sent this message twice, because it didn't appear in the archives after the first time, propably because I used an email-address which isn't subsribed to plib-users. I hope it doesn't appear twice.) Hello PLIB-developers, I'm experiencing some strange behaviour from fntTexFont::getBBox. Actually I'm using PUI to draw a GUI and try to layout the width of a frame according to the width of a string. I put the string into puFont::getStringWidth to determine the width. If the string doesn't contain any newlines, everything works fine. But if any number of newlines is present, and any of the lines but the first contain spaces, the width is calculated to large. The effect seems to be somehow proportional to the number of spaces present. I wrote a small example program to eliminate as many other influences as possible, you can find it below. It would be really nice if you could have a look at it, maybe I'm just doing something wrong. The Helvetica.txf file used for the fntTexFont is taken from the plib_examples-1.8.4.tar.gz. The program outputs the results of getBBox twice. The right value differs, even though the string contains exactly the same lines, just in a different order. I already had a look at fntTexFont::getBBox, but couldn't find a mistake. #include <stdlib.h> #include <stdio.h> #include <string> #include <iostream> #include <GL/glut.h> #include <plib/pu.h> #include <plib/fnt.h> int window; puFrame* frame = 0; puText* text = 0; fntTexFont* texFnt = 0; puFont* font = 0; std::string str = ""; void displayFunc(void) { glClear(GL_COLOR_BUFFER_BIT); puDisplay(); glutSwapBuffers(); } int main(int argc, char** argv) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH); glutInitWindowSize(640, 480); glutInitWindowPosition(0, 0); window = glutCreateWindow(argv[0]); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glClearColor (0.0, 0.0, 0.0, 0.0); glEnable(GL_BLEND); glutIdleFunc(displayFunc); glutDisplayFunc(displayFunc); puInit(); str = "123456789012345678901234567890\n1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 \n123456789012345678901234567890"; frame = new puFrame(0,0,0,0); text = new puText(0,0); texFnt = new fntTexFont(); if(!texFnt->load(std::string("Helvetica.txf").c_str())) { std::cout << "Error loading font file Helvetica.txf" << std::endl; exit(0); } float l = 0; float r = 0; float t = 0; float b = 0; texFnt->getBBox(str.c_str(), 18, 0.0f, &l, &r, &b, &t); std::cout << "1. BBox: " << l << ", " << b << ", " << r << ", " << t << std::endl; str = "1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 \n123456789012345678901234567890\n123456789012345678901234567890"; texFnt->getBBox(str.c_str(), 18, 0.0f, &l, &r, &b, &t); std::cout << "2. BBox: " << l << ", " << b << ", " << r << ", " << t << std::endl; font = new puFont(texFnt, 18, 0.0f); text->setLabelFont(*font); text->setLabel(str.c_str()); text->setColor(PUCOL_LABEL, 0.0f, 0.0f, 0.0f, 1.0f); text->setPosition(0, font->getStringHeight(str.c_str()) + font->getStringDescender() - font->getStringHeight()); frame->setSize(font->getStringWidth(str.c_str()), font->getStringHeight(str.c_str()) + font->getStringDescender()); frame->setStyle(PUSTYLE_BOXED); frame->setColor(PUCOL_FOREGROUND, 1.0f, 1.0f, 1.0f, 1.0f); frame->setColor(PUCOL_HIGHLIGHT, 1.0f, 1.0f, 1.0f, 1.0f); frame->setColor(PUCOL_BACKGROUND, 0.8f, 0.8f, 0.8f, 1.0f); // run GLUT glutMainLoop(); puDeleteObject(text); puDeleteObject(frame); delete font; delete texFnt; glutDestroyWindow(window); return 1; } |
From: Wesley S. <wes...@gm...> - 2005-06-21 04:10:25
|
I actually got away with just linking to the FNT and UL libraries. wes On 6/20/05, Steve Baker <sjb...@ai...> wrote: > Wesley Smith wrote: > > Hi, > > > > I'm trying to use the font part of plib. I included #include > > <plib/fnt.h> in my header file and did a -lplibfnt for the linker. > > The thing is when I go to make the project, I get massive amounts of > > errors from the plib header files. >=20 > FNT relies on the PLIB 'UL' and 'SG' libraries - so you'll need to > link those in too. >=20 > ---------------------------- Steve Baker ------------------------- > HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> > HomePage : http://www.sjbaker.org > Projects : http://plib.sf.net http://tuxaqfh.sf.net > http://tuxkart.sf.net http://prettypoly.sf.net > -----BEGIN GEEK CODE BLOCK----- > GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- > V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ > -----END GEEK CODE BLOCK----- >=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 > |
From: Steve B. <sjb...@ai...> - 2005-06-21 04:03:45
|
Wesley Smith wrote: > Hi, > > I'm trying to use the font part of plib. I included #include > <plib/fnt.h> in my header file and did a -lplibfnt for the linker. > The thing is when I go to make the project, I get massive amounts of > errors from the plib header files. FNT relies on the PLIB 'UL' and 'SG' libraries - so you'll need to link those in too. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |
From: Wesley S. <wes...@gm...> - 2005-06-21 01:19:34
|
Guess I should've searched the archives before asking 'cause I found my ans= wer. thanks, wes On 6/20/05, Wesley Smith <wes...@gm...> wrote: > Hi, >=20 > I'm trying to use the font part of plib. I included #include > <plib/fnt.h> in my header file and did a -lplibfnt for the linker. > The thing is when I go to make the project, I get massive amounts of > errors from the plib header files. Here's a sampling: >=20 > /usr/include/plib/ul.h: In function `void ulEndianSwap(short unsigned int= *)': > /usr/include/plib/ul.h:343: error: declaration of C function `void > ulEndianSwap(short unsigned int*)' conflicts with > /usr/include/plib/ul.h:334: error: previous declaration `void > ulEndianSwap(unsigned int*)' here > /usr/include/plib/ul.h: In function `void ulEndianSwap(float*)': > /usr/include/plib/ul.h:349: error: declaration of C function `void > ulEndianSwap(float*)' conflicts with > /usr/include/plib/ul.h:343: error: previous declaration `void > ulEndianSwap(short unsigned int*)' here > /usr/include/plib/ul.h: In function `void ulEndianSwap(unsigned int*)': > /usr/include/plib/ul.h:349: error: cannot convert `unsigned int*' to `flo= at*' > for argument `1' to `void ulEndianSwap(float*)' > /usr/include/plib/ul.h: In function `void ulEndianSwap(int*)': > /usr/include/plib/ul.h:350: error: declaration of C function `void > ulEndianSwap(int*)' conflicts with > /usr/include/plib/ul.h:349: error: previous declaration `void > ulEndianSwap(float*)' here >=20 > Is there a compiler setting or namespace issue that I'm missing? I'm > not sure why all of the errors. Here's my compilation command: > g++ -I/usr/local/include -I/usr/local/include/FL/images -I/sw/include > -c -o GL_disp.o GL_disp.cpp >=20 > thanks for any suggestions, > wes > |