gps_common installation
Hello,
I', trying to plot GPS coordinates into a plot with meters unit. This answer suggested to use the gps_common package for this, but I haven't been able to install it. What I've tried: clone the package: $ git clone https://github.com/ktossell/gps_umd.git gps_umd Then cd to the gps_common folder and tried $ rosmake This outputs:
$ rosmake
[ rosmake ] rosmake starting...
[ rosmake ] No package specified. Building ['gps_common']
[ rosmake ] Packages requested are: ['gps_common']
[ rosmake ] Logging to directory /home/user/.ros/rosmake/rosmake_output-20130828-172332
[ rosmake ] Expanded args ['gps_common'] to:
['gps_common']
[rosmake-0] Starting >>> std_msgs [ make ]
[rosmake-1] Starting >>> gps_common [ make ]
[rosmake-0] Finished <<< std_msgs No Makefile in package std_msgs
[rosmake-1] Finished <<< gps_common ROS_NOBUILD in package gps_common
No Makefile in package gps_common
[ rosmake ] Results:
[ rosmake ] Built 2 packages with 0 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/user/.ros/rosmake/rosmake_output-20130828-172332
But no folder with the nodes appear. I have also tried to cd to the gps_common folder and:
$ mkdir build
$ cd build
$ cmake ..
Which outputs:
$ cmake ..
-- The CXX compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Looking for include files CMAKE_HAVE_PTHREAD_H
CMake Error at /usr/share/cmake-2.8/Modules/CheckIncludeFiles.cmake:48 (TRY_COMPILE):
Unknown extension ".c" for file
/home/user/fuerte_workspace/sandbox/gps_umd/gps_common/build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
try_compile() works only for enabled languages. Currently these are:
CXX
See project() command to enable other languages.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindThreads.cmake:38 (CHECK_INCLUDE_FILES)
/opt/ros/fuerte/share/catkin/cmake/tools/threads.cmake:30 (find_package)
/opt/ros/fuerte/share/catkin/cmake/all.cmake:53 (include)
/opt/ros/fuerte/share/catkin/cmake/catkin-config.cmake:6 (include)
CMakeLists.txt:8 (find_package)
-- Looking for include files CMAKE_HAVE_PTHREAD_H - not found.
-- Could NOT find Threads (missing: Threads_FOUND)
INFOBuilding GTest from source.
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Could NOT find Threads (missing: Threads_FOUND)
TODO: implement add_roslaunch_check() in rostest-extras.cmake.
CMake Error at CMakeLists.txt:21 (add_message_files):
Unknown CMake command "add_message_files".
-- Configuring incomplete, errors occurred!
Then I modified the CMakeLists.txt line: project(gps_common CXX) -> project(gps_common C CXX) Removed the build directory and tried cmake .. again, this outputs:
$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking ...