From: bsambit <sam...@ya...> - 2009-11-25 20:02:41
|
I downloaded fltk-1.3.x-r6943.tar.bz2 and installed it in Ubuntu 9.10. Do you need any other information? Thanks Sambit. Rich Mattes-2 wrote: > > Which distribution are you using? Is there an fltk-dev or fltk-devel > package that you're missing? > > -----Original Message----- > From: bsambit [mailto:sam...@ya...] > Sent: Wednesday, November 25, 2009 12:08 PM > To: pla...@li... > Subject: Re: [Playerstage-users] Problem compiling Stage 3.2.2 > > > > Hello, > I fixed the earlier problem by changing Region to Std::Region. Now I am > having different problem: my understanding is the FLTK libraries are not > linking (I have installed FLTK 1.3 installed). Here is the error output: > Linking CXX executable stage > CMakeFiles/stagebinary.dir/main.o: In function `main': > main.cc:(.text+0x392): undefined reference to `Fl::run()' > libstage.so.3.2.2: undefined reference to `gl_font(int, int)' > libstage.so.3.2.2: undefined reference to `Fl::e_number' > libstage.so.3.2.2: undefined reference to `Fl_Group::begin()' > libstage.so.3.2.2: undefined reference to `Fl_Text_Buffer::insert(int, > char > const*)' > libstage.so.3.2.2: undefined reference to `Fl_Window::size_range_()' > libstage.so.3.2.2: undefined reference to `Fl_Gl_Window::show()' > libstage.so.3.2.2: undefined reference to `vtable for Fl_Gl_Window' > libstage.so.3.2.2: undefined reference to `Fl_Widget::label(char const*)' > libstage.so.3.2.2: undefined reference to `vtable for Fl_Menu_Bar' > libstage.so.3.2.2: undefined reference to `Fl_File_Chooser::shown()' > libstage.so.3.2.2: undefined reference to `Fl_Group::find(Fl_Widget > const*) > const' > libstage.so.3.2.2: undefined reference to `typeinfo for Fl_Window' > libstage.so.3.2.2: undefined reference to `Fl_Widget::window() const' > libstage.so.3.2.2: undefined reference to `Fl_Gl_Window::flush()' > libstage.so.3.2.2: undefined reference to > `Fl_Text_Buffer::Fl_Text_Buffer(int, int)' > libstage.so.3.2.2: undefined reference to `Fl::add_idle(void (*)(void*), > void*)' > libstage.so.3.2.2: undefined reference to `Fl_Window::handle(int)' > libstage.so.3.2.2: undefined reference to > `Fl_Text_Display::Fl_Text_Display(int, int, int, int, char const*)' > libstage.so.3.2.2: undefined reference to `vtable for Fl_Box' > libstage.so.3.2.2: undefined reference to `Fl_File_Chooser::ok_label(char > const*)' > libstage.so.3.2.2: undefined reference to `Fl_Shared_Image::release()' > libstage.so.3.2.2: undefined reference to `gl_draw(char const*, int, int, > int, int, unsigned 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_File_Chooser::~Fl_File_Chooser()' > libstage.so.3.2.2: undefined reference to `gl_width(char const*)' > libstage.so.3.2.2: undefined reference to `Fl::e_x' > libstage.so.3.2.2: undefined reference to `Fl_Gl_Window::draw_overlay()' > libstage.so.3.2.2: undefined reference to `Fl_Widget::Fl_Widget(int, int, > int, int, char const*)' > libstage.so.3.2.2: undefined reference to `Fl::e_keysym' > libstage.so.3.2.2: undefined reference to `Fl_Button::value(int)' > libstage.so.3.2.2: undefined reference to `Fl::scheme(char const*)' > libstage.so.3.2.2: undefined reference to `Fl_Window::~Fl_Window()' > libstage.so.3.2.2: undefined reference to `Fl_Gl_Window::invalidate()' > libstage.so.3.2.2: undefined reference to `Fl_Widget::redraw()' > libstage.so.3.2.2: undefined reference to `fl_alert(char const*, ...)' > libstage.so.3.2.2: undefined reference to `fl_old_shortcut(char const*)' > libstage.so.3.2.2: undefined reference to `Fl::delete_widget(Fl_Widget*)' > 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_Text_Buffer::~Fl_Text_Buffer()' > 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_Gl_Window::resize(int, int, > int, int)' > libstage.so.3.2.2: undefined reference to `Fl_Window::hide()' > libstage.so.3.2.2: undefined reference to `fl_register_images()' > libstage.so.3.2.2: undefined reference to `gl_draw(char const*)' > libstage.so.3.2.2: undefined reference to `Fl_Group::end()' > libstage.so.3.2.2: undefined reference to `Fl_Window::Fl_Window(int, int, > int, int, char const*)' > libstage.so.3.2.2: undefined reference to `Fl_PNG_Image::Fl_PNG_Image(char > const*)' > 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_Window::Fl_Window(int, int, > char const*)' > libstage.so.3.2.2: undefined reference to `Fl_Gl_Window::hide()' > libstage.so.3.2.2: undefined reference to `Fl_File_Chooser::value(int)' > libstage.so.3.2.2: undefined reference to `Fl::wait()' > libstage.so.3.2.2: undefined reference to `Fl::e_y' > libstage.so.3.2.2: undefined reference to `Fl::check()' > libstage.so.3.2.2: undefined reference to `Fl_Text_Buffer::text(char > const*)' > libstage.so.3.2.2: undefined reference to `Fl_Menu_::add(char const*, int, > void (*)(Fl_Widget*, void*), void*, int)' > libstage.so.3.2.2: undefined reference to `Fl::remove_timeout(void > (*)(void*), void*)' > libstage.so.3.2.2: undefined reference to `Fl_Window::draw()' > libstage.so.3.2.2: undefined reference to `Fl_Window::flush()' > libstage.so.3.2.2: undefined reference to `Fl_Scroll::clear()' > libstage.so.3.2.2: undefined reference to `typeinfo for Fl_Gl_Window' > libstage.so.3.2.2: undefined reference to `Fl_Window::show()' > libstage.so.3.2.2: undefined reference to > `Fl_Text_Display::buffer(Fl_Text_Buffer*)' > libstage.so.3.2.2: undefined reference to `Fl_File_Chooser::show()' > libstage.so.3.2.2: undefined reference to `Fl_Menu_::global()' > libstage.so.3.2.2: undefined reference to `Fl_Window::label(char const*)' > libstage.so.3.2.2: undefined reference to `Fl_Gl_Window::~Fl_Gl_Window()' > libstage.so.3.2.2: undefined reference to `Fl::e_state' > libstage.so.3.2.2: undefined reference to `Fl_Gl_Window::init()' > libstage.so.3.2.2: undefined reference to `Fl_Menu_::Fl_Menu_(int, int, > int, > int, char const*)' > libstage.so.3.2.2: undefined reference to `Fl::e_dy' > libstage.so.3.2.2: undefined reference to > `Fl_Widget::do_callback(Fl_Widget*, void*)' > libstage.so.3.2.2: undefined reference to `Fl::add_timeout(double, void > (*)(void*), void*)' > libstage.so.3.2.2: undefined reference to `vtable for Fl_Return_Button' > libstage.so.3.2.2: undefined reference to `Fl_Gl_Window::make_current()' > libstage.so.3.2.2: undefined reference to `Fl_Window::Fl_Window(int, int, > char const*)' > libstage.so.3.2.2: undefined reference to `fl_height()' > libstage.so.3.2.2: undefined reference to `gl_height()' > 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_File_Chooser::Fl_File_Chooser(char const*, char const*, int, char > const*)' > libstage.so.3.2.2: undefined reference to `Fl::remove_idle(void > (*)(void*), > void*)' > libstage.so.3.2.2: undefined reference to `Fl_Window::resize(int, int, > int, > int)' > libstage.so.3.2.2: undefined reference to `fl_choice(char const*, char > const*, char const*, char const*, ...)' > 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 > > > bsambit wrote: >> >> Hello, >> I am new to Player / Stage and I am hoping someone will be able to help >> me >> with the problem I am having. I have installed Player successfully and >> now >> I am trying to compile Stage on Ubuntu 9.10 after reading the install >> notes and installing autoconf, automake, libtool, xorg-dev, libglut3-dev >> and then FLTK 1.3. When I make I get the following compilation error for >> Stage 3.2.2 (copy-paste): >> >> [ 1%] Building CXX object libstage/CMakeFiles/stage.dir/region.o >> /home/robot/Downloads/Stage-3.2.2-Source/libstage/region.cc:10: error: >> reference to ‘Region’ is ambiguous >> /usr/include/X11/Xutil.h:267: error: candidates are: typedef struct >> _XRegion* Region >> /home/robot/Downloads/Stage-3.2.2-Source/libstage/region.hh:62: error: >> class Stg::Region >> /home/robot/Downloads/Stage-3.2.2-Source/libstage/region.cc:10: error: >> ISO >> C++ forbids declaration of ‘Region’ with no type >> /home/robot/Downloads/Stage-3.2.2-Source/libstage/region.cc: In function >> ‘int Region(Stg::SuperRegion*)’: >> /home/robot/Downloads/Stage-3.2.2-Source/libstage/region.cc:10: error: >> ‘int Region(Stg::SuperRegion*)’ redeclared as different kind of symbol >> /usr/include/X11/Xutil.h:267: error: previous declaration of ‘typedef >> struct _XRegion* Region’ >> /home/robot/Downloads/Stage-3.2.2-Source/libstage/region.cc:11: error: >> only constructors take base initializers >> /home/robot/Downloads/Stage-3.2.2-Source/libstage/region.cc:15: warning: >> no return statement in function returning non-void >> /home/robot/Downloads/Stage-3.2.2-Source/libstage/region.cc: At global >> scope: >> /home/robot/Downloads/Stage-3.2.2-Source/libstage/region.cc:17: error: >> reference to ‘Region’ is ambiguous >> /usr/include/X11/Xutil.h:267: error: candidates are: typedef struct >> _XRegion* Region >> /home/robot/Downloads/Stage-3.2.2-Source/libstage/region.hh:62: error: >> class Stg::Region >> /home/robot/Downloads/Stage-3.2.2-Source/libstage/region.cc:17: error: >> expected constructor, destructor, or type conversion before ‘::’ token >> make[2]: *** [libstage/CMakeFiles/stage.dir/region.o] Error 1 >> make[1]: *** [libstage/CMakeFiles/stage.dir/all] Error 2 >> make: *** [all] Error 2 >> >> >> Any help is highly appreciated. >> >> Sambit. >> >> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and >> focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Playerstage-users mailing list >> Pla...@li... >> https://lists.sourceforge.net/lists/listinfo/playerstage-users >> >> > > -- > View this message in context: > http://old.nabble.com/Problem-compiling-Stage-3.2.2-tp26503916p26516520.html > Sent from the playerstage-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > > -- View this message in context: http://old.nabble.com/Problem-compiling-Stage-3.2.2-tp26503916p26519384.html Sent from the playerstage-users mailing list archive at Nabble.com. |