youBot Hello World Demo and CMake Error at CMakeLists.txt:41 (TARGET_LINK_LIBRARIES): [closed]
I am receiving an error when attempting to follow the Readme directions to build the youBot_Hello_World demo.
The youBot is functional, and I can run the youBot using self-built nodes.
However, I am trying to get some third party software to run which requires the youBot API (and part of that is getting this to run).
The error is CMake Error at CMakeLists.txt:41 (TARGET_LINK_LIBRARIES): Cannot specify link libraries for target "youBot_HelloWorldDemo" which is
not built by this project.
after attempting to run the 'cmake ..' command in the /build folder, as specified in these directions from the Readme document:
Installation
We assume, that you have installed the KUKA youBot API already. Further instructions to install the API can be found on http://youbot-store.com
$ cd <your_path>/hello_world_demo $ mkdir build $ cd build $ cmake .. $ make
The binaries will be generated in the bin folder.
After looking at the CMake file, at line 41, I didn't see anything "wrong"... but that doesn't mean much. I'm still fairly new to this.
I would appreciate any suggestions you could make. THank you
Ok. I got the API installed... after removing it and re-downloading everything. I still can't get the youBot_HelloWorldDemo to run... When using "rosrun hello_world_demo youBot_HelloWorldDemo", I get an error stating: Warning: No socket connection on eth0 Execute as root
Now, I've gone in to the
youBot cfg files and changed the parameter to read as "eth1"... but I still get the above error. Which is weird to me.