[GEM-dev] Gem build error on Mac OS X when enabling FTGL in Fink
Hans-Christoph Steiner
hans at eds.org
Fri May 4 16:15:12 CEST 2007
On May 4, 2007, at 4:25 AM, IOhannes m zmoelnig wrote:
> hi all.
>
> i have been wondering for some days now how to solve this.
>
> chris clepper wrote:
>> You have to use the Apple Quicktime API and not libquicktime with
>> GEM on
>> OSX. Delete all instances of libquicktime from the OSX configure
>> scripts and use the -framework Quicktime instead.
>
> that is not the problem.
> Gem rigtheously tries to use the QuickTime framework and not the
> libquicktime on OSX (configure detects that correctly).
>
> the problem is:
> when using QuickTime framework, you will have to include
> "QuickTime/QuickTime.h" (which is provided bythe framework).
> unfortunately, libquicktime provides quicktime/quicktime.h itself.
> in theory they can live together, because fink installs
> libquicktime-headers into /sw/include.
>
> since FTGL is now also installed via fink, /sw/include has been
> added to
> the include-paths of Gem: unfortunately this includes libquicktimes
> quicktime/quicktime.h instead of the framework's headers.
>
>
> options i see:
> - on debian FTGL-headers are installed in /usr/include/FTGL, and you
> have to explicitely tell Gem to add /usr/include/FTGL to its
> include paths.
> if fink would install the the FTGL-headers to /sw/include/FTGL, then
> there is no need to add /sw/include to the include-paths of Gem and no
> conflict would arise with the quicktime-headers.
> - if (and only if) the libquicktime headers are really
> "quicktime/quicktime.h" (note the case!), then it might help to have
> /sw/ be on a case-sensitive filesystem (but i don't know whether the
> libquicktime-headers are really all lowercase, and even if so, whether
> this would really help at all)
> - delete /sw/include/quicktime, since it is there for legacy reasons
> only; as the warning says, people using libquicktime should use
> lqt/quicktime.h anyhow.
Ah, I see the issue now. I think I can solve this in the
libquicktime package actually. libquicktime has officially changed
it's header to lqt/lqt.h. I imitated the debian package and made
those relocation warning headers in /path/to/include/quicktime:
http://packages.debian.org/cgi-bin/search_contents.pl?
searchmode=filelist&word=libquicktime-dev&version=testing&arch=i386
In the Fink package, I installed the headers directly into /sw/
include, which will work well for lqt/lqt.h, but not for quicktime/
quicktime.h. I am going to try moving the warning headers quicktime/
quicktime.h to /sw/include/libquicktime/quicktime/quicktime.h. I
think that should do it.
.hc
------------------------------------------------------------------------
----
The arc of history bends towards justice. - Dr. Martin Luther
King, Jr.
More information about the GEM-dev
mailing list