0
$\begingroup$

Rosanswers logo

hello all,

part of the .zshrc file as following:

source /opt/ros/indigo/setup.zsh
source /home/adminyin/catkin_ws/devel/setup.zsh
source /home/adminyin/rosws/devel/setup.zsh

when source .zshrc at terminal, it does nothing

only source /opt/ros/indigo/setup.zsh or other .zsh file manually can take effect

could someone tell me what's wrong about this?

It was occured when I use qtcreator open my ROS package, but failed at the CMake execution step


Originally posted by yin on ROS Answers with karma: 58 on 2016-11-28

Post score: 0


Original comments

Comment by yin on 2016-11-28:
➜ ~ source ./.zshrc
➜ ~ printenv | grep ROS ROS_DISTRO=indigo ROS_PACKAGE_PATH=/home/adminyin/rosws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks

it was over write?

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

it was over write?

Yes. By default, setup.* files will overwrite the environment set by the previous one you sourced.


Originally posted by gvdhoorn with karma: 86574 on 2016-11-28

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.