rosjava "cmake" failed [closed]

asked 2013-11-19 06:12:33 -0500

TheQuietOne09 gravatar image

updated 2014-04-20 14:09:45 -0500

ngrennan gravatar image

Sorry for the newb question,

I am new to Rosjava and I am in the process of installing rosjava according to the source installation instructions @ wiki.ros.org/rosjava/Tutorials/hydro/Installation . I am at the part where I am to run catkin_make but I am continually receiving the following error:

CMake Error at /home/viki/rosjava/devel/share/rosjava_build_tools/cmake/rosjava.cmake:20 (message): Could not find the gradle wrapper in this directory or below. Call Stack (most recent call first): /home/viki/rosjava/devel/share/rosjava_build_tools/cmake/rosjava.cmake:111 (find_gradle) rosjava_foo/CMakeLists.txt:14 (catkin_android_setup)

-- Configuring incomplete, errors occurred! Invoking "cmake" failed

Ros seems to be working fine, and my distrubution is set to "hydro" I have been stuck here and I would like to know what could I possibly do to get catkin_make functioning properly.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2018-01-30 17:38:56.009882

Comments

How did you create rosjava_foo? Are you trying to get a rosjava or android package working? Looks like there's some missing steps as no gradle wrapper has been made.

Daniel Stonier gravatar image Daniel Stonier  ( 2013-11-19 11:34:52 -0500 )edit

I'm having this problem too. Individual rosjava projects appear to build and run fine via calls to gradlew installApp, but catkin_make generates this error. Some poking suggest it thinks the src directory is a project in its own right. I'm running on MACOS so I've had to build from source.

Louise gravatar image Louise  ( 2014-04-25 05:00:33 -0500 )edit

It looks like it may be a problem with the CMakeLists.txt that rosjava puts in the src directory. It works fine if I catkin_init_workspace using catkin_make from the standard row distribution and only afterwards source setup.bash in my rosjava workspace.

Louise gravatar image Louise  ( 2014-04-25 05:18:59 -0500 )edit