#291 build fails on OS X in playerc Ruby bindings

trunk
closed-out-of-date
player (137)
5
2014-02-18
2009-07-18
No

Player trunk build fails in the libplayerc Ruby bindings on OS X, probably because OS X needs a SWIG library to be explicitly linked (OS X is fussy that way). Errors:

Scanning dependencies of target playercr
[ 21%] Building C object client_libs/libplayerc/bindings/ruby/CMakeFiles/playercr.dir/playercRUBY_wrap.o
/Users/vaughan/PS/player/build/client_libs/libplayerc/bindings/ruby/playercRUBY_wrap.c: In function ‘_wrap_player_laser_set_filter_config_t_parameters_set’:
/Users/vaughan/PS/player/build/client_libs/libplayerc/bindings/ruby/playercRUBY_wrap.c:13809: warning: implicit declaration of function ‘SWIG_exception’
Linking C shared module playercr.so
Undefined symbols:
"_SWIG_exception", referenced from:
__wrap_player_laser_set_filter_config_t_parameters_set in playercRUBY_wrap.o
__wrap_player_localize_hypoth_t_cov_set in playercRUBY_wrap.o
__wrap_player_localize_set_pose_t_cov_set in playercRUBY_wrap.o
__wrap_playerc_laser_pose_set in playercRUBY_wrap.o
__wrap_playerc_laser_size_set in playercRUBY_wrap.o
__wrap_playerc_laser_robot_pose_set in playercRUBY_wrap.o
__wrap_playerc_localize_particle_pose_set in playercRUBY_wrap.o
__wrap_playerc_localize_mean_set in playercRUBY_wrap.o
__wrap_playerc_localize_set_pose in playercRUBY_wrap.o
__wrap_playerc_localize_set_pose in playercRUBY_wrap.o
__wrap_playerc_map_origin_set in playercRUBY_wrap.o
__wrap_playerc_position1d_pose_set in playercRUBY_wrap.o
__wrap_playerc_position1d_size_set in playercRUBY_wrap.o
__wrap_playerc_position2d_pose_set in playercRUBY_wrap.o
__wrap_playerc_position2d_size_set in playercRUBY_wrap.o
__wrap_playerc_position3d_pose_set in playercRUBY_wrap.o
__wrap_playerc_position3d_size_set in playercRUBY_wrap.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [client_libs/libplayerc/bindings/ruby/playercr.so] Error 1
make[1]: *** [client_libs/libplayerc/bindings/ruby/CMakeFiles/playercr.dir/all] Error 2
make: *** [all] Error 2

Discussion

  • Richard Vaughan

    Richard Vaughan - 2009-07-18

    I have disabled building the ruby bindings until this is fixed, to avoid breaking the build in OS X

     
  • Nobody/Anonymous

    I may have solved. Try SVN rev8066 or newer to test if they are working and please report. To close this or to continue working on the problem.

     
  • Toby Collett

    Toby Collett - 2009-08-04

    Is this fixed now? should we close this bug?

     
  • Rich Mattes

    Rich Mattes - 2014-02-18
    • status: open --> closed-out-of-date
    • assigned_to: Brian Gerkey --> Rich Mattes
    • Group: --> trunk
     
  • Rich Mattes

    Rich Mattes - 2014-02-18

    No response. Closing.

     

Log in to post a comment.