Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Linking issue with assimp when compiling from source on ARM #12

Closed
bit-pirate opened this issue Mar 14, 2013 · 7 comments
Closed

Linking issue with assimp when compiling from source on ARM #12

bit-pirate opened this issue Mar 14, 2013 · 7 comments

Comments

@bit-pirate
Copy link

When doing so, I got this error:

/media/pendrive/ros/groovy/catkin_workspace/devel_isolated/collada_urdf/lib/libcollada_urdf.so: undefined reference to `vtable for Assimp::IOSystem'
/media/pendrive/ros/groovy/catkin_workspace/devel_isolated/collada_urdf/lib/libcollada_urdf.so: undefined reference to `typeinfo for Assimp::IOSystem'
collect2: ld returned 1 exit status
@po1
Copy link

po1 commented Mar 14, 2013

The trick (&patch) that I describe on the embedded sig works for me:
https://groups.google.com/d/msg/ros-sig-embedded/26XlDtZhyNs/OexZAx6BCBcJ

I will attach a patch here if you can confirm it works for you

@bit-pirate
Copy link
Author

I'm just installing libassimp3 and will test your patch right when that is done. Will report back.

@po1
Copy link

po1 commented Mar 14, 2013

Note: there have been reports of successful compilation after installing libassimp from source. My patch is a quick workaround to enable linking against libraries provided by distributions (ubuntu, debian). If you only need to compile from source, then you should probably not need my patch. If you want to link against the debian packaged library (for example if you want to produce a debian package yourself), you will most likely need it.

@bit-pirate
Copy link
Author

I can confirm, that compiling from source (with libassimp3) installed works fine.

@jacquelinekay
Copy link
Contributor

I'm closing this for now since you found a workaround. If someone would like to pull request the patch for ARM support into this repository, I will consider it. However, the issue seems to be related to Assimp and not collada_urdf specifically, since the arm hack includes adding a function to the Assimp namespace, so I don't believe the issue is relevant to this package specifically.

@MHassanNadeem
Copy link

Following is the path to the collada_urdf.cpp file:
/home/pi/ros_catkin_ws/src/robot_model/collada_urdf/src/collada_urdf.cpp if you are following the 'Installing ROS Indigo on the Raspberry Pi' steps on the wiki.ros.org.

@ousaz
Copy link

ousaz commented Apr 11, 2016

for me the patch works fine thanks a lot guys 💃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants