You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mohammad Mahdi Rahimi edited this page Mar 18, 2019
·
1 revision
Let assume you've done all the steps in Environment setup and getting starts.
Now we want to set up our Clion to works with the Parsian SSL Project.
Build the project from scratch
cd <path-to-parsian-workspace>
cd src
cd ssl
catkin build -j `nproc`
Source setup.zsh in ~/.zshrc
This will help zsh to find parsian project sources and executable files.
echo "source <path-to-parsian-workspace>/devel/setup.zsh" >> ~/.zshrc
Open Clion via Terminal (ZSH)
You have to open Clion with the terminal to load the whole environment setup with clion.
choose one of the packages with cmakes like parsian_ai or parsian_agent
Run CMAKE
When clion load the project, go to project setting -> CMake and then, change the cmake build path to <path-to-parsian-workspace>/build/<package_name>
Add Release and Debug to Cmake moded.
Apply and Save settings.
Run Main Node
Each package may contain one or more nodes for execution or test after cmake has done successfully, you can run any node that you want from Clion.