youBot Hello World Demo and CMake Error at CMakeLists.txt:41 (TARGET_LINK_LIBRARIES): [closed]

asked 2013-06-18 07:13:07 -0500

joe.s gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-08-07 17:37:32.462410

Comments

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

joe.s gravatar imagejoe.s ( 2013-06-19 11:00:08 -0500 )edit

youBot cfg files and changed the parameter to read as "eth1"... but I still get the above error. Which is weird to me.

joe.s gravatar imagejoe.s ( 2013-06-19 11:03:18 -0500 )edit