-
Notifications
You must be signed in to change notification settings - Fork 48
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
Fail to build cisst with catkin build and cmake versions >= 3.11 on Ubuntu 16.04 #74
Comments
Just to be sure, are you re-using a build tree generated with an older or different version of CMake? Or are you doing a full catkin clean before building? |
I tried cloning and building dVRK 1.7.1 from scratch, cisst failed to be built.
Feel free to reprodcue this issue after updating cmake
|
I reproduced the issue on Ubuntu 19.04 with CMake 3.13.4 (default) without ROS/Catkin so it's clearly CMake related. I haven't fixed it yet but it seems there's a dependency missing between the automatically generated header files (cisstDataGenerator) and the Python SWIG wrappers. A temporary work around is to go in the |
@vincent-hui , can you try c83c339? |
@adeguet1 I tried c83c339 with cmake 3.11.4, 3.13.5 and 3.14.5 Error messages from cmake 3.11.4
|
@vincent-hui, do you have a strong requirement for CMake 3.11.4? Or do you just need a recent CMake and version 3.13 or 3.14 would meet your requirements? If 3.11.4 is not required, I'd rather spend my time on dVRK features instead of this :-). To note, it looks like none of the Ubuntu distributions come with 3.11 so users are not too likely to run into this issue. Also for the record, here is the ideal dependency graph:
In practice, my latest patch ensures that the library (e.g.
The dependencies are stronger than needed so compilation might be a bit slower ( |
@adeguet1 Thank you, I just need the latest stable cmake. |
Had the same problem with cmake 3.13.3 but it was fixed with c83c339 |
Got the same issue on Ubuntu |
After I had updated my cmake, when I built dVRK 1.7.1 with catkin build, I found that cisst failed to be built. I tried several cmake versions, I found that when I used cmake 3.11 or higher versions, cisst failed to be built.
Error messages
The text was updated successfully, but these errors were encountered: