plib-users Mailing List for PLIB
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: Dan W <dan...@gm...> - 2024-05-08 18:38:22
|
Hello, I tried to follow the build from source instructions. I'm in Ubuntu 24.04 with the MATE window manager, and my hardware is Ryzen 5 7600, using internal gpu for now. I have the libglut3.12, libglut-dev as well as all of the mesa packages, as well as freeglut3-dev packages installed, but when I run ./configure I get "error, could not find working GL library". Here's the full output: danw58@danw58-MS-7E12:~/Downloads/zip/plib/plib-1.8.5$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes includedir changed to ${prefix}/include/plib libdir is ${exec_prefix}/lib checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for X... no checking for pthread_create in -lpthread... no checking for glNewList in -lGL... no checking for glNewList in -lMesaGL... no configure: error: could not find working GL library Thanks in advance. |
From: Mohammed S. <moh...@gm...> - 2019-03-08 06:51:00
|
Im getting this error when i run ./configure in windows 10 C:\Users\moham\Desktop\MADRas\TORCS\plib-1.8.5>./configure ; make install '.' is not recognized as an internal or external command, operable program or batch file. Please guide me. |
From: Konstantin R. <kon...@gm...> - 2017-05-16 14:13:18
|
Hey plib-users, is anyone here who has succesfully paired the plib library with programmable OpenGL? I am currently trying to include an FBO into the game TORCS ( http://torcs.sourceforge.net/) that uses PLIB to render. I would like to render to texture using the FBO and my implementation fails to get anything rendered apart from render calls not using PLIB. In this SO post I explain my issue a bit more in depth: http://stackoverflow.com/questions/43899832/render-opengl-scene-to-texture-using-fbo-in-fixed-function-pipeline-drawing Any help is appreciated! Thanks a lot! Cheers, Konstantin |
From: Nipuna R. <nip...@gm...> - 2016-10-25 22:35:02
|
I am trying to use PLIB/PUI to add a better user interface (buttons, file menues, etc) for a glut based "OpenGL Core" program that I have developed so far. Does PLIB works with the new OpenGL standard know as core (opengl 2.0 and above)? Thank you Nipuna |
From: LAURENCE S. <lr...@fl...> - 2015-10-06 18:42:46
|
Paolo,I used the 2008 project files that you sent me. Idistributed them to the PLIB subdirectories and SOME of the 2008 targets wereconverted to 2010 targets immediately upon opening the sln file. Many Thanks! Iinvestigated the conversion error report. In pui.vcxproject, I discovered thatthere were XML entries name files that no longer exit in the plib.tar.. Iedited the vcxproject and removed the file name elements re-ran build and puiproduced a lib! I don’t know if flightgear needs all targets named in thesolution file. So far I can generate : SL PUI PSL PLIB NET. Does flightgearneed FNT JS1 SG SSG SSGAUX UL? If yes, I’ll have to investigate why theconverter says that those vcproj’s are CORRUPTED… <Configuration Name="Debug|x64" OutputDirectory="$(PlatformName)\$(ConfigurationName)" IntermediateDirectory="$(PlatformName)\$(ConfigurationName)" ConfigurationType="4" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="false" CharacterSet="2" > <Tool Name="VCPreBuildEventTool" /> PERHAPS there is something missing in the specification ofthe Tool VCPreBuildEvent? The report indicates a XMLparse failure at the “end tag”associated with the “Tool” element. Incidentally, the NET target in the vs2010 solution seems toexist only to copy “PLIBS” inc’s and “net.lib” a.k.a. “plib” to ainstall/output directory. I’m not sure when/if net.lib is renamed. It has thesocket stuff and I assumed that I needed “plib/net.lib” to resolve symbols whenbuilding flightgear. How many library’s built from that plib tar ball that Ineed is unknown to me. I guess I’ll find out when I what else needs to belinked. Thank you again. Your plan worked! Ciao,Laurence On Tuesday, October 6, 2015 6:10 AM, Leoncini Paolo <P.L...@ci...> wrote: Laurence, please find below links to project files for VS2008 (VC9) and, only for some of the Plib libraries, for VS2013 - but I actually skipped 2010. Yet maybe your VS2010 can easily upgrade VS2008's for you automatically. https://www.dropbox.com/s/coh13446teuitod/plib-VS2008.zip?dl=0 https://www.dropbox.com/s/nloxsy87ay55i1c/plib-VS2013.zip?dl=0 Paolo Leoncini ________________________________________ Da: LAURENCE SHAW [lr...@fl...] Inviato: lunedì 5 ottobre 2015 23.23 A: pli...@li... Oggetto: [Plib-users] PLIB generation of libs and headers with a build using visual studio 2010... GENERATION details for vs 2010 express I've posted several places to several forums. Apparently not much detail or interest has been found for answering windows build questions or tools available, mostly contempt. I'm hoping that this forum will be different. I’m trying to build flightgear by following his link: http://wiki.flightgear.org/Builzding_using_CMake_-_Windows<http://wiki.flightgear.org/Building_using_CMake_-_Windows> This indicates that Visual Studio C++ express 2010 ,(with it's project property files )can be used to build the system and provides links to the required 3rd Party artifacts. However, PLIB isn’t in this artifact archive. I searched on the Web and found “a/the”PLIB site which wasn't your site.Some personal dudes?. Downloaded that PLIB, unpacked it and looked in the readme. A brief offering of a contemptuous view of “windoze” was followed by an old Microsoft version 6 project(doesn't have project property files) and workspace files. Does either a PLIB artifact version made by VS2010 ( that provides the libraries and includes) exist conveniently obtainable by download OR a visual studio 2010 project file for making/CMAKING PLIB. . Thanks for the answer. There is lots of malware wrapped tools out there as I have discovered searching for the vs 2010 express. I’d rather not try to find an even older Microsoft C++ version 6 compiler. |
From: Leoncini P. <P.L...@ci...> - 2015-10-06 12:10:21
|
Laurence, please find below links to project files for VS2008 (VC9) and, only for some of the Plib libraries, for VS2013 - but I actually skipped 2010. Yet maybe your VS2010 can easily upgrade VS2008's for you automatically. https://www.dropbox.com/s/coh13446teuitod/plib-VS2008.zip?dl=0 https://www.dropbox.com/s/nloxsy87ay55i1c/plib-VS2013.zip?dl=0 Paolo Leoncini ________________________________________ Da: LAURENCE SHAW [lr...@fl...] Inviato: lunedì 5 ottobre 2015 23.23 A: pli...@li... Oggetto: [Plib-users] PLIB generation of libs and headers with a build using visual studio 2010... GENERATION details for vs 2010 express I've posted several places to several forums. Apparently not much detail or interest has been found for answering windows build questions or tools available, mostly contempt. I'm hoping that this forum will be different. I’m trying to build flightgear by following his link: http://wiki.flightgear.org/Builzding_using_CMake_-_Windows<http://wiki.flightgear.org/Building_using_CMake_-_Windows> This indicates that Visual Studio C++ express 2010 ,(with it's project property files )can be used to build the system and provides links to the required 3rd Party artifacts. However, PLIB isn’t in this artifact archive. I searched on the Web and found “a/the”PLIB site which wasn't your site.Some personal dudes?. Downloaded that PLIB, unpacked it and looked in the readme. A brief offering of a contemptuous view of “windoze” was followed by an old Microsoft version 6 project(doesn't have project property files) and workspace files. Does either a PLIB artifact version made by VS2010 ( that provides the libraries and includes) exist conveniently obtainable by download OR a visual studio 2010 project file for making/CMAKING PLIB. . Thanks for the answer. There is lots of malware wrapped tools out there as I have discovered searching for the vs 2010 express. I’d rather not try to find an even older Microsoft C++ version 6 compiler. |
From: Steve B. <st...@sj...> - 2015-10-06 11:48:25
|
Well, the PLIB project has been pretty much dead for at least a decade. It's totally obsolete now because most of the OpenGL calls it makes are deprecated. I'm fairly sure FlightGear moved to their own rendering library a dozen years ago. There was never much interest in putting together a build environment for Visual Studio - we used the GNU C++ compiler and GNU-make tools for building (which work just fine under Linux, BSD, Mac OSX and Windows under Cygwin...so I'm not surprised that you found little help on that score. OpenSource tools are driven by the enthusiasm of developers who are working for $0.00 - if nobody comes along who wants to make a Visual Studio solution file - then no solution file gets made. If think you still need PLIB - then you're almost certainly on the wrong track. -- Steve LAURENCE SHAW wrote: > I've posted several places to several forums. Apparently not much detail > or interest has been found for answering windows build questions or tools > available, mostly contempt. I'm hoping that this forum will be different. > Iâm trying to build flightgear by following his > link:http://wiki.flightgear.org/Builzding_using_CMake_-_WindowsThis > indicates that Visual Studio C++ express 2010 ,(with it's project > property files )can be usedto build the system and provides links to the > required 3rd Partyartifacts. However, PLIB isnât in thisartifact > archive. I searched on the Web and found âa/theâPLIB site which wasn't > your site.Some personal dudes?. Downloadedthat PLIB, unpacked it and > looked in the readme. A brief offering of a contemptuousview of > âwindozeâ was followed by an old Microsoft version 6 project(doesn't > have project property files) and workspace files. Does either a > PLIBartifact version made by VS2010 ( that provides the libraries and > includes)exist conveniently obtainable by download OR a visual studio 2010 > project filefor making/CMAKING PLIB. . Thanks for the answer. There is > lots of malware wrapped tools out there as I havediscovered searching for > the vs 2010 express. Iâd rather not try to find aneven older Microsoft > C++ version > 6compiler.  ------------------------------------------------------------------------------ > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > -- Steve |
From: LAURENCE S. <lr...@fl...> - 2015-10-05 21:41:22
|
I've posted several places to several forums. Apparently not much detail or interest has been found for answering windows build questions or tools available, mostly contempt. I'm hoping that this forum will be different. I’m trying to build flightgear by following his link:http://wiki.flightgear.org/Builzding_using_CMake_-_WindowsThis indicates that Visual Studio C++ express 2010 ,(with it's project property files )can be usedto build the system and provides links to the required 3rd Partyartifacts. However, PLIB isn’t in thisartifact archive. I searched on the Web and found “a/the”PLIB site which wasn't your site.Some personal dudes?. Downloadedthat PLIB, unpacked it and looked in the readme. A brief offering of a contemptuousview of “windoze” was followed by an old Microsoft version 6 project(doesn't have project property files) and workspace files. Does either a PLIBartifact version made by VS2010 ( that provides the libraries and includes)exist conveniently obtainable by download OR a visual studio 2010 project filefor making/CMAKING PLIB. . Thanks for the answer. There is lots of malware wrapped tools out there as I havediscovered searching for the vs 2010 express. I’d rather not try to find aneven older Microsoft C++ version 6compiler. |
From: Giovi <gio...@gm...> - 2011-11-04 09:07:47
|
Hello John, thanks a lot! It works now! As you have suggested I have used the "plib.dsw" to build PLIB. Then I have copied the plib folder in the path C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\. Thank you so much! Ciao! 2011/11/3 John F. Fay <joh...@cy...> > ** > Giovi, > > The first question is whether you are using MSVC 6.0 or some other > version. Later versions of Visual Studio (2008 and 2010) use something > called "solution" files rather than "workspace" files. The workspace and > project files are specific to MSVC 6.0. There may be a conversion utility > if you have a later version. > > When I downloaded the SVN version of PLIB, I was able to start MSVC > 6.0 (professional version), open the workspace file, and build PLIB right > away. It may be a question of choice of words, but I didn't "rebuild > 'plib.dsw'"; I used "plib.dsw" to build PLIB. > > Something doesn't look quite right, though: PLIB itself doesn't refer > to "plib/pw.h". On the other hand, the examples do refer to "plib/ul.h" > and files like that. If you are building from the SVN version of PLIB, > then you need to make a new directory named "plib" at the same level as the > "trunk" directory and copy all the "*.h" files from the "trunk" directory > into the new "plib" directory. The include path was written for the > release versions of the code, in which the "trunk" directory is in fact > named "plib". > > Let me know if this fixes things. > > - John > > > > On 11/3/2011 3:20 AM, Giovi wrote: > > Hello John, > thanks a lot for your help! > Maybe I have misunderstood the file "readme" of PLIB configuration. > > I have tried to use Visual C++ following the instructions: > > *Microsoft Visual C++: > ~~~~~~~~~~~~~~~~~~~~~ > All you need to do is open the workspace "plib.dsw" in MSVC++, > select the "plib" project (using Set Active Project in the Project > menu), and build it (using "Rebuild All" in the Build menu). > > In the examples folder, open the workspace "plib_examples.dsw". > Each example has a seperate project in the workspace. Select > the one you want and build it. Then you should be able to hit > the Go icon on the toolbar and try it out. > > For your own application, please note that the plib workspace > leaves all the necessary includes (*.h) and libraries (*.lib) > in the plib root directory (same as workspace). The debug > libraries are given a '_d' suffix. Where ever you put those > files, make sure #include <plib/ul.h> works so your code is > more portable. > * > But when I rebuild "plib.dsw" I get the error: > Impossible top open plib/pw.h file: no such file or directory > > I get same error for all plib files. > > What Am I doing wrong? > > Many thanks in advance for your help! > > Thanks and regards > > > > 2011/11/1 John F. Fay <joh...@cy...> > >> Giovi, >> >> Hello and welcome to the PLIB community. >> >> I'm a little confused about what you are trying to do. If you're >> trying to build PLIB for Windows to link to C++ programs in Windows with a >> development environment such as Microsoft Visual C++ or ".Net", then you >> should not be using Cygwin. On the other hand, if you're trying to build >> for Cygwin (which runs in Windows but feels a lot like Linux), then you >> need Cygwin. >> >> Unfortunately the "config.log" file didn't make it to my e-mail. Can >> you repeat the last few lines of it here? >> >> - John >> > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > > -- Giovi |
From: John F. F. <joh...@cy...> - 2011-11-03 21:51:02
|
Giovi, The first question is whether you are using MSVC 6.0 or some other version. Later versions of Visual Studio (2008 and 2010) use something called "solution" files rather than "workspace" files. The workspace and project files are specific to MSVC 6.0. There may be a conversion utility if you have a later version. When I downloaded the SVN version of PLIB, I was able to start MSVC 6.0 (professional version), open the workspace file, and build PLIB right away. It may be a question of choice of words, but I didn't "rebuild 'plib.dsw'"; I used "plib.dsw" to build PLIB. Something doesn't look quite right, though: PLIB itself doesn't refer to "plib/pw.h". On the other hand, the examples do refer to "plib/ul.h" and files like that. If you are building from the SVN version of PLIB, then you need to make a new directory named "plib" at the same level as the "trunk" directory and copy all the "*.h" files from the "trunk" directory into the new "plib" directory. The include path was written for the release versions of the code, in which the "trunk" directory is in fact named "plib". Let me know if this fixes things. - John On 11/3/2011 3:20 AM, Giovi wrote: > Hello John, > thanks a lot for your help! > Maybe I have misunderstood the file "readme" of PLIB configuration. > > I have tried to use Visual C++ following the instructions: > > /Microsoft Visual C++: > ~~~~~~~~~~~~~~~~~~~~~ > All you need to do is open the workspace "plib.dsw" in MSVC++, > select the "plib" project (using Set Active Project in the Project > menu), and build it (using "Rebuild All" in the Build menu). > > In the examples folder, open the workspace "plib_examples.dsw". > Each example has a seperate project in the workspace. Select > the one you want and build it. Then you should be able to hit > the Go icon on the toolbar and try it out. > > For your own application, please note that the plib workspace > leaves all the necessary includes (*.h) and libraries (*.lib) > in the plib root directory (same as workspace). The debug > libraries are given a '_d' suffix. Where ever you put those > files, make sure #include <plib/ul.h> works so your code is > more portable. > / > > But when I rebuild "plib.dsw" I get the error: > Impossible top open plib/pw.h file: no such file or directory > > I get same error for all plib files. > > What Am I doing wrong? > > Many thanks in advance for your help! > > Thanks and regards > > > > 2011/11/1 John F. Fay <joh...@cy... > <mailto:joh...@cy...>> > > Giovi, > > Hello and welcome to the PLIB community. > > I'm a little confused about what you are trying to do. If > you're trying to build PLIB for Windows to link to C++ programs in > Windows with a development environment such as Microsoft Visual > C++ or ".Net", then you should not be using Cygwin. On the other > hand, if you're trying to build for Cygwin (which runs in Windows > but feels a lot like Linux), then you need Cygwin. > > Unfortunately the "config.log" file didn't make it to my > e-mail. Can you repeat the last few lines of it here? > > - John > |
From: Giovi <gio...@gm...> - 2011-11-03 08:20:37
|
Hello John, thanks a lot for your help! Maybe I have misunderstood the file "readme" of PLIB configuration. I have tried to use Visual C++ following the instructions: *Microsoft Visual C++: ~~~~~~~~~~~~~~~~~~~~~ All you need to do is open the workspace "plib.dsw" in MSVC++, select the "plib" project (using Set Active Project in the Project menu), and build it (using "Rebuild All" in the Build menu). In the examples folder, open the workspace "plib_examples.dsw". Each example has a seperate project in the workspace. Select the one you want and build it. Then you should be able to hit the Go icon on the toolbar and try it out. For your own application, please note that the plib workspace leaves all the necessary includes (*.h) and libraries (*.lib) in the plib root directory (same as workspace). The debug libraries are given a '_d' suffix. Where ever you put those files, make sure #include <plib/ul.h> works so your code is more portable. * But when I rebuild "plib.dsw" I get the error: Impossible top open plib/pw.h file: no such file or directory I get same error for all plib files. What Am I doing wrong? Many thanks in advance for your help! Thanks and regards 2011/11/1 John F. Fay <joh...@cy...> > ** > Giovi, > > Hello and welcome to the PLIB community. > > I'm a little confused about what you are trying to do. If you're > trying to build PLIB for Windows to link to C++ programs in Windows with a > development environment such as Microsoft Visual C++ or ".Net", then you > should not be using Cygwin. On the other hand, if you're trying to build > for Cygwin (which runs in Windows but feels a lot like Linux), then you > need Cygwin. > > Unfortunately the "config.log" file didn't make it to my e-mail. Can > you repeat the last few lines of it here? > > - John > > > > On 10/31/2011 10:57 AM, Giovi wrote: > > Hello All, > I am trying to compile PLIB for win32. > I have red instructions in the readme file: > > " > > CygWin: > ~~~~~~~ > The simplest way to build PLIB for Windoze is to > use the CygWin compiler and toolset. Since that > environment is pretty close to UNIX/Linux, the > > ./configure > make > make install > > ...mechanism works perfectly. > " > I have installed CygWin and gcc as well. > Now I should be ready to run command ./configure, but I received the > following error: > > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... no > includedir changed to ${prefix}/include/plib libdir is ${exec_prefix}/lib > checking for gcc... gcc > checking for C compiler default output file name... > configure: error: C compiler cannot create executable > See 'config.log' for more details > > Please find as attachment the config.log. > > Do you have any idea how can I fix this issue? > > Many thanks in advance! > > -- > Giovi > > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-dev2dev > > > _______________________________________________ > plib-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/plib-users > > > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > > -- Giovi |
From: John F. F. <joh...@cy...> - 2011-11-01 04:21:06
|
Giovi, Hello and welcome to the PLIB community. I'm a little confused about what you are trying to do. If you're trying to build PLIB for Windows to link to C++ programs in Windows with a development environment such as Microsoft Visual C++ or ".Net", then you should not be using Cygwin. On the other hand, if you're trying to build for Cygwin (which runs in Windows but feels a lot like Linux), then you need Cygwin. Unfortunately the "config.log" file didn't make it to my e-mail. Can you repeat the last few lines of it here? - John On 10/31/2011 10:57 AM, Giovi wrote: > Hello All, > I am trying to compile PLIB for win32. > I have red instructions in the readme file: > > " > > CygWin: > ~~~~~~~ > The simplest way to build PLIB for Windoze is to > use the CygWin compiler and toolset. Since that > environment is pretty close to UNIX/Linux, the > > ./configure > make > make install > > ...mechanism works perfectly. > > " > I have installed CygWin and gcc as well. > Now I should be ready to run command ./configure, but I received the > following error: > > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... no > includedir changed to ${prefix}/include/plib libdir is ${exec_prefix}/lib > checking for gcc... gcc > checking for C compiler default output file name... > configure: error: C compiler cannot create executable > See 'config.log' for more details > > Please find as attachment the config.log. > > Do you have any idea how can I fix this issue? > > Many thanks in advance! > > -- > Giovi > > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-dev2dev > > > > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |
From: Satz K. <sat...@go...> - 2011-09-21 08:54:21
|
Thanks, I got it working :-) On 9/20/11, Fay, John F Dr CTR USAF AFMC AAC/XRS <joh...@eg...> wrote: > Elmi, > > Hello and welcome to the PLIB community. > > I think the problem is that you are using relative vectors when > making your planes. If you say "sgMakePlane ( plane1, a1, b1, c1 )" and > "sgMakePlane ( plane2, a2, b2, c2 )" you will get nonzero values for > your "point". The three vectors in "sgMakePlane" are the vectors from > the origin to the three points that define the plane. > > John F. Fay > Technical Fellow, Modeling and Simulation > Jacobs Technology / TEAS Group > P.O. Box 1935, Eglin AFB, FL 32542-5000 > 850-883-3496 > > > -----Original Message----- > From: Satz Klauer [mailto:sat...@go...] > Sent: Tuesday, September 20, 2011 2:16 AM > To: pli...@li... > Subject: [Plib-users] Problems using sgIsectPlanePlane(),point is always > at 0, 0, 0 > > Hi, > > I want to find the intersection line out of two planes but fail > miserably. That's what I'm doing: > > - I start with two triangles a1,b1,c1 and a2,b2,c2 that describe my > planes and consist of three coordinates x,y and z for every corner of > it > - out of their corner coordinates x,y and z I calculate 3D vectors > sgVec3 va1,vb1,vc1 by substracting the coordinate values b1-a1, c1-b1, > a1-c1 and normalizing the result; the same is done for the second > triangle's coordinates > - then I call > > sgMakePlane (plane1,va1,vb1,vc1); > sgMakePlane (plane2,va2,vb2,vc2); > ret=sgIsectPlanePlane (point,dir,plane1,plane2 ); > > But here the result is unusable and nearly every time the same. > "point" always contains _very_ small values so that after rounding to > 6 decimal places the coordinates of it are 0,0,0. > > What am I doing wrong here? > > Elmi > > ------------------------------------------------------------------------ > ------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |
From: Fay, J. F Dr C. U. A. AAC/X. <joh...@eg...> - 2011-09-20 14:53:02
|
Elmi, Hello and welcome to the PLIB community. I think the problem is that you are using relative vectors when making your planes. If you say "sgMakePlane ( plane1, a1, b1, c1 )" and "sgMakePlane ( plane2, a2, b2, c2 )" you will get nonzero values for your "point". The three vectors in "sgMakePlane" are the vectors from the origin to the three points that define the plane. John F. Fay Technical Fellow, Modeling and Simulation Jacobs Technology / TEAS Group P.O. Box 1935, Eglin AFB, FL 32542-5000 850-883-3496 -----Original Message----- From: Satz Klauer [mailto:sat...@go...] Sent: Tuesday, September 20, 2011 2:16 AM To: pli...@li... Subject: [Plib-users] Problems using sgIsectPlanePlane(),point is always at 0, 0, 0 Hi, I want to find the intersection line out of two planes but fail miserably. That's what I'm doing: - I start with two triangles a1,b1,c1 and a2,b2,c2 that describe my planes and consist of three coordinates x,y and z for every corner of it - out of their corner coordinates x,y and z I calculate 3D vectors sgVec3 va1,vb1,vc1 by substracting the coordinate values b1-a1, c1-b1, a1-c1 and normalizing the result; the same is done for the second triangle's coordinates - then I call sgMakePlane (plane1,va1,vb1,vc1); sgMakePlane (plane2,va2,vb2,vc2); ret=sgIsectPlanePlane (point,dir,plane1,plane2 ); But here the result is unusable and nearly every time the same. "point" always contains _very_ small values so that after rounding to 6 decimal places the coordinates of it are 0,0,0. What am I doing wrong here? Elmi ------------------------------------------------------------------------ ------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ plib-users mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-users |
From: Satz K. <sat...@go...> - 2011-09-20 07:16:06
|
Hi, I want to find the intersection line out of two planes but fail miserably. That's what I'm doing: - I start with two triangles a1,b1,c1 and a2,b2,c2 that describe my planes and consist of three coordinates x,y and z for every corner of it - out of their corner coordinates x,y and z I calculate 3D vectors sgVec3 va1,vb1,vc1 by substracting the coordinate values b1-a1, c1-b1, a1-c1 and normalizing the result; the same is done for the second triangle's coordinates - then I call sgMakePlane (plane1,va1,vb1,vc1); sgMakePlane (plane2,va2,vb2,vc2); ret=sgIsectPlanePlane (point,dir,plane1,plane2 ); But here the result is unusable and nearly every time the same. "point" always contains _very_ small values so that after rounding to 6 decimal places the coordinates of it are 0,0,0. What am I doing wrong here? Elmi |
From: Sören V. H. <sor...@ho...> - 2011-05-13 15:01:30
|
Hi, Problem was fixed by using the following command: g++ simple.cxx -o simple -I/usr/include/plib/ -lplibpu -lglut Thx for the replies. Sören From: sor...@ho... To: pli...@li... Date: Thu, 12 May 2011 14:27:17 +0000 Subject: [Plib-users] Compile Simple from plib exampels fail Hello, I am new on using ubuntu with g++. Compiling a "hello world" program works like a charm. But when I try to compile the simple.cxx from the plib_examples-1.8.5.tar.gz (src/pui/) with the following command: g++ -Wall simple.cxx -I /usr/include/ -o simple I get: /tmp/cc8lfK1s.o: In function `motionfn(int, int)': simple.cxx:(.text+0x14): undefined reference to `puMouse(int, int)' simple.cxx:(.text+0x19): undefined reference to `glutPostRedisplay' /tmp/cc8lfK1s.o: In function `mousefn(int, int, int, int)': simple.cxx:(.text+0x41): undefined reference to `puMouse(int, int, int, int)' simple.cxx:(.text+0x46): undefined reference to `glutPostRedisplay' /tmp/cc8lfK1s.o: In function `displayfn()': simple.cxx:(.text+0x76): undefined reference to `glClearColor' simple.cxx:(.text+0x82): undefined reference to `glClear' simple.cxx:(.text+0x87): undefined reference to `puDisplay()' simple.cxx:(.text+0x8c): undefined reference to `glutSwapBuffers' simple.cxx:(.text+0x91): undefined reference to `glutPostRedisplay' /tmp/cc8lfK1s.o: In function `main': simple.cxx:(.text+0xe0): undefined reference to `glutInitWindowSize' simple.cxx:(.text+0xf2): undefined reference to `glutInit' simple.cxx:(.text+0xfe): undefined reference to `glutInitDisplayMode' simple.cxx:(.text+0x10a): undefined reference to `glutCreateWindow' simple.cxx:(.text+0x116): undefined reference to `glutDisplayFunc' simple.cxx:(.text+0x122): undefined reference to `glutMouseFunc' simple.cxx:(.text+0x12e): undefined reference to `glutMotionFunc' simple.cxx:(.text+0x1ca): undefined reference to `glutMainLoop' /tmp/cc8lfK1s.o: In function `puObject::setLegend(char const*)': simple.cxx:(.text._ZN8puObject9setLegendEPKc[puObject::setLegend(char const*)]+0x25): undefined reference to `puPostRefresh()' /tmp/cc8lfK1s.o: In function `puButton::puButton(int, int, int, int, int)': simple.cxx:(.text._ZN8puButtonC2Eiiiii[puButton::puButton(int, int, int, int, int)]+0x29): undefined reference to `puObject::puObject(int, int, int, int)' simple.cxx:(.text._ZN8puButtonC2Eiiiii[puButton::puButton(int, int, int, int, int)]+0x32): undefined reference to `vtable for puButton' /tmp/cc8lfK1s.o: In function `puOneShot::puOneShot(int, int, int, int)': simple.cxx:(.text._ZN9puOneShotC1Eiiii[puOneShot::puOneShot(int, int, int, int)]+0x3a): undefined reference to `vtable for puOneShot' /tmp/cc8lfK1s.o: In function `puGetWindowGLUT()': simple.cxx:(.text._Z15puGetWindowGLUTv[puGetWindowGLUT()]+0x7): undefined reference to `glutGetWindow' /tmp/cc8lfK1s.o: In function `puSetWindowGLUT(int)': simple.cxx:(.text._Z15puSetWindowGLUTi[puSetWindowGLUT(int)]+0xd): undefined reference to `glutSetWindow' /tmp/cc8lfK1s.o: In function `puGetWindowSizeGLUT(int*, int*)': simple.cxx:(.text._Z19puGetWindowSizeGLUTPiS_[puGetWindowSizeGLUT(int*, int*)]+0xe): undefined reference to `glutGet' simple.cxx:(.text._Z19puGetWindowSizeGLUTPiS_[puGetWindowSizeGLUT(int*, int*)]+0x1f): undefined reference to `glutGet' /tmp/cc8lfK1s.o: In function `puSetWindowSizeGLUT(int, int)': simple.cxx:(.text._Z19puSetWindowSizeGLUTii[puSetWindowSizeGLUT(int, int)]+0x14): undefined reference to `glutReshapeWindow' /tmp/cc8lfK1s.o: In function `puInitGLUT()': simple.cxx:(.text._Z10puInitGLUTv[puInitGLUT()]+0x26): undefined reference to `puSetWindowFuncs(int (*)(), void (*)(int), void (*)(int*, int*), void (*)(int, int))' simple.cxx:(.text._Z10puInitGLUTv[puInitGLUT()]+0x2b): undefined reference to `puRealInit()' collect2: ld returned 1 exit status Does someone know what I am doing wrong? I searched the archive and other sites but didn't fined a solution. It looks like he can't find the correct files but I included the necessary dir. I am using ubuntu 10.10 with gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) Kind regards, Sören ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ plib-users mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-users |
From: John F. F. <joh...@cy...> - 2011-05-13 06:11:15
|
"PLIB" is not itself a library. It's a collection of libraries. Instead of "-lplib" you'll need "-lpui" and probably "-lul -lfnt" as well. Another library you'll need is "-lfreeglut" or "-lglut" for the "glut..." functions. - John On 5/12/2011 11:13 PM, Ludwig Arndt wrote: > Hello, > > i think you have to add some -l<lib> flags to the compilation > command... > -lglu -lgl -lplib > i would be expecting at least. > its required to link the executable against these libraries > > im sorry i dont know the precise library set though. > > > On Thu, 2011-05-12 at 14:27 +0000, Sören Van Hemelrijck wrote: > >> Hello, >> >> I am new on using ubuntu with g++. Compiling a "hello world" program >> works like a charm. But when I try to compile the simple.cxx from the >> plib_examples-1.8.5.tar.gz (src/pui/) with the following command: >> g++ -Wall simple.cxx -I /usr/include/ -o simple >> >> I get: >> /tmp/cc8lfK1s.o: In function `motionfn(int, int)': >> simple.cxx:(.text+0x14): undefined reference to `puMouse(int, int)' >> simple.cxx:(.text+0x19): undefined reference to `glutPostRedisplay' >> /tmp/cc8lfK1s.o: In function `mousefn(int, int, int, int)': >> simple.cxx:(.text+0x41): undefined reference to `puMouse(int, int, >> int, int)' >> simple.cxx:(.text+0x46): undefined reference to `glutPostRedisplay' >> /tmp/cc8lfK1s.o: In function `displayfn()': >> simple.cxx:(.text+0x76): undefined reference to `glClearColor' >> simple.cxx:(.text+0x82): undefined reference to `glClear' >> simple.cxx:(.text+0x87): undefined reference to `puDisplay()' >> simple.cxx:(.text+0x8c): undefined reference to `glutSwapBuffers' >> simple.cxx:(.text+0x91): undefined reference to `glutPostRedisplay' >> /tmp/cc8lfK1s.o: In function `main': >> simple.cxx:(.text+0xe0): undefined reference to `glutInitWindowSize' >> simple.cxx:(.text+0xf2): undefined reference to `glutInit' >> simple.cxx:(.text+0xfe): undefined reference to `glutInitDisplayMode' >> simple.cxx:(.text+0x10a): undefined reference to `glutCreateWindow' >> simple.cxx:(.text+0x116): undefined reference to `glutDisplayFunc' >> simple.cxx:(.text+0x122): undefined reference to `glutMouseFunc' >> simple.cxx:(.text+0x12e): undefined reference to `glutMotionFunc' >> simple.cxx:(.text+0x1ca): undefined reference to `glutMainLoop' >> /tmp/cc8lfK1s.o: In function `puObject::setLegend(char const*)': >> simple.cxx:(.text._ZN8puObject9setLegendEPKc[puObject::setLegend(char >> const*)]+0x25): undefined reference to `puPostRefresh()' >> /tmp/cc8lfK1s.o: In function `puButton::puButton(int, int, int, int, >> int)': >> simple.cxx:(.text._ZN8puButtonC2Eiiiii[puButton::puButton(int, int, >> int, int, int)]+0x29): undefined reference to `puObject::puObject(int, >> int, int, int)' >> simple.cxx:(.text._ZN8puButtonC2Eiiiii[puButton::puButton(int, int, >> int, int, int)]+0x32): undefined reference to `vtable for puButton' >> /tmp/cc8lfK1s.o: In function `puOneShot::puOneShot(int, int, int, >> int)': >> simple.cxx:(.text._ZN9puOneShotC1Eiiii[puOneShot::puOneShot(int, int, >> int, int)]+0x3a): undefined reference to `vtable for puOneShot' >> /tmp/cc8lfK1s.o: In function `puGetWindowGLUT()': >> simple.cxx:(.text._Z15puGetWindowGLUTv[puGetWindowGLUT()]+0x7): >> undefined reference to `glutGetWindow' >> /tmp/cc8lfK1s.o: In function `puSetWindowGLUT(int)': >> simple.cxx:(.text._Z15puSetWindowGLUTi[puSetWindowGLUT(int)]+0xd): >> undefined reference to `glutSetWindow' >> /tmp/cc8lfK1s.o: In function `puGetWindowSizeGLUT(int*, int*)': >> simple.cxx:(.text._Z19puGetWindowSizeGLUTPiS_[puGetWindowSizeGLUT(int*, int*)]+0xe): undefined reference to `glutGet' >> simple.cxx:(.text._Z19puGetWindowSizeGLUTPiS_[puGetWindowSizeGLUT(int*, int*)]+0x1f): undefined reference to `glutGet' >> /tmp/cc8lfK1s.o: In function `puSetWindowSizeGLUT(int, int)': >> simple.cxx:(.text._Z19puSetWindowSizeGLUTii[puSetWindowSizeGLUT(int, >> int)]+0x14): undefined reference to `glutReshapeWindow' >> /tmp/cc8lfK1s.o: In function `puInitGLUT()': >> simple.cxx:(.text._Z10puInitGLUTv[puInitGLUT()]+0x26): undefined >> reference to `puSetWindowFuncs(int (*)(), void (*)(int), void >> (*)(int*, int*), void (*)(int, int))' >> simple.cxx:(.text._Z10puInitGLUTv[puInitGLUT()]+0x2b): undefined >> reference to `puRealInit()' >> collect2: ld returned 1 exit status >> >> Does someone know what I am doing wrong? I searched the archive and >> other sites but didn't fined a solution. >> It looks like he can't find the correct files but I included the >> necessary dir. >> >> I am using ubuntu 10.10 with gcc version 4.4.5 (Ubuntu/Linaro >> 4.4.4-14ubuntu5) >> >> Kind regards, >> Sören >> >> >> ------------------------------------------------------------------------------ >> Achieve unprecedented app performance and reliability >> What every C/C++ and Fortran developer should know. >> Learn how Intel has extended the reach of its next-generation tools >> to help boost performance applications - inlcuding clusters. >> http://p.sf.net/sfu/intel-dev2devmay >> _______________________________________________ plib-users mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-users >> > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |
From: Ludwig A. <lj...@gm...> - 2011-05-13 04:13:37
|
Hello, i think you have to add some -l<lib> flags to the compilation command... -lglu -lgl -lplib i would be expecting at least. its required to link the executable against these libraries im sorry i dont know the precise library set though. On Thu, 2011-05-12 at 14:27 +0000, Sören Van Hemelrijck wrote: > Hello, > > I am new on using ubuntu with g++. Compiling a "hello world" program > works like a charm. But when I try to compile the simple.cxx from the > plib_examples-1.8.5.tar.gz (src/pui/) with the following command: > g++ -Wall simple.cxx -I /usr/include/ -o simple > > I get: > /tmp/cc8lfK1s.o: In function `motionfn(int, int)': > simple.cxx:(.text+0x14): undefined reference to `puMouse(int, int)' > simple.cxx:(.text+0x19): undefined reference to `glutPostRedisplay' > /tmp/cc8lfK1s.o: In function `mousefn(int, int, int, int)': > simple.cxx:(.text+0x41): undefined reference to `puMouse(int, int, > int, int)' > simple.cxx:(.text+0x46): undefined reference to `glutPostRedisplay' > /tmp/cc8lfK1s.o: In function `displayfn()': > simple.cxx:(.text+0x76): undefined reference to `glClearColor' > simple.cxx:(.text+0x82): undefined reference to `glClear' > simple.cxx:(.text+0x87): undefined reference to `puDisplay()' > simple.cxx:(.text+0x8c): undefined reference to `glutSwapBuffers' > simple.cxx:(.text+0x91): undefined reference to `glutPostRedisplay' > /tmp/cc8lfK1s.o: In function `main': > simple.cxx:(.text+0xe0): undefined reference to `glutInitWindowSize' > simple.cxx:(.text+0xf2): undefined reference to `glutInit' > simple.cxx:(.text+0xfe): undefined reference to `glutInitDisplayMode' > simple.cxx:(.text+0x10a): undefined reference to `glutCreateWindow' > simple.cxx:(.text+0x116): undefined reference to `glutDisplayFunc' > simple.cxx:(.text+0x122): undefined reference to `glutMouseFunc' > simple.cxx:(.text+0x12e): undefined reference to `glutMotionFunc' > simple.cxx:(.text+0x1ca): undefined reference to `glutMainLoop' > /tmp/cc8lfK1s.o: In function `puObject::setLegend(char const*)': > simple.cxx:(.text._ZN8puObject9setLegendEPKc[puObject::setLegend(char > const*)]+0x25): undefined reference to `puPostRefresh()' > /tmp/cc8lfK1s.o: In function `puButton::puButton(int, int, int, int, > int)': > simple.cxx:(.text._ZN8puButtonC2Eiiiii[puButton::puButton(int, int, > int, int, int)]+0x29): undefined reference to `puObject::puObject(int, > int, int, int)' > simple.cxx:(.text._ZN8puButtonC2Eiiiii[puButton::puButton(int, int, > int, int, int)]+0x32): undefined reference to `vtable for puButton' > /tmp/cc8lfK1s.o: In function `puOneShot::puOneShot(int, int, int, > int)': > simple.cxx:(.text._ZN9puOneShotC1Eiiii[puOneShot::puOneShot(int, int, > int, int)]+0x3a): undefined reference to `vtable for puOneShot' > /tmp/cc8lfK1s.o: In function `puGetWindowGLUT()': > simple.cxx:(.text._Z15puGetWindowGLUTv[puGetWindowGLUT()]+0x7): > undefined reference to `glutGetWindow' > /tmp/cc8lfK1s.o: In function `puSetWindowGLUT(int)': > simple.cxx:(.text._Z15puSetWindowGLUTi[puSetWindowGLUT(int)]+0xd): > undefined reference to `glutSetWindow' > /tmp/cc8lfK1s.o: In function `puGetWindowSizeGLUT(int*, int*)': > simple.cxx:(.text._Z19puGetWindowSizeGLUTPiS_[puGetWindowSizeGLUT(int*, int*)]+0xe): undefined reference to `glutGet' > simple.cxx:(.text._Z19puGetWindowSizeGLUTPiS_[puGetWindowSizeGLUT(int*, int*)]+0x1f): undefined reference to `glutGet' > /tmp/cc8lfK1s.o: In function `puSetWindowSizeGLUT(int, int)': > simple.cxx:(.text._Z19puSetWindowSizeGLUTii[puSetWindowSizeGLUT(int, > int)]+0x14): undefined reference to `glutReshapeWindow' > /tmp/cc8lfK1s.o: In function `puInitGLUT()': > simple.cxx:(.text._Z10puInitGLUTv[puInitGLUT()]+0x26): undefined > reference to `puSetWindowFuncs(int (*)(), void (*)(int), void > (*)(int*, int*), void (*)(int, int))' > simple.cxx:(.text._Z10puInitGLUTv[puInitGLUT()]+0x2b): undefined > reference to `puRealInit()' > collect2: ld returned 1 exit status > > Does someone know what I am doing wrong? I searched the archive and > other sites but didn't fined a solution. > It looks like he can't find the correct files but I included the > necessary dir. > > I am using ubuntu 10.10 with gcc version 4.4.5 (Ubuntu/Linaro > 4.4.4-14ubuntu5) > > Kind regards, > Sören > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ plib-users mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-users |
From: Sören V. H. <sor...@ho...> - 2011-05-12 14:27:23
|
Hello, I am new on using ubuntu with g++. Compiling a "hello world" program works like a charm. But when I try to compile the simple.cxx from the plib_examples-1.8.5.tar.gz (src/pui/) with the following command: g++ -Wall simple.cxx -I /usr/include/ -o simple I get: /tmp/cc8lfK1s.o: In function `motionfn(int, int)': simple.cxx:(.text+0x14): undefined reference to `puMouse(int, int)' simple.cxx:(.text+0x19): undefined reference to `glutPostRedisplay' /tmp/cc8lfK1s.o: In function `mousefn(int, int, int, int)': simple.cxx:(.text+0x41): undefined reference to `puMouse(int, int, int, int)' simple.cxx:(.text+0x46): undefined reference to `glutPostRedisplay' /tmp/cc8lfK1s.o: In function `displayfn()': simple.cxx:(.text+0x76): undefined reference to `glClearColor' simple.cxx:(.text+0x82): undefined reference to `glClear' simple.cxx:(.text+0x87): undefined reference to `puDisplay()' simple.cxx:(.text+0x8c): undefined reference to `glutSwapBuffers' simple.cxx:(.text+0x91): undefined reference to `glutPostRedisplay' /tmp/cc8lfK1s.o: In function `main': simple.cxx:(.text+0xe0): undefined reference to `glutInitWindowSize' simple.cxx:(.text+0xf2): undefined reference to `glutInit' simple.cxx:(.text+0xfe): undefined reference to `glutInitDisplayMode' simple.cxx:(.text+0x10a): undefined reference to `glutCreateWindow' simple.cxx:(.text+0x116): undefined reference to `glutDisplayFunc' simple.cxx:(.text+0x122): undefined reference to `glutMouseFunc' simple.cxx:(.text+0x12e): undefined reference to `glutMotionFunc' simple.cxx:(.text+0x1ca): undefined reference to `glutMainLoop' /tmp/cc8lfK1s.o: In function `puObject::setLegend(char const*)': simple.cxx:(.text._ZN8puObject9setLegendEPKc[puObject::setLegend(char const*)]+0x25): undefined reference to `puPostRefresh()' /tmp/cc8lfK1s.o: In function `puButton::puButton(int, int, int, int, int)': simple.cxx:(.text._ZN8puButtonC2Eiiiii[puButton::puButton(int, int, int, int, int)]+0x29): undefined reference to `puObject::puObject(int, int, int, int)' simple.cxx:(.text._ZN8puButtonC2Eiiiii[puButton::puButton(int, int, int, int, int)]+0x32): undefined reference to `vtable for puButton' /tmp/cc8lfK1s.o: In function `puOneShot::puOneShot(int, int, int, int)': simple.cxx:(.text._ZN9puOneShotC1Eiiii[puOneShot::puOneShot(int, int, int, int)]+0x3a): undefined reference to `vtable for puOneShot' /tmp/cc8lfK1s.o: In function `puGetWindowGLUT()': simple.cxx:(.text._Z15puGetWindowGLUTv[puGetWindowGLUT()]+0x7): undefined reference to `glutGetWindow' /tmp/cc8lfK1s.o: In function `puSetWindowGLUT(int)': simple.cxx:(.text._Z15puSetWindowGLUTi[puSetWindowGLUT(int)]+0xd): undefined reference to `glutSetWindow' /tmp/cc8lfK1s.o: In function `puGetWindowSizeGLUT(int*, int*)': simple.cxx:(.text._Z19puGetWindowSizeGLUTPiS_[puGetWindowSizeGLUT(int*, int*)]+0xe): undefined reference to `glutGet' simple.cxx:(.text._Z19puGetWindowSizeGLUTPiS_[puGetWindowSizeGLUT(int*, int*)]+0x1f): undefined reference to `glutGet' /tmp/cc8lfK1s.o: In function `puSetWindowSizeGLUT(int, int)': simple.cxx:(.text._Z19puSetWindowSizeGLUTii[puSetWindowSizeGLUT(int, int)]+0x14): undefined reference to `glutReshapeWindow' /tmp/cc8lfK1s.o: In function `puInitGLUT()': simple.cxx:(.text._Z10puInitGLUTv[puInitGLUT()]+0x26): undefined reference to `puSetWindowFuncs(int (*)(), void (*)(int), void (*)(int*, int*), void (*)(int, int))' simple.cxx:(.text._Z10puInitGLUTv[puInitGLUT()]+0x2b): undefined reference to `puRealInit()' collect2: ld returned 1 exit status Does someone know what I am doing wrong? I searched the archive and other sites but didn't fined a solution. It looks like he can't find the correct files but I included the necessary dir. I am using ubuntu 10.10 with gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) Kind regards, Sören |
From: digitalhack <dig...@gm...> - 2011-03-31 23:53:30
|
Hello, I am attempting to develop a wrapper for PUI that will allow for easy integration of PUI into openFrameworks applications. openFrameworks is an open source c++ toolkit for creative coding. It is built on OpenGL by way of GLUT. There are several extensions for integrating UI components into applications but none of them are as complete as PUI. The primary purpose for the wrapper is to adjust PUI to the coordinate system that is used by openFrameworks which has 0,0 in the upper left corner of the window and to align with the openFrameworks convention of x, y, width, height in widget calls. I have been very successful with building the wrapper routines until I got to the puDialogBox. The problem with puDialogBox is that it grows in width and height as you add items to it. The problem is that to convert the coordinate system I need to know the height of the area a widget will be displayed in so I can adjust the y value to map back to the PUI coordinate system. I have searched the mailing list archives for any discussion on modifying the PUI coordinate system and didn't come up with anything. If anyone has any suggestions for modifying the coordinate system of thoughts on how to handle the puDialogBox I would greatly appreciate hearing them. Thanks, Gregory |
From: John F. <joh...@cy...> - 2011-02-24 13:50:27
|
Raghvendra, Hello and welcome to the PLIB community. Unfortunately Linux is not my strong point and I don't know that I can help much. I think the best place to look would be the "configure.in" file. There's something there about changing the directories that hold the include and library files, but unfortunately I think they meant changing the root part of the path. While changing the system is generally a Very Bad Thing, is it possible to link "/usr/local/lib" to "/usr/local/lib64" so that PLIB would be able to see it? I certainly would not suggest this as a permanent fix, but it might shed some light on finding the correct solution. - John F. Fay On 2/14/2011 4:37 AM, raghvendra misra wrote: > i have been using FlightGear for some time and have successfully > installed plib1.8.5 on my fedora 8 machine(32Bit). > However recently i migrated to a workstation with RHEL 6 ( 64 bit). i > tried installing plib 1.8.5 on this machine but ./configure gives > error as "configure: error: could not find working GL library" > I checked for the openGL libraries and they are installed at > "/usr/lib64" and headers at "/usr/include". > > For a 32 bit machine i know that the libraries are installed at > "/usr/local/lib" & "/usr/local/include" > However in a 64 bit machine plib is not able to find the GL libraries. > > I am stuck badly and don't know how to proceed. > > Plz suggest me how to proceed???????????? > > > Regards > raghav > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > > > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |
From: raghvendra m. <rag...@gm...> - 2011-02-14 10:37:38
|
i have been using FlightGear for some time and have successfully installed plib1.8.5 on my fedora 8 machine(32Bit). However recently i migrated to a workstation with RHEL 6 ( 64 bit). i tried installing plib 1.8.5 on this machine but ./configure gives error as "configure: error: could not find working GL library" I checked for the openGL libraries and they are installed at "/usr/lib64" and headers at "/usr/include". For a 32 bit machine i know that the libraries are installed at "/usr/local/lib" & "/usr/local/include" However in a 64 bit machine plib is not able to find the GL libraries. I am stuck badly and don't know how to proceed. Plz suggest me how to proceed???????????? Regards raghav |
From: Victor h. <na...@ho...> - 2011-01-29 15:54:21
|
Thank you so much; i tried to figure it out after i've posted... Thanks again Victor Date: Sat, 29 Jan 2011 07:59:19 -0600 From: joh...@cy... To: pli...@li... Subject: Re: [Plib-users] error with gcc after including fnt header Victor, Hello and welcome to the PLIB community. I wish you a good a productive time here. The basic problem is that your program is written in C (the ".c" extension means that GCC will use the C compiler on it) while PLIB is written in C++. To give one example, if you will look in the file "sg.h" (in the "src/sg" directory) on lines 436 and 457 you will find two definitions of the function "sgScaleVec3". They have different argument lists; C++ is able to distinguish between them based on the argument lists, but C is not. Unfortunately there isn't much to do about it beyond redoing your program in C++. You may not need to redo the entire program (depending on its size), but any part that uses a PLIB library will need to be in C++. You could write a wrapper function in a separate file with a ".cxx" or ".cpp" or ".cc" extension and preface your function definitions with the string extern "C" which will tell the C++ compiler that these functions will be called from C language functions. - John On 1/28/2011 11:08 PM, Victor henri wrote: Hello I would like to use plib fnt to use some text, in a 3D spectral analysis of the sound that works fine already (openGL in a SDL window). The problem is : when I add the include file #include <plib/fnt.h>,i get a huge error message that i've attached in a file (it is so big that I don't even have the beginning in my terminal). I'm on ubuntu Maverick 10.10 64 bits; plib hab been installed from the official packages (i've installed the libplib-dev package also); I compile my program with that command : gcc -o Spectrum `pkg-config gstreamer-0.10 --cflags --libs` `pkg-config gtk+-2.0 --cflags --libs` `sdl-config --cflags --libs` -lGLU -lGL -lglut -lplibfnt -lplibsg -lglut -L/usr/X11/lib -lX11 -lXext -lXmu -lm `pkg-config jack --cflags --libs` myProgram.c Before I add the fnt header,the compilation is succesfull with this command; it's only after adding the fnt.h that problems arrive; i understand that it is not necessary to include the sg header for it is called by the fnt (anyway i've trid that also). Could please anyone give me a clue? Thank you Victor ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ plib-users mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ plib-users mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-users |
From: <p.l...@ci...> - 2011-01-29 14:48:19
|
Victor , Scrive Victor henri <na...@ho...>: > > Hello > > I would like to use plib fnt to use some text, in a 3D spectral analysis of > the sound that works fine already (openGL in a SDL window). > > The problem is : when I add the include file #include <plib/fnt.h>,i get a > huge error message that i've attached in a file (it is so big that I don't > even have the beginning in my terminal). > > I'm > on ubuntu Maverick 10.10 64 bits; plib hab been installed from the > official packages (i've installed the libplib-dev package also); > > I compile my program with that command : > > gcc > -o Spectrum `pkg-config gstreamer-0.10 --cflags --libs` `pkg-config > gtk+-2.0 --cflags --libs` `sdl-config --cflags --libs` -lGLU -lGL -lglut > -lplibfnt -lplibsg -lglut -L/usr/X11/lib -lX11 -lXext -lXmu -lm > `pkg-config jack --cflags --libs` myProgram.c > > Before I add > the fnt header,the compilation is succesfull with this command; it's > only after adding the fnt.h that problems arrive; i understand that it > is not necessary to include the sg header for it is called by the fnt > (anyway i've trid that also). > > Could please anyone give me a clue? I'm not a Linux user but I remember that gcc libraries should be specified in dependency order. In the specific, plib fnt depends on OpenGL so specify GL (and GLU as well, even if not strictly necessary) *after* fnt. Before that, I'm not sure from your command line that the plib include directory is in the include path. Still on gcc, as far as plib is in /usr/include, or whatever in the default include directories, fnt.h is found, otherwise it will not. To be sure yust specify it explicitly, i.e. -I/<plib-root-path>. > Thank you > > Victor Greetings, Paolo Leoncini |
From: John F. <joh...@cy...> - 2011-01-29 13:59:35
|
Victor, Hello and welcome to the PLIB community. I wish you a good a productive time here. The basic problem is that your program is written in C (the ".c" extension means that GCC will use the C compiler on it) while PLIB is written in C++. To give one example, if you will look in the file "sg.h" (in the "src/sg" directory) on lines 436 and 457 you will find two definitions of the function "sgScaleVec3". They have different argument lists; C++ is able to distinguish between them based on the argument lists, but C is not. Unfortunately there isn't much to do about it beyond redoing your program in C++. You may not need to redo the entire program (depending on its size), but any part that uses a PLIB library will need to be in C++. You could write a wrapper function in a separate file with a ".cxx" or ".cpp" or ".cc" extension and preface your function definitions with the string extern "C" which will tell the C++ compiler that these functions will be called from C language functions. - John On 1/28/2011 11:08 PM, Victor henri wrote: > Hello > > I would like to use *plib fnt* to use some text, in a 3D spectral > analysis of the sound that works fine already (openGL in a SDL window). > > The problem is : when I add the include file *#include <plib/fnt.h>*,i > get a huge error message that i've attached in a file (it is so big > that I don't even have the beginning in my terminal). > > I'm on ubuntu Maverick 10.10 64 bits; plib hab been installed from the > official packages (i've installed the libplib-dev package also); > > I compile my program with that command : > > *gcc -o Spectrum `pkg-config gstreamer-0.10 --cflags --libs` > `pkg-config gtk+-2.0 --cflags --libs` `sdl-config --cflags --libs` > -lGLU -lGL -lglut -lplibfnt -lplibsg -lglut -L/usr/X11/lib -lX11 > -lXext -lXmu -lm `pkg-config jack --cflags --libs` myProgram.c* > > Before I add the fnt header,the compilation is succesfull with this > command; it's only after adding the fnt.h that problems arrive; i > understand that it is not necessary to include the sg header for it is > called by the fnt (anyway i've trid that also). > > Could please anyone give me a clue? > > Thank you > > Victor > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > > > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |