#349 inking error stage 4.0.1 in fltk

trunk
open
nobody
stage (111)
5
2014-10-06
2010-12-24
No

Hello All,

I need to install stage 4.0.1 and i'm getting the following errors. i have already installed fltk 1.3 and using ubuntu 10 . but my computer is a 32 bit one( Inter atom). I heard there there are errors due to this reason as well. i have tried almost all the solutions given in the web. please help me in this issue.

Linking CXX executable stage
CMakeFiles/stagebinary.dir/main.o: In function `main':
main.cc:(.text+0x3cb): undefined reference to `Fl::run()'
libstage.so.4.0.1: undefined reference to `Fl_File_Chooser::value(int)'
libstage.so.4.0.1: undefined reference to `fl_alert(char const*, ...)'
libstage.so.4.0.1: undefined reference to `Fl_Shared_Image::get(char const*, int, int)'
libstage.so.4.0.1: undefined reference to `Fl::repeat_timeout(double, void (*)(void*), void*)'
libstage.so.4.0.1: undefined reference to `vtable for Fl_Box'
libstage.so.4.0.1: undefined reference to `Fl_Window::size_range_()'
libstage.so.4.0.1: undefined reference to `Fl_File_Chooser::shown()'
libstage.so.4.0.1: undefined reference to `Fl_Text_Buffer::text(char const*)'
libstage.so.4.0.1: undefined reference to `fl_old_shortcut(char const*)'
libstage.so.4.0.1: undefined reference to `Fl_Text_Display::Fl_Text_Display(int, int, int, int, char const*)'
libstage.so.4.0.1: undefined reference to `Fl::e_x'
libstage.so.4.0.1: undefined reference to `Fl::remove_timeout(void (*)(void*), void*)'
libstage.so.4.0.1: undefined reference to `Fl_Gl_Window::show()'
libstage.so.4.0.1: undefined reference to `Fl_Gl_Window::hide()'
libstage.so.4.0.1: undefined reference to `Fl_Window::resize(int, int, int, int)'
libstage.so.4.0.1: undefined reference to `Fl::wait()'
libstage.so.4.0.1: undefined reference to `fl_choice(char const*, char const*, char const*, char const*, ...)'
libstage.so.4.0.1: undefined reference to `Fl_Widget::window() const'
libstage.so.4.0.1: undefined reference to `Fl_Gl_Window::init()'
libstage.so.4.0.1: undefined reference to `png_init_io'
libstage.so.4.0.1: undefined reference to `Fl_File_Chooser::ok_label(char const*)'
libstage.so.4.0.1: undefined reference to `Fl_PNG_Image::Fl_PNG_Image(char const*)'
libstage.so.4.0.1: undefined reference to `Fl_Group::begin()'
libstage.so.4.0.1: undefined reference to `Fl::scheme(char const*)'
libstage.so.4.0.1: undefined reference to `Fl_Gl_Window::draw_overlay()'
libstage.so.4.0.1: undefined reference to `Fl_Gl_Window::~Fl_Gl_Window()'
libstage.so.4.0.1: undefined reference to `Fl_Menu_::Fl_Menu_(int, int, int, int, char const*)'
libstage.so.4.0.1: undefined reference to `Fl_Text_Buffer::~Fl_Text_Buffer()'
libstage.so.4.0.1: undefined reference to `Fl::check()'
libstage.so.4.0.1: undefined reference to `Fl_Window::Fl_Window(int, int, char const*)'

Discussion

  • Rich Mattes
    Rich Mattes
    2011-01-05

    Do you have fltk-dev installed?

     
  • I have the same error on Gentoo Linux (64bit) with stage-4.0.0 and fltk-1.1.10. Is there any solution to this?

     
  • Rich Mattes
    Rich Mattes
    2011-03-22

    Can you try to uncomment the line

    #set_target_properties( stagebinary PROPERTIES LINK_FLAGS "${FLTK_LDFLAGS}" )

    in libstage/CMakeLists.txt

     
  • Rich Mattes
    Rich Mattes
    2014-02-16

    • labels: --> stage
    • Group: --> trunk