[GEM-dev] Does Gem makefile on OSX look for FTGL static libs? compiling Gem CVS on OSX from terminal
B. Bogart
ben at ekran.org
Tue May 30 16:57:07 CEST 2006
Hi Chris,
I only have the static libs installed on the machine:
ESMAC001:/usr/local/lib lpine$ find / -name "libftgl*" 2>/dev/null
/Users/lpine/pd-stuff/FTGL/unix/src/.libs/libftgl.a
/Users/lpine/pd-stuff/FTGL/unix/src/.libs/libftgl.la
/Users/lpine/pd-stuff/FTGL/unix/src/.libs/libftgl.lai
/Users/lpine/pd-stuff/FTGL/unix/src/libftgl.la
/usr/local/lib/libftgl.a
/usr/local/lib/libftgl.la
If I recompile FTGL using Xcode, where do the libs get installed? With the
terminal build find them then? (I think not, and that they'll not be
installed but just compiled...)
:|
Today is my last day at work so I'm hoping to get a fully functional gem
compiled so my replacement does not have to worry about this stuff.
.b.
On Mon, May 29, 2006 3:39 pm, chris clepper said:
> I don't use the makefiles on OSX, but the linker on OSX will often grab
> the
> first lib it finds and link that. FTGL might have built and installed
> static and dynamic copies, so maybe remove any dylib files for FTGL and
> try
> again?
>
> On 5/29/06, B. Bogart <ben at ekran.org> wrote:
>>
>> Hey all,
>>
>> Here is this thread again.
>>
>> So once I was all happy with my new CVS binary of Gem, I realized (to my
>> dismay) that of course I compiled without font support.
>>
>> So remembering the ol Xcode days I found FTGL and freetype and compiled
>> like so:
>>
>> Freetype: (easy)
>> ./configure
>> make
>> sudo make install
>>
>> FTGL: (scarry)
>> used the "unix" folder since it was the only one with a makefile.
>> did sudo ln -s
>> /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
>> /usr/include/GL
>> so that the makefile found the GL stuff.
>> ./configure --without-x --with-ft-prefix=/usr/local/lib
>> --with-ft-exec-prefix=/usr/local/lib/ --disable-freetypetest
>> --disable-shared
>>
>> --with-gl-lib=/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
>> make
>> sudo make install
>> seemed to work, though I did not try compiling the test. I see FTGL
>> includes and binaries. Note this does create static libs.
>>
>> So GEM can't see the FTGL stuff:
>>
>> ./configure --with-ftgl --with-ftgl-includes=/usr/local/include/
>> --with-ftgl-libs=/usr/local/lib/
>>
>> checking for ftgl-config... yes
>> checking for main in -lftgl... no
>> checking for PKG_GLTT_CFLAGS...
>> checking for PKG_GLTT_LIBS...
>>
>> used optional libraries:
>>
>> font-rendering :
>>
>> image-support
>> use ImageMagick : no
>> use TIFF : no
>> use JPEG : no
>> video-support
>> use mpeg : no
>> use mpeg-3 : no
>> use QuickTime : yes (framework)
>> use aviplay : no
>> use ffmpeg : no
>> input-support
>> use v4l : no
>> use ieee1394 : no
>>
>> misc
>> using ARB-extensions : yes
>> using NV-extensions : no
>> using reg-struct-ret : yes
>>
>> So I got most of the FTGL stuff from the blender compile howtos, but I'm
>> stuck with forcing gem to see FTGL...
>>
>> Maybe gem is only looking for dynamic libs not static ones? I'd rather
>> FTGL be linked in static since that way I don't have to make sure FTGL
>> is
>> compiled and working on each machine in the lab...
>>
>> Thanks all!
>> .b.
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> GEM-dev mailing list
>> GEM-dev at iem.at
>> http://lists.puredata.info/listinfo/gem-dev
>>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>
More information about the GEM-dev
mailing list