Ho compilato facilmente l'ottimo motore grafico OGRE (ogre3d.org)
Ora voglio compilare un Mesh viewer per questo motore. Lo si scarica qui: http://tuan.kuranes.free.fr/ceguimeshviewer.zip
Il primo intoppo lo si ha quando ci si accorge che l'archivio è stato creato da windows e le righe dei file terminano con \r\n invece che \n.
Basta dare un fromdos -f * per risolvere il problema.
Quando però si fa partire l' autogen.sh ci sono un po' di warning:
Codice: Seleziona tutto
Running libtoolize...
Running aclocal ...
Running autoheader...
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
Running automake --gnu ...
a parte questi warning, dopo aver lanciato il configure con successo e dato make, questo è l'output:
Codice: Seleziona tutto
turchet@turchet-desktop:~/DOWNLOAD/ceguimeshviewer$ make
cd . && /bin/bash /home/turchet/DOWNLOAD/ceguimeshviewer/missing --run autoheader
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/home/turchet/DOWNLOAD/ceguimeshviewer'
Making all in include
make[2]: Entering directory `/home/turchet/DOWNLOAD/ceguimeshviewer/include'
Making all in xml
make[3]: Entering directory `/home/turchet/DOWNLOAD/ceguimeshviewer/include/xml'
make[3]: *** No rule to make target `all'. Stop.
make[3]: Leaving directory `/home/turchet/DOWNLOAD/ceguimeshviewer/include/xml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/turchet/DOWNLOAD/ceguimeshviewer/include'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/turchet/DOWNLOAD/ceguimeshviewer'
make: *** [all] Error 2
Sono disperato, non so più dove sbattere la testa! >:(