I installed FTGL and used ./configure --with-ftgl-includes=/usr/local/include/FTGL to configure. Everything seemed to roll along until >>
eetype -lz -lftgl_pic -L/usr/lib -lquicktime -lpthread -lm -lz -ldl
-lquicktime -lpthread -lm -lz -ldl -lMagick++ -lMagick /usr/bin/ld: cannot find -lftgl_pic collect2: ld returned 1 exit status make: *** [Gem.pd_linux ] Error 1
FTGL seems configured correctly but I can't get around this error. Any ideas? Thanks /Brad.
Brad Kligerman wrote:
I installed FTGL and used ./configure --with-ftgl-includes=/usr/local/include/FTGL to configure. Everything seemed to roll along until >>
eetype -lz -lftgl_pic -L/usr/lib -lquicktime -lpthread -lm -lz -ldl -lquicktime -lpthread -lm -lz -ldl -lMagick++ -lMagick /usr/bin/ld: cannot find -lftgl_pic collect2: ld returned 1 exit status make: *** [Gem.pd_linux ] Error 1
FTGL seems configured correctly but I can't get around this error. Any ideas? Thanks /Brad.
hmm!
on which architecture are you? i368? x86_64?? in the latter case, ftgl has to be compiled with -fPIC in order to work together with Gem. on debian (which i am using), ftgl installs both libftgl.a and libftgl_pic.a however, i never tried to build ftgl myself (which is not true, but just imagine it is)
the simple solution to your problem is to edit the Make.config and change "-lftgl_pic" to "-lftgl"
mfg.ard IOhannes
On Tue, 6 Dec 2005, IOhannes m zmoelnig wrote:
on which architecture are you? i368? x86_64?? in the latter case, ftgl has to be compiled with -fPIC in order to work together with Gem. on debian (which i am using), ftgl installs both libftgl.a and libftgl_pic.a however, i never tried to build ftgl myself (which is not true, but just imagine it is)
The ftgl_pic is a Debian "feature" and doesn't come with FTGL. I don't think that the renaming is a good thing and having two versions (-ftgl and -lftgl_pic) just complicates things and helps in only very few cases.
Anyhow, the gem configure should check for -lftgl_pic and if this is not available use -lftgl, just like the tcl/tk stuff in pd does.
Cheers,
Günter
the simple solution to your problem is to edit the Make.config and change "-lftgl_pic" to "-lftgl"
mfg.ard IOhannes
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
The ftgl_pic is a Debian "feature" and doesn't come with FTGL. I don't think that the renaming is a good thing and having two versions (-ftgl and -lftgl_pic) just complicates things and helps in only very few cases.
Anyhow, the gem configure should check for -lftgl_pic and if this is not available use -lftgl, just like the tcl/tk stuff in pd does.
On my system it doesn't work like this and just _use_ -lftgl, so the build stops with the above error.
the simple solution to your problem is to edit the Make.config and
change "-lftgl_pic" to "-lftgl"
So, despite Günter's doubts, I tried to change the Make.config. Gem got built, but when I try to load the library in PD, I get the following error>>
/home/kliger/cvs_20051128/Gem/src/Gem.pd_linux:
/home/kliger/cvs_20051128/Gem/src/Gem.pd_linux: undefined symbol: glUniform4iARB /home/kliger/cvs_20051128/Gem/src/Gem: can't load library
Oh well. When I have the time, I'll consider using Debian so that I have the same system as the Gem dev people. But until then, I need text rendering in Gem so I'll continue using my old Gem (but without gemlist_info which I've grown to like). So unless anyone has a brilliant idea, thanks anyway. /Brad.
On 12/7/05, Brad Kligerman bkligerman@gmail.com wrote:
So, despite Günter's doubts, I tried to change the Make.config. Gem got built, but when I try to load the library in PD, I get the following error>>
/home/kliger/cvs_20051128/Gem/src/Gem.pd_linux:
/home/kliger/cvs_20051128/Gem/src/Gem.pd_linux: undefined symbol: glUniform4iARB
/home/kliger/cvs_20051128/Gem/src/Gem: can't load library
Don't build the glsl object files. Or install GL drivers that support GL 2.0 (Nvidia binary for example).
On Wed, 7 Dec 2005, Brad Kligerman wrote:
Anyhow, the gem configure should check for -lftgl_pic and if this is not available use -lftgl, just like the tcl/tk stuff in pd does.
On my system it doesn't work like this and just _use_ -lftgl, so the build stops with the above error.
Sorry for the misunderstanding, it was meant as a reply to Johannes stating how ftgl support would be intergrated correclty into Gem. I can see that using "should" in this case is ambiguous. The workaround from Johannes solves this problem too. I didn' t doubt it.
Günter
the simple solution to your problem is to edit the Make.config and
change "-lftgl_pic" to "-lftgl"
So, despite Günter's doubts, I tried to change the Make.config. Gem got built, but when I try to load the library in PD, I get the following error>>
/home/kliger/cvs_20051128/Gem/src/Gem.pd_linux:
/home/kliger/cvs_20051128/Gem/src/Gem.pd_linux: undefined symbol: glUniform4iARB /home/kliger/cvs_20051128/Gem/src/Gem: can't load library
Oh well. When I have the time, I'll consider using Debian so that I have the same system as the Gem dev people. But until then, I need text rendering in Gem so I'll continue using my old Gem (but without gemlist_info which I've grown to like). So unless anyone has a brilliant idea, thanks anyway. /Brad.