From: Jason K. <ja...@cs...> - 2005-12-12 14:33:36
|
I posted this message to the openvrml discussion list, but I have a feeling that wasn't the right place.. my apologies.. --- By: Jason Keltz - jkeltz problem compiling openvrml 0.15.9 2005-12-12 14:30 Hi. I am trying to compile openvrml 0.15.9 to get the mozilla plugin. I had to install a couple of the dependencies - the biggest and most time consuming one being boost-1.33.1. I also had to recompile mozilla to grab the development includes/libraries that I normally get rid of when I compile it. After getting the libraries into place, the compile worked for quite a while without problems, but then I ran into this large stumbling block which seems to be right at the end! (just my luck huh?) make[2]: Entering directory `/tmp/xsys.21253.0/openvrml-0.15.10/mozilla-plugin/src/openvrml-player' if c++ -DPACKAGE_NAME=\"OpenVRML\ Mozilla\ Plugin\" -DPACKAGE_TARNAME=\"openvrml-mozilla-plugin\" -DPACKAGE_VERSION=\"0.15.10\" -DPACKAGE_STRING=\"OpenVRML\ Mozilla\ Plugin\ 0.15.10\" -DPACKAGE_BUGREPORT=\"ope...@li...\"; -DPACKAGE=\"openvrml-mozilla-plugin\" -DVERSION=\"0.15.10\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_PTHREAD=1 -I. -I/tmp/xsys.21253.0/openvrml-0.15.10/mozilla-plugin/src/openvrml-player -I/tmp/xsys.21253.0/openvrml-0.15.10/mozilla-plugin/lib/gtkglext -I../../lib/gtkglext/gdk -I/tmp/xsys.21253.0/openvrml-0.15.10/mozilla-plugin/../src/libopenvrml -I/tmp/xsys.21253.0/openvrml-0.15.10/mozilla-plugin/../src/libopenvrml-gl -I -DGTK_DISABLE_DEPRECATED -I/cs/local/packages/mozilla-support/include -I/cs/local/packages/boost/include -I/cs/local/packages/mozilla-devel/include -I/cs/local/include/gtk-2.0 -I/cs/local/lib/gtk-2.0/include -I/cs/local/include -I/cs/local/include/atk-1.0 -I/cs/local/include/pango-1.0 -I/cs/local/include/freetype2 -I/cs/local/include/glib-2.0 -I/cs/local/lib/glib-2.0/include -pthread -g -O2 -MT player.o -MD -MP -MF ".deps/player.Tpo" -c -o player.o player.cpp; \ then mv -f ".deps/player.Tpo" ".deps/player.Po"; else rm -f ".deps/player.Tpo"; exit 1; fi In file included from /cs/local/packages/boost/include/boost/numeric/conversion/converter.hpp:16, from /cs/local/packages/boost/include/boost/numeric/conversion/cast.hpp:32, from /cs/local/packages/boost/include/boost/cast.hpp:103, from /tmp/xsys.21253.0/openvrml-0.15.10/src/libopenvrml/openvrml/field_value.h:31, from /tmp/xsys.21253.0/openvrml-0.15.10/src/libopenvrml/openvrml/node.h:34, from /tmp/xsys.21253.0/openvrml-0.15.10/src/libopenvrml/openvrml/script.h:27, from /tmp/xsys.21253.0/openvrml-0.15.10/src/libopenvrml/openvrml/browser.h:34, from player.cpp:31: /cs/local/packages/boost/include/boost/numeric/conversion/detail/converter.hpp:233: declaration does not declare anything /cs/local/packages/boost/include/boost/numeric/conversion/detail/converter.hpp:233: parse error before numeric constant /cs/local/packages/boost/include/boost/numeric/conversion/detail/converter.hpp:238: type/value mismatch at argument 6 in template parameter list for `template<class expr0, class expr1, class TT, class TF, class FT, class FF> struct boost::numeric::convdetail::for_both' /cs/local/packages/boost/include/boost/numeric/conversion/detail/converter.hpp:238: expected a type, got `0' /cs/local/packages/boost/include/boost/numeric/conversion/detail/converter.hpp:238: ` type' is not a class or namespace /cs/local/packages/boost/include/boost/numeric/conversion/detail/converter.hpp:238: ISO C++ forbids declaration of `type' with no type make[2]: *** [player.o] Error 1 make[2]: Leaving directory `/tmp/xsys.21253.0/openvrml-0.15.10/mozilla-plugin/src/openvrml-player' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/xsys.21253.0/openvrml-0.15.10/mozilla-plugin/src' make: *** [all] Error 2 --- Can someone please suggest how to resolve this ? Would this version of openvrml not be compatible with the latest boost maybe? Thanks, Jason Keltz |