|
From: Braden M. <br...@en...> - 2010-03-17 00:57:38
|
On Tue, 2010-03-16 at 16:57 -0700, Rich Cook wrote:
> I can't build 0.18 because of a dependency on GTK+ which I cannot
> resolve here, so I'm reduced to trying to build 0.17.12. I hope
> someone cares. :-)
>
> When I build, I get the following error:
> g++ -DHAVE_CONFIG_H -I. -I.. -I../src/openvrml-xembed -I../lib/
> gtkglext -I../lib/gtkglext -I../lib/gtkglext/gdk -I../src/libopenvrml -
> I../src/libopenvrml -I../src/libopenvrml-gl -I../src/libopenvrml-gl -I
> -DGTK_DISABLE_DEPRECATED -I/usr/global/tools/VRML/OpenVRML/0.17.12/
> chaos_4_x86_64_ib/boost_1_42_0/boost -I/usr/global/tools/VRML/OpenVRML/
> 0.17.12/chaos_4_x86_64_ib/include -pthread -I/usr/include/dbus-1.0 -I/
> usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/
> glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/
> gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/
> include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/
> include -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/
> usr/global/tools/VRML/OpenVRML/0.17.12/chaos_4_x86_64_ib/boost_1_42_0/
> boost -I/usr/global/tools/VRML/OpenVRML/0.17.12/chaos_4_x86_64_ib/
> include -MT openvrml-xembed/openvrml_xembed_openvrml_xembed-main.o -MD
> -MP -MF openvrml-xembed/.deps/openvrml_xembed_openvrml_xembed-main.Tpo
> -c -o openvrml-xembed/openvrml_xembed_openvrml_xembed-main.o `test -f
> 'openvrml-xembed/main.cpp' || echo './'`openvrml-xembed/main.cpp
> openvrml-xembed/main.cpp: In function
> 'DBusGConnection*<unnamed>::bus_get(GMainContext*, DBusBusType,
> GError**)':
> openvrml-xembed/main.cpp:71: error: 'dbus_connection_get_g_connection'
> was not declared in this scope
Hm... What version of dbus-glib do you have installed? Unfortunately,
odds are you need a newer one.
> openvrml-xembed/main.cpp: In function 'int main(int, char**)':
> openvrml-xembed/main.cpp:203: error: 'boost::function' has not been
> declared
> openvrml-xembed/main.cpp:216: error: 'function' was not declared in
> this scope
> openvrml-xembed/main.cpp:216: error: 'dbus_thread_func' was not
> declared in this scope
> make[3]: *** [openvrml-xembed/openvrml_xembed_openvrml_xembed-main.o]
> Error 1
This one is probably because you're compiling with a *newer* Boost than
was used when 0.17 was designed for. There have been some changes to
the Boost headers such that stuff that used to be included incidentally
no longer is. Try adding
#include <boost/function.hpp>
to main.cpp.
--
Braden McDaniel <br...@en...>
|