Open jrjfonseca opened 4 years ago
Hmm, it should just work if you install the plugin, run the configure command, and have sourced the setup.bash script for your workspace, which it looks like you have.
To help debug, if you have the time, open a cpp file in your workspace and then type :YcmDebugInfo
in your vim. It'll show you the path to the ycm server log files. If you paste the contents of those files here, I can see what flags it tried to use for your file
here it is
I meant the contents of the log files. Open them in an editor and copy-paste the contents here after following the steps above.
I have an issue the same, please find my YCM logs below.
So i am new to ROS. And relative new do vim. So this is not an issue but more a doubt. In order to create my catkin_ws i did : After that i did: and put this in bashrc after this i created a package and runes my two first nodes one in python and the other in c++, that print the classic hello world the code of python and c++ works well and i was able to run the program, however the autocomplete from YouCompleteMe worked on python but didn't recongnize the #include <ros/ros.h> prompting 'ros/ros.h' file no found ( i am still able to compile and run this program but vim doesn't complete things) So my doubts are If i just install your plugin with a plugin manager mi issue is solved ? Do i need to run: catkin config --install -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo catkin build ? do i need to add something to my bashrc to work ? thanks a lot