Ask Your Question

Error at rosmake ccny_ground_station --rosdep-install

asked 2011-06-16 12:03:31 -0500

ss_robotics gravatar image

updated 2011-06-16 14:47:07 -0500

tfoote gravatar image


I am trying to install the package ccny_ground_station.

On the command

$rosmake ccny_ground_station --rosdep-install

I get the error as below.

 make[3]: Leaving directory `/opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/build'
  make[3]: Entering directory `/opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/build'
  [ 14%] Building CXX object CMakeFiles/telemetry_demo.dir/src/telemetry_widgets.o
  In file included from /opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/src/ground_station.cpp:34:
  **/opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/include/ground_station/ground_station.h:55:32: error: asctec_msgs/Height.h: No such file or directory**

  In file included from /opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/src/ground_station.cpp:34:
  /opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/include/ground_station/ground_station.h:103: error: ‘Height’ in namespace ‘asctec_msgs’ does not name a type
  /opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/src/ground_station.cpp:76: error: expected unqualified-id before ‘&’ token
  /opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/src/ground_station.cpp:76: error: expected ‘)’ before ‘&’ token
  /opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/src/ground_station.cpp:76: error: expected initializer before ‘&’ token
  make[3]: *** [CMakeFiles/groundstation.dir/src/ground_station.o] Error 1
  make[3]: Leaving directory `/opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/build'
  make[2]: *** [CMakeFiles/groundstation.dir/all] Error 2
  make[2]: *** Waiting for unfinished jobs....
  Linking CXX executable ../bin/telemetry_demo

  **CMakeFiles/telemetry_demo.dir/src/telemetry_widgets.o: In function `main':
  /opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/src/telemetry_widgets.cpp:373: undefined reference to `g_thread_init'**

  collect2: ld returned 1 exit status
  make[3]: *** [../bin/telemetry_demo] Error 1
  make[3]: Leaving directory `/opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/build'
  make[2]: *** [CMakeFiles/telemetry_demo.dir/all] Error 2
  make[2]: Leaving directory `/opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/build'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/opt/ros/cturtle/stacks/ccny-ros-pkg/ccny_ground_station/ground_station/build'
[ rosmake ] Output from build of package ground_station written to:
[ rosmake ]    /home/robot/.ros/rosmake/rosmake_output-20110616-191251/ground_station/build_output.log
[rosmake-0] Finished <<< ground_station [FAIL] [ 5.80 seconds ]                                                                                              
[ rosmake ] Halting due to failure in package ground_station. 
[ rosmake ] Waiting for other threads to complete.                                            
[ rosmake ] Results:                                                                                                                                         
[ rosmake ] Built 35 packages with 1 failures.                                                                                                               
[ rosmake ] Summary output to directory                                                                                                                      
[ rosmake ] /home/robot/.ros/rosmake/rosmake_output-20110616-191251

I guess the error is because of missing file asctec_msgs/Height.h. I even found a ticket related the issue. But no solution.

Other than this I get one more error of " undefined reference to `g_thread_init "

I am using cturtle on ubuntu 9.10. I am trying to use the ground station tool for the quadrotor I am building.

Thank you for your help.

-Suraj Swami

edit retag flag offensive close merge delete

4 Answers

Sort by » oldest newest most voted

answered 2011-06-17 04:01:47 -0500

I just update ccny_ground_station to the point where it compiles, if you download the latest version (from git) of our other stacks.

edit flag offensive delete link more


I can confirm it compiles successfully on diamond-back. Make sure dependencies have been also cloned, for example the "mav_tools". Then, you could just type: $ rosmake ground_station --rosdep-install
ubuntuslave gravatar image ubuntuslave  ( 2011-06-17 18:22:38 -0500 )edit

answered 2011-06-16 16:42:34 -0500

I would just stay away from the ccny_ground_station at the moment. The package has not been maintained for about a year. We'll look into it, but for now I would suggest you something else such as qgroundcontrol although it does not seem to be ROSified just yet.

edit flag offensive delete link more


Thanks for the update. I could get it working. But I had to make one more change to get the rosmake running without any error.
ss_robotics gravatar image ss_robotics  ( 2011-06-17 11:26:29 -0500 )edit

answered 2012-01-25 21:17:16 -0500

hmmm gravatar image

hi,guys i try to install groundstation and i have the same problems as described above. i add the tree lines into the Cmakelist and i installed mav_tools after than i intalled gps_umd from ubuntu packages as described here: rosmake ground_station --rosdep-install brings following error: ... Generating Install Script using rosdep then executing. This may take a minute, you will be prompted for permissions. . . Failed to find stack for package [gps_common] Failed to load rosdep.yaml for package [gps_common]:Cannot locate installation of package gps_common: [rospack] couldn't find package [gps_common]

i cannnot install gps_common from what do i wrong? please help,i would really like to use this tool for my quadrotor contact over email is also welcome regards

edit flag offensive delete link more

answered 2011-06-17 11:33:10 -0500

ss_robotics gravatar image

Thanks for the update. I could get it working. But I had one more change to get the rosmake running without any error.

I was still getting the error

undefined reference to `g_thread_init'

I got rid of it by adding these three lines in CMakeList.txt file in .../ccny_ground_station/ground_station folder.

target_link_libraries(${TELEMETRY} ${GMODULE_LIBRARIES})

target_link_libraries(${TELEMETRY} ${LIBGLADE_LIBRARIES})



target_link_libraries(${TELEMETRY} ${GTK_LIBRARIES})

Its working now.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2011-06-16 12:03:31 -0500

Seen: 468 times

Last updated: Jan 25 '12