[GEM-dev] problem to compile Gem with ftgl

Jack jack at rybn.org
Thu Mar 19 19:14:04 CET 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Now, with :

$ ./configure --with-ftgl-CFLAGS="-I/usr/include/FTGL/"
$ make
...
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++
- -DHAVE_CONFIG_H -I. -I../../src  -I../../src -DGEM_INTERNAL
- -DGLEW_BUILD -DGLEW_MX  -DPD     -I/usr/include/FTGL/  -g -O2
- -freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps
- -funroll-loops -ffast-math -mmmx -MT libBase_la-TextBaseFTGL.lo -MD
- -MP -MF .deps/libBase_la-TextBaseFTGL.Tpo -c -o
libBase_la-TextBaseFTGL.lo `test -f 'TextBaseFTGL.cpp' || echo
'./'`TextBaseFTGL.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src
- -DGEM_INTERNAL -DGLEW_BUILD -DGLEW_MX -DPD -I/usr/include/FTGL/ -g -O2
- -freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps
- -funroll-loops -ffast-math -mmmx -MT libBase_la-TextBaseFTGL.lo -MD
- -MP -MF .deps/libBase_la-TextBaseFTGL.Tpo -c TextBaseFTGL.cpp  -fPIC
- -DPIC -o .libs/libBase_la-TextBaseFTGL.o
In file included from TextBase.h:38:0,
                 from TextBaseFTGL.cpp:24:
/usr/include/FTGL/FTFont.h:29:5: warning: #warning This header is
deprecated. Please use <FTGL/ftgl.h> from now. [-Wcpp]
 #   warning This header is deprecated. Please use <FTGL/ftgl.h> from now.
     ^
In file included from /usr/include/FTGL/FTFont.h:30:0,
                 from TextBase.h:38,
                 from TextBaseFTGL.cpp:24:
/usr/include/FTGL/ftgl.h:32:22: fatal error: ft2build.h: No such file
or directory
 #include <ft2build.h>
                      ^
compilation terminated.
make[3]: *** [libBase_la-TextBaseFTGL.lo] Error 1
make[3]: Leaving directory
`/home/julien/Téléchargements/pd-gem-gem/src/Base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/julien/Téléchargements/pd-gem-gem/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/julien/Téléchargements/pd-gem-gem/src'
make: *** [all-recursive] Error 1

++

Jack



Le 19/03/2015 18:57, Jack a écrit :
> Hello,
> 
> I have this error when i try to compile Gem : $ make ... libtool:
> compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src 
> -DGEM_INTERNAL -DGLEW_BUILD -DGLEW_MX -DPD -g -O2
> -freg-struct-return -O3 -falign-loops -falign-functions
> -falign-jumps -funroll-loops -ffast-math -mmmx -MT
> libBase_la-TextBaseFTGL.lo -MD -MP -MF 
> .deps/libBase_la-TextBaseFTGL.Tpo -c TextBaseFTGL.cpp  -fPIC -DPIC
> -o .libs/libBase_la-TextBaseFTGL.o In file included from
> TextBaseFTGL.cpp:24:0: TextBase.h:38:22: fatal error: FTFont.h: No
> such file or directory #  include "FTFont.h"
> 
> libftgl-dev and ftgl-dev are installed with apt-get install 
> libftgl-dev ftgl-dev
> 
> ftgl.h is in /usr/include/FTGL/ftgl.h
> 
> So Gem doesn't compile even with $ make -k
> 
> Any help ?
> 
> Config : Ubuntu 14.04.2 LTS Pd-0.46.5 last Gem from
> git.code.sf.net/p/pd-gem/gem ++
> 
> Jack
> 
> 
> _______________________________________________ GEM-dev mailing
> list GEM-dev at lists.iem.at 
> http://lists.puredata.info/listinfo/gem-dev
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVCxHsAAoJEOuluecjw8GUAVYH/3DtxaGla4PDSJfCV0zyJwye
gaQ1BE9ZDmfggrVMWHZyfj1w7gMr4EDKZdw7KC9kOT4Ud1JC1A4PggcXqogGMQet
DRvIh1W5Wk7JS5MmbsoSVYQwcr49jFgPCjrLAIq5R3gXSA/cSmGEnnHQugeO1oHE
N+y2PbJ9D9//JqyzrNvhT1tkzQoEaFACCm6QMiSWZ8/calGaWtujcb8Im4OgDXPg
80znM3MNggwWaZO5wBgY4BBdtRq2zRDBjw7lDQomJxjLKZ3Wt+CYnNF5bdX7BFNC
e0n39kZ5532K2g5RzS8T8GX3NDzfHQgwXb/+JoQWP0sWVK5eTnmW3kUdVKzuoMU=
=c0U9
-----END PGP SIGNATURE-----



More information about the GEM-dev mailing list