That patch has already been applied to the source tree so you should not be seeing issues with it.

Toby

2009/7/31 Suraj Swami <suraj.g.swami@gmail.com>

Hi Toby,

I checked this trouble shooting step. But Stage want start.

I searched the net again and got this post.



I had the same problem. It's related to Stage now statically linking to
fltk. Switching it back to dynamic linking allowed Stage to compile
succesfully, and I haven't had time to investigate why static linking
doesn't work. There's a patch on the tracker that adds an option to
choose between static and dynamic linking.

Geoff


The link to this patch is   sourceforge (dot) net/tracker/index (dot) php?func=detail&aid=2154468&group_id=42445&atid=433166

But I don't know how to use this patch. Please guide me how do I  go about solving this issue.

Thanking you.

Suraj Swami.
 

======================================================================================


You need to have installed libfltk1.1-dev and then you may need to remove
CMakeCache.txt, before you run cmake again. It is fine for websim to not be
found.

Toby

2009/7/31 Suraj Swami <suraj.g.swami@gmail.com>


>
> Hi,
>
>
> I did the following modification and tried again.
>
> - Removed fltk -1.1.1 and installed fltk-1.1.9.ON doing make this helped me
> to reach to 63 % of the installation. But again some new errors popped up. (
> Messages attached below.)
>
> - I am using  Ubuntu 9.04 - the Jaunty Jackalope - released in April 2009.
> and with continues updates.
>
> - I did not find a link to install WebSim. Can this be the cause to the
> issue.
>
> If you need some more information please let me know.
>
>
> Outputs of  Cmake . and Make  added below.
>
>
>
> root@suraj-laptop:~/Player_Stage/Stage-3.1.0-Source# cmake .
> -- Stage version 3.1.0
> -- Operating system is Linux
> -- Build type RELEASE
> -- Checking for libtool
> -- Checking for required libraries...
> --   * FLTK version 1.1.9 detected via /usr/local/bin/fltk-config
> -- Checking for optional libraries...
> --   * Player version 3.0.0-rc1 detected at /usr/local
> -- checking for one of the modules 'websim'
>   * WebSim not detected.
> -- Installation path CMAKE_INSTALL_PREFIX=/usr/local
> -- Configuring libstage
> -- Configuring libstageplugin
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/suraj/Player_Stage/Stage-3.1.0-Source
> root@suraj-laptop:~/Player_Stage/Stage-3.1.0-Source# cmake . >
> test_install.txt
>   * WebSim not detected.
> root@suraj-laptop:~/Player_Stage/Stage-3.1.0-Source# cmake .
> -- Stage version 3.1.0
> -- Operating system is Linux
> -- Build type RELEASE
> -- Checking for libtool
> -- Checking for required libraries...
> --   * FLTK version 1.1.9 detected via /usr/local/bin/fltk-config
> -- Checking for optional libraries...
> --   * Player version 3.0.0-rc1 detected at /usr/local
> -- checking for one of the modules 'websim'
>   * WebSim not detected.
> -- Installation path CMAKE_INSTALL_PREFIX=/usr/local
> -- Configuring libstage
> -- Configuring libstageplugin
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/suraj/Player_Stage/Stage-3.1.0-Source
>
>
>
>
> ON doing make I got the following output.
>
> root@suraj-laptop:~/Player_Stage/Stage-3.1.0-Source# make
> [  1%] Building CXX object libstage/CMakeFiles/stage.dir/ancestor.o
> In file included from /usr/include/c++/4.3/ext/hash_map:64,
>                  from
> /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/stage.hh:50,
>                  from
> /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/ancestor.cc:1:
> /usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning
> This file includes at least one deprecated or antiquated header which may be
> removed without further notice at a future date. Please use a non-deprecated
> interface with equivalent functionality instead. For a listing of
> replacement headers and interfaces, consult the file backward_warning.h. To
> disable this warning use -Wno-deprecated.
> [  3%] Building CXX object libstage/CMakeFiles/stage.dir/block.o
> In file included from /usr/include/c++/4.3/ext/hash_map:64,
>                  from
> /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/stage.hh:50,
>                  from
> /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.hh:8,
>                  from
> /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/block.cc:2:
> /usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning
> This file includes at least one deprecated or antiquated header which may be
> removed without further notice at a future date. Please use a non-deprecated
> interface with equivalent functionality instead. For a listing of
> replacement headers and interfaces, consult the file backward_warning.h. To
> disable this warning use -Wno-deprecated.
> ^[[A^[[A[  4%] Building CXX object
> libstage/CMakeFiles/stage.dir/blockgroup.o
> In file included from /usr/include/c++/4.3/ext/hash_map:64,
>                  from
> /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/stage.hh:50,
>                  from
> /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/blockgroup.cc:2:
> /usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning
> This file includes at least one deprecated or antiquated header which may be
> removed without further notice at a future date. Please use a non-deprecated
> interface with equivalent functionality instead. For a listing of
> replacement headers and interfaces, consult the file backward_warning.h. To
> disable this warning use -Wno-deprecated.
> .
> .
> .( Successfully installed this portion)
> .
>
> [ 61%] Built target stage
> [ 63%] Building CXX object libstage/CMakeFiles/stagebinary.dir/main.o
> In file included from /usr/include/c++/4.3/ext/hash_map:64,
>                  from
> /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/stage.hh:50,
>                  from
> /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/main.cc:9:
> /usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning
> This file includes at least one deprecated or antiquated header which may be
> removed without further notice at a future date. Please use a non-deprecated
> interface with equivalent functionality instead. For a listing of
> replacement headers and interfaces, consult the file backward_warning.h. To
> disable this warning use -Wno-deprecated.
> Linking CXX executable stage
> libstage.so.3.1.0: undefined reference to `Fl_File_Chooser::value(int)'
> libstage.so.3.1.0: undefined reference to `fl_alert(char const*, ...)'
> libstage.so.3.1.0: undefined reference to `Fl_Shared_Image::get(char
> const*, int, int)'
> libstage.so.3.1.0: undefined reference to `Fl::repeat_timeout(double, void
> (*)(void*), void*)'
> libstage.so.3.1.0: undefined reference to `vtable for Fl_Box'
> libstage.so.3.1.0: undefined reference to `Fl_Window::size_range_()'
> libstage.so.3.1.0: undefined reference to `Fl_File_Chooser::shown()'

> libstage.so.3.1.0: undefined reference to `Fl_File_Chooser::ok_label(char
> const*)'
> libstage.so.3.1.0: undefined reference to `Fl_PNG_Image::Fl_PNG_Image(char
> const*)'
> libstage.so.3.1.0: undefined reference to
> `Fl_Text_Buffer::Fl_Text_Buffer(int)'
> libstage.so.3.1.0: undefined reference to `Fl_Group::begin()'
> libstage.so.3.1.0: undefined reference to `Fl::scheme(char const*)'
> libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::draw_overlay()'
> libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::~Fl_Gl_Window()'
> libstage.so.3.1.0: undefined reference to `Fl_Menu_::Fl_Menu_(int, int,
> int, int, char const*)'
> libstage.so.3.1.0: undefined reference to
> `Fl_Text_Buffer::~Fl_Text_Buffer()'
> libstage.so.3.1.0: undefined reference to `Fl::check()'
> libstage.so.3.1.0: undefined reference to `Fl_Window::Fl_Window(int, int,
> char const*)'
> libstage.so.3.1.0: undefined reference to `vtable for Fl_Gl_Window'
> libstage.so.3.1.0: undefined reference to `gl_font(int, int)'
> libstage.so.3.1.0: undefined reference to `Fl_File_Chooser::show()'
> libstage.so.3.1.0: undefined reference to `Fl_Menu_::global()'
> libstage.so.3.1.0: undefined reference to `Fl_Shared_Image::release()'
> libstage.so.3.1.0: undefined reference to `Fl_Window::hide()'
> libstage.so.3.1.0: undefined reference to `Fl_Widget::label(char const*)'
> libstage.so.3.1.0: undefined reference to `Fl_Window::Fl_Window(int, int,
> int, int, char const*)'
> libstage.so.3.1.0: undefined reference to
> `Fl_File_Chooser::~Fl_File_Chooser()'
> libstage.so.3.1.0: undefined reference to
> `Fl_Check_Button::Fl_Check_Button(int, int, int, int, char const*)'
> libstage.so.3.1.0: undefined reference to
> `Fl_Widget::default_callback(Fl_Widget*, void*)'
> libstage.so.3.1.0: undefined reference to `Fl::e_keysym'
> libstage.so.3.1.0: undefined reference to `Fl::delete_widget(Fl_Widget*)'
> libstage.so.3.1.0: undefined reference to `Fl_Button::Fl_Button(int, int,
> int, int, char const*)'
> libstage.so.3.1.0: undefined reference to `Fl_Window::flush()'
> libstage.so.3.1.0: undefined reference to `Fl::e_dy'
> libstage.so.3.1.0: undefined reference to `gl_draw(char const*)'
> libstage.so.3.1.0: undefined reference to `typeinfo for Fl_Window'
> libstage.so.3.1.0: undefined reference to `Fl_Scroll::clear()'
> libstage.so.3.1.0: undefined reference to `vtable for Fl_Return_Button'
> libstage.so.3.1.0: undefined reference to `Fl_Widget::Fl_Widget(int, int,
> int, int, char const*)'
> libstage.so.3.1.0: undefined reference to `Fl_Window::handle(int)'
> libstage.so.3.1.0: undefined reference to `Fl::add_timeout(double, void
> (*)(void*), void*)'
> libstage.so.3.1.0: undefined reference to `Fl_Window::draw()'
> libstage.so.3.1.0: undefined reference to `Fl::e_y'
> libstage.so.3.1.0: undefined reference to `Fl_Text_Buffer::insert(int, char
> const*)'
> libstage.so.3.1.0: undefined reference to `Fl_Menu_::add(char const*, int,
> void (*)(Fl_Widget*, void*), void*, int)'
> libstage.so.3.1.0: undefined reference to `Fl_Window::label(char const*)'
> libstage.so.3.1.0: undefined reference to `Fl_Widget::redraw()'
> libstage.so.3.1.0: undefined reference to `Fl_Group::find(Fl_Widget const*)
> const'
> libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::resize(int, int,
> int, int)'
> libstage.so.3.1.0: undefined reference to `Fl_Scroll::Fl_Scroll(int, int,
> int, int, char const*)'
> libstage.so.3.1.0: undefined reference to `Fl::e_state'
> libstage.so.3.1.0: undefined reference to `Fl_Window::Fl_Window(int, int,
> char const*)'
> libstage.so.3.1.0: undefined reference to `gl_draw(char const*, int, int,
> int, int, Fl_Align)'
> libstage.so.3.1.0: undefined reference to `vtable for Fl_Menu_Bar'
> libstage.so.3.1.0: undefined reference to `gl_height()'
> libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::make_current()'
> libstage.so.3.1.0: undefined reference to `Fl::e_number'
> libstage.so.3.1.0: undefined reference to `Fl_Group::end()'
> libstage.so.3.1.0: undefined reference to `fl_register_images()'
> libstage.so.3.1.0: undefined reference to
> `Fl_File_Chooser::Fl_File_Chooser(char const*, char const*, int, char
> const*)'
> libstage.so.3.1.0: undefined reference to `fl_height()'
> libstage.so.3.1.0: undefined reference to `typeinfo for Fl_Gl_Window'
> libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::invalidate()'
> libstage.so.3.1.0: undefined reference to `Fl_Button::value(int)'
> libstage.so.3.1.0: undefined reference to `gl_width(char const*)'
> libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::flush()'
> libstage.so.3.1.0: undefined reference to
> `Fl_Text_Display::buffer(Fl_Text_Buffer*)'
> libstage.so.3.1.0: undefined reference to `Fl_Window::~Fl_Window()'
> libstage.so.3.1.0: 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
> root@suraj-laptop:~/Player_Stage/Stage-3.1.0-Source#
>
>
> Thankyou in advance.
>
> Suraj Swami.
>
>


------------------------------------------------------------------------------
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
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users