I fixed the orb.h just recleaning and starting again from scratch.
I'm not getting this error though:
../../../gem-0.86/src/AuxLibs/particle -I../../../include
-I../../../GemLibs/glm -I/usr/local/include -I..
/usr/bin/ld: cannot find -lparticle
collect2: ld returned 1 exit status
make: *** [Gem.pd_linux] Error 1
not sure about this one, I don't know enough about compiling to fix the -lparticle lib problem... run ldconfig?
Ben
Ben Bogart - FMPM/F1999 hat gesagt: // Ben Bogart - FMPM/F1999 wrote:
I fixed the orb.h just recleaning and starting again from scratch.
I'm not getting this error though:
../../../gem-0.86/src/AuxLibs/particle -I../../../include -I../../../GemLibs/glm -I/usr/local/include -I..
/usr/bin/ld: cannot find -lparticle collect2: ld returned 1 exit status make: *** [Gem.pd_linux] Error 1not sure about this one, I don't know enough about compiling to fix the -lparticle lib problem... run ldconfig?
It should be in GemLibs/particle/libparticle.a
You try to link it from gem-0.86/src/AuxLibs/particle, which is not the particle library for 0.87. ldconfig won't help, as the GemLibs probably aren't "installed" in a ldconfig-controlled directory. Something's wrong in your Makefile...
Frank Barknecht _ ______footils.org__
Hi !
Frank Barknecht wrote:
Ben Bogart - FMPM/F1999 hat gesagt: // Ben Bogart - FMPM/F1999 wrote:
I fixed the orb.h just recleaning and starting again from scratch.
I'm not getting this error
what is wrong then ???
though:
../../../gem-0.86/src/AuxLibs/particle -I../../../include -I../../../GemLibs/glm -I/usr/local/include -I..
/usr/bin/ld: cannot find -lparticle collect2: ld returned 1 exit status make: *** [Gem.pd_linux] Error 1not sure about this one, I don't know enough about compiling to fix the -lparticle lib problem... run ldconfig?
It should be in GemLibs/particle/libparticle.a
You try to link it from gem-0.86/src/AuxLibs/particle, which is not the particle library for 0.87. ldconfig won't help, as the GemLibs probably aren't "installed" in a ldconfig-controlled directory. Something's wrong in your Makefile...
exactly. the easiest way would probably be to (re)move all the old installations (gem-0.86) to somewhere that isn't searched before the GemLibs.
with older releases of Gem i always had the problem, that very old AuxLibs were found (normally from 0.83 or something) - it is just a "find" issue. the same goes now with the GemLibs
mfg.cdsa.er IOhannes
ciao,
Thanks Frank, Johannes,
the easiest way would probably be to (re)move all the old installations (gem-0.86) to somewhere that isn't searched before the GemLibs.
I tired this first, renaming my old gem-0.86 to renamed_gem-0.86 but that did not work. same error, ld can't find -lparticle.
The suggestion to link from my gem-0.87/src/Auxlibs/ to Gemlibs/ did not work either. Still could not find the lib. But I noticed this in my ./configure output:
checking for main in -lparticle... (cached) no checking alternate -lparticle in ../../../ ... (cached) ../../../gem-0.84/src/AuxLibs/particle configure: warning: Trying to use particle library in ../../../gem-0.84/src/AuxLibs/particle
gem-0.84?
anyhow so what I did was link the folder which ./configure was going to use to my Gemlibs. ie:
$ pwd /usr/local/gem-0.84/src $ ln -s ../../GemLibs Auxlibs
Where gem-0.84 are just empty (except for the link)
ld still cannot find particle... /usr/bin/ld: cannot find -lparticle
So I'm quite confused, any more ideas? I see that the Makefile in src/Gnu has: LDFLAGS = -L/usr/X11R6/lib -L../../../GemLibs/glm -L../../../gem-0.84/src/AuxLibs /liborb -L../../../gem-0.84/src/AuxLibs/particle
I'm just going to go ahead and point that to Gemlibs and see what happens...
Ok well that seems to have gotten rid of my -lparticle problem but now ld can't find -ljpeg !! The configure script does find it, and I have the packages installed:
||/ Name Version Description +++-==============-==============-============================================ pn jpeg2ps <none> (no description available) pn jpeginfo <none> (no description available) un libjpeg-dev <none> (no description available) un libjpeg-gif <none> (no description available) pn libjpeg-progs <none> (no description available) ii libjpeg62 6b-1.2 The Independent JPEG Group's JPEG runtime li pn libjpeg62-dev <none> (no description available) un libjpeg6b <none> (no description available) un libjpegg-dev <none> (no description available)
Just for clarity I will paste my whole configure output on the end of this email for reference, I'll send the Makefile if that would help.
So What is the next step?
Thanks everyone!
Ben
PS: On a side note, whats the relationship between makeauxlibs in Gemlibs and in gem-0.87/src/Gnu ?
./configure: /usr/local/sbin/: is a directory ./configure: /usr/local/sbin/: is a directory loading cache ./config.cache Sources for ../Manips Sources for ../Particles Sources for ../Base Sources for ../MarkEx Sources for ../Pixes Sources for ../Controls Sources for ../Nongeos Sources for ../Geos Sources for ../tv checking host system type... i686-pc-linux-gnu Configuring for Gem.pd_linux checking for gnu make... yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for sh... (cached) sh checking how to run the C preprocessor... (cached) gcc -E checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... (cached) no checking for dnet_ntoa in -ldnet_stub... (cached) no checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for main in -lX11... (cached) yes checking for main in -lXext... (cached) yes checking for XF86VidModeGetAllModeLines in -lXxf86vm... (cached) yes checking for sin in -lm... (cached) yes checking for glInitNames in -lGL... (cached) yes checking for gluLookAt in -lGLU... (cached) yes checking for glutSolidTeapot in -lglut... (cached) yes checking for quicktime_open in -lquicktime... (cached) yes checking for png_set_compression_level in -lpng... (cached) yes checking for main in -lglib... (cached) yes checking for OpenMPEG in -lmpeg... (cached) yes checking for mpeg3_open in -lmpeg3... (cached) yes checking for main in -lglm... (cached) no checking alternate -lglm in ../../../ ... (cached) ../../../GemLibs/glm configure: warning: Trying to use glm library in ../../../GemLibs/glm checking for main in -ltiff... (cached) yes checking for main in -ljpeg... (cached) yes checking for main in -lttf... (cached) yes checking for main in -lgltt... (cached) yes checking for main in -lorb... (cached) no checking alternate -lorb in ../../../ ... (cached) ../../../gem-0.84/src/AuxLibs/liborb configure: warning: Trying to use orb library in ../../../gem-0.84/src/AuxLibs/liborb checking for main in -lparticle... (cached) no checking alternate -lparticle in ../../../ ... (cached) ../../../gem-0.84/src/AuxLibs/particle configure: warning: Trying to use particle library in ../../../gem-0.84/src/AuxLibs/particle checking for main in -lvl... (cached) no checking for main in -lz... (cached) yes checking for m_pd.h path... /usr/local/include checking for glm.h path... ../../../GemLibs/glm checking for orb.h path... ../../../include checking for papi.h path... ../../../gem-0.87/src/Particles checking for GLTTFont.h path... /usr/local/include checking for mpeg.h... (cached) yes checking for quicktime/quicktime.h... (cached) yes checking for libmpeg3.h... (cached) yes checking for quicktime/libdv.h... (cached) no checking for ANSI C header files... (cached) no checking for working const... (cached) yes checking for size_t... (cached) yes checking for vprintf... (cached) yes checking for strdup... (cached) yes checking for strstr... (cached) yes creating ./config.status creating Makefile creating ./../Manips/Makefile creating ./../Particles/Makefile creating ./../Base/Makefile creating ./../MarkEx/Makefile creating ./../Pixes/Makefile creating ./../Controls/Makefile creating ./../Nongeos/Makefile creating ./../Geos/Makefile creating ./../tv/Makefile creating ../Base/config.h