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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] Linking against 32-bit libs on 64-bit system
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
<> 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
>
> https://code.ros.org/mailman/listinfo/ros-users
>