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

Blaise Gassend blaise at willowgarage.com
Thu Dec 23 17:12:19 UTC 2010


You are going to have to build your whole app and all its libraries in 32-bits.

Last time we needed to do this, we set up a chrooted 32-bit
environment that we populated using debootstrap. If you come up with a
simpler way, let us know.

On Thu, Dec 23, 2010 at 2:08 AM, Patrick Bouffard
<bouffard at eecs.berkeley.edu> wrote:
> 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
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>



More information about the ros-users mailing list