help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with FTGL building octave-3.1.51


From: Thomas Weber
Subject: Re: Problems with FTGL building octave-3.1.51
Date: Wed, 20 Aug 2008 00:13:34 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Aug 19, 2008 at 09:27:40PM +0200, Michael Goffioul wrote:
> On Tue, Aug 19, 2008 at 6:01 PM, John W. Eaton <address@hidden> wrote:
> > So eventually the additional -I option should not be needed.
> >
> > Do we really need to check for freetype2 before FTGL?
> 
> Yes, because FTGL/ftgl.h in 2.1.3 includes freetype2
> headers.

Does pkg-config work under Windows? I haven't used this much, but ftgl's
pkg-config says that it needs freetype:

ftlg.pc:
============================================
prefi=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: FTGL
Description: OpenGL frontend to Freetype 2
Version: 2.1.3~rc5
Libs: -L${libdir} -lftgl
Requires.private: freetype2
Libs.private: -lGLU -lGL -lm
Cflags: -I${includedir} -I${includedir}/FTGL
============================================

freetype2.pc:
============================================
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: FreeType 2
Description: A free, high-quality, and portable font engine.
Version: 9.18.3
Requires:
Libs: -L${libdir} -lfreetype -lz
Cflags: -I${includedir}/freetype2 -I${includedir}
============================================

It seems there are even autoconf macros for it, so maybe we could get
rid of all of this guessing.

        Thomas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]