-
Notifications
You must be signed in to change notification settings - Fork 104
collada_to_urdf.cpp fails to compile #44
Comments
Thanks for the report, but I need some more information. What version of assimp are you using? How did you install assimp? (From source or from a package manager?) What OS are you on? What version of robot_model are you trying to build from source? (commit hash, tag, or released source?) |
Sorry for not providing them with the original report. |
Ubuntu Precise uses assimp v2: http://packages.ubuntu.com/precise/libassimp-dev This is likely something that changed from assimp 2 and 3. However, everything seems to work for my mac where I use assimp 3.0.1270 also, let me try and reproduce the error on my mac. |
The code which causes the error is inside a
block, so wouldn't cause issues on Ubuntu Precise. |
This builds fine on my mac, but can you post the output of the CMake configure step for
But my package manager reports:
Which totally do not match... |
The cmake configure output is:
The version 3.0.255 you get is due to some patch in homebrew (https://github.com/mxcl/homebrew/blob/master/Library/Formula/assimp.rb#L37). Can you grep for "AI_CONFIG_IMPORT_COLLADA_IGNORE_UP_DIRECTION" in your assimp header files and check where it's defined? It doesn't seem to be present anywhere in the source package. |
Ah, I am not using the latest version of robot_model, let me update. |
Looks like the bug was introduced in 0bdfef0 I would guess they just didn't test the |
I can reproduce it on OS X with the latest source:
|
This is a regresssion between 1.10.15 and 1.10.16. This is breaking the hydro builds on quantal and raring http://www.ros.org/debbuild/hydro.html?q=collada_urdf http://jenkins.ros.org/job/ros-hydro-collada-urdf_binarydeb_quantal_amd64/68/console /tmp/buildd/ros-hydro-collada-urdf-1.10.16-0quantal-20131121-1755/src/collada_to_urdf.cpp: In function 'void assimp_file_export(std::string, std::string, std::string)': If we don't have a suggestion for a quick fix I will roll back the version in the rosdistro soon. |
Sorry about this guys, I should have checked this in more detail.
|
They are code for assimp trunk.
|
Released as |
The "AI_CONFIG_IMPORT_COLLADA_IGNORE_UP_DIRECTION" property was added in Assimp's git master branch[1] but is not present in any of the released versions.
[1] assimp/assimp@5470f5f
The text was updated successfully, but these errors were encountered: