Ask Your Question

Revision history [back]

My guess is that you do not have assimp installed. I just added the corresponding rosdep rule and pushed it to cram_highlevel. Try installing it with:

sudo apt-get install libassimp-dev

If that doesn't help, please edit your answer to provide more information. Please provide more lines around the actual error, maybe it contains something useful that helps debugging the problem. Also, please provide information such as the ROS version you are using and the version of Ubuntu and make sure you have a look at the support page.

My guess is that you do not have assimp installed. I just added the corresponding rosdep rule and pushed it to cram_highlevel. Try installing it with:

sudo apt-get install libassimp-dev

If that doesn't help, please edit your answer to provide more information. Please provide more lines around the actual error, maybe it contains something useful that helps debugging the problem. Also, please provide information such as the ROS version you are using and the version of Ubuntu and make sure you have a look at the support page.

Update: Do you maybe have openrave installed? Its requires version 3 of assimp which unfortunately conflicts with version 2 provided by Ubuntu and used by ROS Fuerte. If you need to use assimp3, apply the following patch in cram_highlevel:

diff --git a/cram_physics_utils/src/assimp-grovel.lisp b/cram_physics_utils/src/assimp-grovel.lisp
index e1b6413..8c43062 100644
--- a/cram_physics_utils/src/assimp-grovel.lisp
+++ b/cram_physics_utils/src/assimp-grovel.lisp
@@ -28,11 +28,11 @@
 ;;; POSSIBILITY OF SUCH DAMAGE.
 ;;;

-(include "assimp/assimp.h")
-(include "assimp/aiMesh.h")
-(include "assimp/aiScene.h")
-(include "assimp/aiMaterial.h")
-(include "assimp/aiPostProcess.h")
+(include "assimp/types.h")
+(include "assimp/mesh.h")
+(include "assimp/scene.h")
+(include "assimp/material.h")
+(include "assimp/postprocess.h")

 (in-package :physics-utils)

Just copy-paste it to a file, e.g. ~/assimp3.patch. Then execute the following commands:

roscd cram_highlevel
patch -p1 < ~/assimp3.patch