Hi Simone,
It looks like you are missing some files from the Boost library
(www.boost.org). I actually hit the same problem when trying to
compile sgems on the Mac, and the solution was to download boost, and
copy all the missing .h files to boost sub-directory in GsTL (I
actually didn't bother selecting the files, I just copied entire
directories. In your case, copy boost/mpl to GsTL/boost).
Alexandre recently added a new kdtree class to the code but it seems
that he forgot to update the GsTL code with the boost dependencies.
Nicolas
2010/9/14 Simone Pittaluga <pitta@...>:
> hi,
> i try to compile sgems on opensuse 11.3 and i have same trouble.
>
> this is the output of make:
>
>
> zolfo:/home/pitta1981/sgems/sgems # make
> cd GsTLAppli/ && make -f Makefile
> make[1]: Entering directory `/home/pitta1981/sgems/sgems/GsTLAppli'
> cd utils/ && make -f Makefile
> make[2]: Entering directory `/home/pitta1981/sgems/sgems/GsTLAppli/utils'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/home/pitta1981/sgems/sgems/GsTLAppli/utils'
> cd appli/ && make -f Makefile
> make[2]: Entering directory `/home/pitta1981/sgems/sgems/GsTLAppli/appli'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/home/pitta1981/sgems/sgems/GsTLAppli/appli'
> cd math/ && make -f Makefile
> make[2]: Entering directory `/home/pitta1981/sgems/sgems/GsTLAppli/math'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/home/pitta1981/sgems/sgems/GsTLAppli/math'
> cd grid/ && make -f Makefile
> make[2]: Entering directory `/home/pitta1981/sgems/sgems/GsTLAppli/grid'
> g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g
> -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB
> -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I.
> -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml
> -I/usr/include -I. -Igrid_model -I/tools/designer/interfaces
> -I/home/pitta1981/sgems/GsTL -I/home/pitta1981/sgems/sgems -I/usr/include
> -I/home/pitta1981/sgems/GsTL/GsTL/utils -I. -o
> ../../lib/linux/obj/grid/gstl_kdtree2.o grid_model/gstl_kdtree2.cpp
> In file included from /home/pitta1981/sgems/GsTL/boost/config.hpp:35:0,
> from
> /home/pitta1981/sgems/GsTL/boost/detail/iterator.hpp:54,
> from /home/pitta1981/sgems/GsTL/boost/array.hpp:32,
> from /usr/include/boost/multi_array/range_list.hpp:19,
> from /usr/include/boost/multi_array/extent_gen.hpp:17,
> from /usr/include/boost/multi_array/base.hpp:22,
> from /home/pitta1981/sgems/GsTL/boost/multi_array.hpp:21,
> from grid_model/gstl_kdtree2.h:23,
> from grid_model/gstl_kdtree2.cpp:9:
> /home/pitta1981/sgems/GsTL/boost/config/compiler/gcc.hpp:66:7: warning:
> #warning "Unknown compiler version - please run the configure tests and
> report the results"
> In file included from /home/pitta1981/sgems/GsTL/boost/array.hpp:32:0,
> from /usr/include/boost/multi_array/range_list.hpp:19,
> from /usr/include/boost/multi_array/extent_gen.hpp:17,
> from /usr/include/boost/multi_array/base.hpp:22,
> from /home/pitta1981/sgems/GsTL/boost/multi_array.hpp:21,
> from grid_model/gstl_kdtree2.h:23,
> from grid_model/gstl_kdtree2.cpp:9:
> /home/pitta1981/sgems/GsTL/boost/detail/iterator.hpp:60:39: fatal error:
> boost/mpl/aux_/has_xxx.hpp: No such file or directory
> compilation terminated.
> make[2]: *** [../../lib/linux/obj/grid/gstl_kdtree2.o] Error 1
> make[2]: Leaving directory `/home/pitta1981/sgems/sgems/GsTLAppli/grid'
> make[1]: *** [sub-grid-make_default] Error 2
> make[1]: Leaving directory `/home/pitta1981/sgems/sgems/GsTLAppli'
> make: *** [sub-GsTLAppli-make_default] Error 2
> zolfo:/home/pitta1981/sgems/sgems #
>
> What shuld i do?
>
> thanks a lot
>
> Simone
>
>
>
> - Dott. Simone Pittaluga -
> --- Geologo ---
> --- Indagini sismiche ---
>
> http://www.vs30.it/
> Mobile: +39 328 3092555
>
> Please consider your environmental responsibility before printing this
> e-mail.
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Sgems-users mailing list
> Sgems-users@...
> https://lists.sourceforge.net/lists/listinfo/sgems-users
>
>
|