From: James J. R. <jjr...@ya...> - 2007-02-02 15:37:11
|
These are the error messages that I get after attempting to compile OpenVRML on CentOS 4.4: Making all in openvrml-gtkplug make[3]: Entering directory `/home/jjramsey/TarballsAndRPMs/openvrml-0.16.3/src/openvrml-gtkplug' depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \ if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -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 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -pthread -g -O2 -MT main.o -MD -MP -MF "$depbase.Tpo" -c -o main.o main.cpp; \ then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi main.cpp:169: error: `GOptionEntry' does not name a type main.cpp: In function `int main(int, char**)': main.cpp:339: error: `GOptionContext' was not declared in this scope main.cpp:339: error: expected primary-expression before "const" main.cpp:339: error: expected `;' before "const" main.cpp:342: error: `context' was not declared in this scope main.cpp:342: error: `options' was not declared in this scope main.cpp:342: error: `g_option_context_add_main_entries' was not declared in this scope main.cpp:343: error: `gtk_get_option_group' was not declared in this scope main.cpp:343: error: `g_option_context_add_group' was not declared in this scopemain.cpp:344: error: `g_option_context_parse' was not declared in this scope make[3]: *** [main.o] Error 1 make[3]: Leaving directory `/home/jjramsey/TarballsAndRPMs/openvrml-0.16.3/src/openvrml-gtkplug' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/jjramsey/TarballsAndRPMs/openvrml-0.16.3/src' I've already upgraded my Boost libraries to version 1.33.1, and as far as I can tell, the compile isn't choking on them. It's the GOptionEntry bit that's got me stumped. ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 |