Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

Could not source the setup file for ROS distro "melodic" #22

Open
scout208 opened this issue Nov 29, 2018 · 5 comments
Open

Could not source the setup file for ROS distro "melodic" #22

scout208 opened this issue Nov 29, 2018 · 5 comments

Comments

@scout208
Copy link

scout208 commented Nov 29, 2018

I configured my distro to melodic through the pop-up msg, and now I get a notification that says Could not source the setup file for ROS distro "melodic". Furthermore my #include "ros/ros.h" and #include "std_msgs/String.h" statements are showing errors.

See the image below:

image

@cnodon
Copy link

cnodon commented Jan 3, 2019

I met the same problems and looking forward to having somebody help.

@Suyixiu
Copy link

Suyixiu commented Jan 6, 2019

mabe you should try ROS VSCode Extension, it can add a .json automaticly.I met similar problem like yours and I dont know how to fix it.my code can compile successfully and run successfully but VScode still show the red err to me.and I looking forward to having somebody help.
image

@Suyixiu
Copy link

Suyixiu commented Jan 6, 2019

emmmmm,我的问题也找到了。把ros.h设置成g++的CPLUS_INCLUDE_PATH就好了。然后就不会再有烦人的红色波浪线了。emmmm这样一个小问题真是让人揪心啊,不过解决了就好哈哈哈哈。

@mythody
Copy link

mythody commented Jun 12, 2019

Hi @scout208 , were you able to fix that issue? I have the same.
I can manually make the connections to the include files of ROS and get rid of wave underlines. I can also use ROS and Catkin commands from command line. But I still have that error message, and can not use the functionality of the extension in VSCode.

@scout208
Copy link
Author

@kirillSum No, I gave up on my end.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants