-
Notifications
You must be signed in to change notification settings - Fork 35
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
Cannot build in CLion #2
Comments
It‘s a bug with CMake 3.13 bundled with CLion and Catkin, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915148. Try setting CLion to use the lower version system CMake, or apply this to your Catkin install: https://github.com/ros/catkin/pull/975/files |
Much thanks! I've met the same problem and setting CLion to use a lower version system CMake works for me. I'm using ubuntu 16.04, and the system CMake is 3.5.1, whose executable file is located in /usr/bin. The detailed operation for reference is: Save this new toolchain, and come to File --- Settings --- Build, Execution, Deployment ---CMake. Apply the above operations and the whole system works fine. Besides, I've also noticed that, if CLion is installed in /opt, this project may not be properly compiled because of the permission issue. But after reinstalling CLion to /home and configure the CMake toolchain to a lower version, everything works fine. |
I fixed the problem above, but i got another ( i have same environment with yours):
that means i have too older version of cmake? UPDATE: |
Hi, thanks for the link you provided. May I ask how to apply those changes to my catkin install? I have already had catkin installed. |
Dear
which is prefixed in the source directory. can you find some solution? |
remove the following statement #install( |
Hi,
I was trying to build the code in CLion. However, it gives me the following errors:
The build works in the command line but not in CLion. Can you help me?
Thank you!
The text was updated successfully, but these errors were encountered: