|
From: Rich C. <rc...@ll...> - 2010-03-16 23:57:25
|
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
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
Any help? Thank you!
/* A function that takes a single integer argument and returns
a pointer to a function that takes two integer arguments and
returns a floating-point number. */
float (*func2(int a))(int, int);
Rich Cook
rc...@ll...
|
|
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...>
|
|
From: Rich C. <rc...@ll...> - 2010-03-17 01:11:13
|
Thanks, Newer glib -- oh noes! The sysadmins will never go for it. I can compile it, but what's next I wonder... I don't know what dbus-glib is. Is it included with glib? On Mar 16, 2010, at 5:57 PM, Braden McDaniel wrote: > 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...> > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://*p.sf.net/sfu/intel-sw-dev > _______________________________________________ > openvrml-develop mailing list > ope...@li... > https://*lists.sourceforge.net/lists/listinfo/openvrml-develop > /* A function that takes a single integer argument and returns a pointer to a function that takes two integer arguments and returns a floating-point number. */ float (*func2(int a))(int, int); Rich Cook rc...@ll... |
|
From: Braden M. <br...@en...> - 2010-03-17 03:22:14
|
On Tue, 2010-03-16 at 18:11 -0700, Rich Cook wrote:
> Thanks,
> Newer glib -- oh noes! The sysadmins will never go for it. I can
> compile it, but what's next I wonder... I don't know what dbus-glib
> is. Is it included with glib?
No; it's a Glib-aware wrapper for libdbus. It's (somewhat) more closely
associated with D-Bus than Glib. See:
http://www.freedesktop.org/wiki/Software/DBusBindings
--
Braden McDaniel <br...@en...>
|