ROS Kinetic 64Bit with 32Bit library
Edit6: I found now the way to download the 32bit libraries and i tried it with the libroscpp. and it works but now he needs much more libraries. Is there a way to download all libraries with one package?!
I tried to download the libroscpp.so and it works fine with the followin commands:
- apt-get download ros-kinetic-roscpp:i386
- Extract the archieve and get the lib from the data.tar.
Then I used the lib for compiling a node an now he needs all the other libraries like librosconsole.so. So my question is if there is a easy way to download all 32bit libraries with one step?!
Hi I started some days ago with ROS. I'm using a 64bit Ubuntu system and the installation of ROS Kinetic works fine and I'm able to build an node and to start the node. Now I need to use a library which only exists in a 32Bit version. I use the linker flag -m32 to use the library but then I have the problem with the 64Bit ROS libraries. So I need the ROS libraries in a 32Bit version but i found currently no way to install them or to build them myself! I wrote in the forum that this problem was already discussed but i found no working answer. Has someone a solution for this problem? THANKS
Edit: Hi Thanks for the reply. I need a system with a 64bit version of Kinetic for the ROS nodes but one node is a 32 bit node thats the reason why I need the 32 libraries. I compiled it myself and it works perfect for 64 bit. I tried to compile the 32 bit version but it doesn't work. I used:
./src/catkin/bin/catkin_make_isolated --cmake-args -CMAKE_CXX_FLAGS="-m32" --install
How does it work correctly?!
Edit 2: Hi I have a already running ROS system ob a normal Ubuntu and everthing runs with 64 bit. Now I have to integrate another ROS node that uses a 32 bit library. I understand that the node must be a 32 bit node otherwise I can not use the 32bit library. But the node must run in the 64bit environment. So I need the ROS librarys in 32bit to link them against the 32bit node. I downloaded the source code but when I try the commanline:
./src/catkin/bin/catkin_make_isolated --cmake-args -CMAKE_CXX_FLAGS="-m32" --install
I got the error message
CMake Error: Error processing file: MAKE_C_FLAGS=-m32
So I am currently only able to compile the 64bit version!
Edit 3: Hi I know that there are 32Bit Libs for the kinetic version but I need the 64bit Version on my system and at the same time the 32bit version. Is this possible?! I tried to install the 32 bit version but it didn't work.
enter@ubuntu:~/Downloads/ros_catkin_ws$ sudo apt-get install ros-kinetic-desktop-full:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you ...