From: Matthew K. G. <mk...@cs...> - 2009-05-28 14:57:45
|
I'm trying to build the most recent vpython on an Ubuntu 8.04 linux machine. I ran ./configure with no problems, but I get the following compilation errors when I run "make". I'm using g++ 4.2.4. Any help would be much appreciated... In file included from ./core/util/displaylist.cpp:6: ../include/util/gl_free.hpp:4:29: warning: boost/signals.hpp: No such file or directory In file included from ./core/util/displaylist.cpp:6: ../include/util/gl_free.hpp:27: error: ISO C++ forbids declaration of ‘signal’ with no type ../include/util/gl_free.hpp:27: error: invalid use of ‘::’ ../include/util/gl_free.hpp:27: error: expected ‘;’ before ‘<’ token ../include/util/gl_free.hpp:28: error: ISO C++ forbids declaration of ‘signal’ with no type ../include/util/gl_free.hpp:28: error: invalid use of ‘::’ ../include/util/gl_free.hpp:28: error: expected ‘;’ before ‘<’ token ../include/util/gl_free.hpp: In member function ‘void cvisual::gl_free_manager::connect(T)’: ../include/util/gl_free.hpp:13: error: there are no arguments to ‘on_shutdown’ that depend on a template parameter, so a declaration of ‘on_shutdown’ must be available ../include/util/gl_free.hpp:13: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../include/util/gl_free.hpp: In member function ‘void cvisual::gl_free_manager::free(T)’: ../include/util/gl_free.hpp:18: error: there are no arguments to ‘on_next_frame’ that depend on a template parameter, so a declaration of ‘on_next_frame’ must be available ../include/util/gl_free.hpp:18: error: there are no arguments to ‘on_shutdown’ that depend on a template parameter, so a declaration of ‘on_shutdown’ must be available ../include/util/gl_free.hpp: In member function ‘void cvisual::gl_free_manager::connect(T) [with T = boost::_bi::bind_t<void, void (*)(unsigned int), boost::_bi::list1<boost::_bi::value<unsigned int> > >]’: ./core/util/displaylist.cpp:28: instantiated from here ../include/util/gl_free.hpp:13: error: ‘on_shutdown’ was not declared in this scope ../include/util/gl_free.hpp: In member function ‘void cvisual::gl_free_manager::free(T) [with T = boost::_bi::bind_t<void, void (*)(unsigned int), boost::_bi::list1<boost::_bi::value<unsigned int> > >]’: ./core/util/displaylist.cpp:33: instantiated from here ../include/util/gl_free.hpp:18: error: ‘on_next_frame’ was not declared in this scope ../include/util/gl_free.hpp:18: error: ‘on_shutdown’ was not declared in this scope |