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

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: ros-users
Emne: [ros-users] Linking against 32-bit libs on 64-bit system
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