[ros-users] Linking against 32-bit libs on 64-bit system

Patrick Bouffard bouffard at eecs.berkeley.edu
Thu Dec 23 10:08:53 UTC 2010


I need to link against some third-party libraries which I have only in
binary form, and which are 32-bit. If I just try to run make, I get
errors like:

  /usr/bin/ld: skipping incompatible
/home/bouffard/ros/pbouffard-ros-pkg/mastjx_ucb_jpl/mastjx_vision/lib/libcmod.a
when searching for -lcmod
  /usr/bin/ld: cannot find -lcmod

.. for each of these libs.

I'm hoping it's just a simple flag in CMakeLists.txt. Does anyone know
how to do this?

Thanks,
Pat



More information about the ros-users mailing list