Skip to content

Setup Clion

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.

  1. Build the project from scratch
cd <path-to-parsian-workspace>
cd src
cd ssl
catkin build -j `nproc`
  1. 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

  2. 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

  3. 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.

  4. 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.

Clone this wiki locally