-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake error with the latest urdfdom #37
Comments
Error message comes from: It looks like the |
Simply deleting the generator expressions from line 119 of I don't know much about Cmake so I don't know what kind of implications it might have in the long run, but it might work as a quick fix until a proper solution is found. |
Removing line 119 does not work for me:
|
I had the same error today. The libraries set in the cmake file do exist in my In conclusion, replacing line 119 with
works for me. |
That fix also worked for me. I just replaced line 119 with the proposal of @felixkol |
Hello! I'm trying to reproduce the problem but I failed. I've created a workspace with urdfdom (master branch) and urdf (melodic-devel branch) and I was not able to trigger the problem. Removing urdfdom from the colcon workspace did not help either. May I ask: which kind of installation are you using? Thanks! |
@j-rivero I'm running arch linux. The error occured using this AUR package. I think the error occured installing this or this dependencie. |
@j-rivero I think I ran into the same situation as @felixkol because I'm also using Arch Linux and the error occurred during the AUR package installation with the command |
I'm on Archlinux too. My fix is to checkout |
Could anyone point me to a full build log in Arch or other failing platform? I'm unable to reproduce it in Ubuntu Focal using colcon or catkin compiling the sources: urdfdom (master branch), urdf (melodic-devel branch) and joint_limits_interface (noetic-devel). |
Well, I already posted the whole build output, what's your CMake version? Maybe it's coming from there? There is also the pkgbuild that's worth checking: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ros-noetic-joint-limits-interface |
Ok, I just have a question, are you sure generator expression are allowed in Edit: Ok, I'm just tired, that's in the comment above, the catkin template should just ignore generator expression |
AUR's ros-noetic-urdf now patched with |
how to fix this ugly judgement permanently? if I upgrade some depend lib and rebuild ros, this error occurs again. |
hi, @AchmadFathoni , your sed command just remove the prefix of lib regex expression and leave suffix ">" there. |
@j-rivero, the issue is triggered only if both release and debug versions of the liburdfdom_*.so libraries are found: I filed a PR to fix this issue: ros/catkin#1181 |
With the latest version of urdfdom (3.0.0) I get this CMake error when trying to compile joint-limits-interface:
The text was updated successfully, but these errors were encountered: