Full Remote Mode with ROS (Robot Operating System): Cannot load CMakeFile

已回答

Hey JetBrains-Community,

I try to develop a ROS-package on a remote server. I set up the server like this: https://www.jetbrains.com/help/clion/remote-projects-support.html 

I'm stuck at this step: https://www.jetbrains.com/help/clion/remote-projects-support.html#WorkWithRemote

CLion probably cannot create a valid debug configuration, because it cannot load the CMakeFile without Error:

CMake Error at CMakeLists.txt:90 (message):
find_package(catkin) failed.

Is there a way to tell CLion to execute the devel/setup.bash file before loading the CMake?

 

Many thanks

 

1
Avatar
Permanently deleted user

I could also use some help with a similar situation. My Remote Host toolchain is configured correctly, in the sense of successfully connecting to the remote host, but upon connecting through SSH I need to to run a bash script to setup the environment in order to find CMake, Make, C / C++ Compiler, etc. What is the proper way to run a bash script to configure the environment so the Remote Host toolchain can correctly find rsync, CMake, Make, C / C++ Compiler, etc.

Note: I have had success using ~/.ssh/authorized_keys and running the command there but the Remote Host toolchain always fails trying to find rsync and CMake. Even running Tools -> Start SSH Session within CLion works correctly, its the Remote Host toolchain that has problems finding all the necessary programs from the environment.

Any help would be much appreciated!

Thanks,

Josh

0

请先登录再写评论。