0

我正在尝试在我的 ubuntu 11.10 64 位虚拟机上安装 stage 3.2.2。我已经成功安装播放器 3.0.2。

我已经尝试了所有建议的在线修复方法,但都失败了。

a@ubuntu:~/Stage-3.2.2-Source/build$ make
[ 74%] Built target stage
Linking CXX executable stage
CMakeFiles/stagebinary.dir/main.o: In function `main':
main.cc:(.text.startup+0x304): undefined reference to `Fl::run()'
libstage.so.3.2.2: undefined reference to `Fl_File_Chooser::value(int)'
libstage.so.3.2.2: undefined reference to `fl_alert(char const*, ...)'
libstage.so.3.2.2: undefined reference to `Fl_Shared_Image::get(char const*, int, int)'
libstage.so.3.2.2: undefined reference to `Fl::repeat_timeout(double, void (*)(void*), void*)'

libstage.so.3.2.2: undefined reference to `fl_choice(char const*, char const*, char const*, char const*, ...)'


libstage.so.3.2.2: undefined reference to `Fl_File_Chooser::~Fl_File_Chooser()'
libstage.so.3.2.2: undefined reference to `Fl_Check_Button::Fl_Check_Button(int, int, int, int, char const*)'
libstage.so.3.2.2: undefined reference to `Fl_Widget::default_callback(Fl_Widget*, void*)'
libstage.so.3.2.2: undefined reference to `Fl::e_keysym'
libstage.so.3.2.2: undefined reference to `Fl::delete_widget(Fl_Widget*)'
libstage.so.3.2.2: undefined reference to `Fl_Button::Fl_Button(int, int, int, int, char const*)'


libstage.so.3.2.2: undefined reference to `Fl_Group::find(Fl_Widget const*) const'
libstage.so.3.2.2: undefined reference to `Fl_Gl_Window::resize(int, int, int, int)'
libstage.so.3.2.2: undefined reference to `Fl_Scroll::Fl_Scroll(int, int, int, int, char const*)'
libstage.so.3.2.2: undefined reference to `Fl::e_state'
libstage.so.3.2.2: undefined reference to `Fl_Window::Fl_Window(int, int, char const*)'
libstage.so.3.2.2: undefined reference to `gl_draw(char const*, int, int, int, int, Fl_Align)'

libstage.so.3.2.2: undefined reference to `fl_height()'
libstage.so.3.2.2: undefined reference to `typeinfo for Fl_Gl_Window'
libstage.so.3.2.2: undefined reference to `Fl_Gl_Window::invalidate()'
libstage.so.3.2.2: undefined reference to `Fl_Button::value(int)'
libstage.so.3.2.2: undefined reference to `gl_width(char const*)'
libstage.so.3.2.2: undefined reference to `Fl_Gl_Window::flush()'
libstage.so.3.2.2: undefined reference to `Fl_Text_Display::buffer(Fl_Text_Buffer*)'
libstage.so.3.2.2: undefined reference to `Fl_Window::~Fl_Window()'
libstage.so.3.2.2: undefined reference to `png_destroy_write_struct'
libstage.so.3.2.2: undefined reference to `Fl_Window::show()'
collect2: ld returned 1 exit status
make[2]: *** [libstage/stage] Error 1
make[1]: *** [libstage/CMakeFiles/stagebinary.dir/all] Error 2
make: *** [all] Error 2
4

1 回答 1

0

老实说,我去年也尝试在 Ubuntu 上为一个小组项目(即未知环境中的机器人垃圾收集)安装 Player/Stage,但我找不到任何解决方案。实际上,我仍然有一个类似的问题,直到今天在 StackOverflow 和其他几个网站上仍然没有答案。最后我改用 Fedora,我必须说它更轻松,实际上让我有机会从事该项目,而不是花费大量时间尝试解决一些被天谴的错误。

于 2013-10-20T21:27:49.100 回答