[GEM-dev] problem to compile Gem with ftgl
Jack
jack at rybn.org
Fri Mar 20 15:47:44 CET 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanx Antoine, I will test next time (when I have an access to the
computer).
To solve my problem, i just do :
$ ./configure --without-ftgl
And it compiles fine (but i can't use fonts in Gem).
++
Jack
Le 19/03/2015 20:27, Antoine Villeret a écrit :
> hello,
>
> you need libfreetype6-dev package if you have already installed it,
> then you may need to add the path to its header to make or
> ./configure
>
> a
>
>
> -- do it yourself http://antoine.villeret.free.fr
>
> 2015-03-19 19:14 GMT+01:00 Jack <jack at rybn.org
> <mailto:jack at rybn.org>>:
>
> 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
>> <http://git.code.sf.net/p/pd-gem/gem> ++
>
>> Jack
>
>
>> _______________________________________________ GEM-dev mailing
>> list GEM-dev at lists.iem.at <mailto:GEM-dev at lists.iem.at>
>> http://lists.puredata.info/listinfo/gem-dev
>
>
>
> _______________________________________________ GEM-dev mailing
> list GEM-dev at lists.iem.at <mailto:GEM-dev at lists.iem.at>
> http://lists.puredata.info/listinfo/gem-dev
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJVDDMPAAoJEOuluecjw8GUkH8IAIItaVRH45m5w1iNSMG7AL7s
3v23N/bpzlIDe1IYJQKiuR+xVaYK27TaEztyz1B0FLKDoqfoizlzSZGJesZfp0CV
Q/Ko2Uc2Cfr+qbk1LV9IM3ZcS790s/w3sD7lGGGBHdiBsmv5vgC22PC1Bkumd3QL
/7hYmLnbLBbPBbJxwQ09jxi6c6WnKtumLiK5urtOH0SPQu+Cfj/OMoh8hoIvhKX3
0pi1pD8wnmxHfV0gsCO6uJ1xuWZ5G5yqiOGB2B38xdFHemhsyXSHQjLOr7VgQIB5
j7LWyIpZ56V79xWPhJVv+4AQ8PHMlaNUlDE2GKTRh3k394pRyYGQSDhrxx9NN6M=
=KFgW
-----END PGP SIGNATURE-----
More information about the GEM-dev
mailing list