Hi everyone!
I have some ROS packages that contain dependencies on several packages that can be installed using rosdep install. On the other hand, one of those dependencies is with a custom package that contains only custom message definitions [my_custom_msgs].
The problem I have is that if I list "my_custom_msgs" as a run_depend / buid_depend, "*rosdep install -a*" fails saying *cannot locate rosdep definition for my_custom_msgs*, and, of course, if I remove it from the rund_depend / build_depend, I cannot build this package.
Is there a way of making rosdep install ignore dependencies on custom packages?
Cheers,
Aridane
↧
Rosdep with custom package
↧
Hi , i want to install catkin_make , but i have an error , so i want to know could i change package.xml?
its my error when i run catkin_make :
Base path: /home/fatima/catkin_ws1
Source space: /home/fatima/catkin_ws1/src
Build space: /home/fatima/catkin_ws1/build
Devel space: /home/fatima/catkin_ws1/devel
Install space: /home/fatima/catkin_ws1/install
####
#### Running command: "make cmake_check_build_system" in "/home/fatima/catkin_ws1/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/fatima/catkin_ws1/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/fatima/catkin_ws1/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.16
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner2_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner2_tutorials'
-- ==> add_subdirectory(beginner2_tutorials)
-- Using these message generators: gencpp;genlisp;genpy
-- beginner2_tutorials: 1 messages, 1 services
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:217 (message):
**catkin_package() DEPENDS on the catkin package 'message_runtime' which must
therefore be listed as a run dependency in the package.xml**
Call Stack (most recent call first):
/opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
beginner2_tutorials/CMakeLists.txt:13 (catkin_package)
-- Configuring incomplete, errors occurred!
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeOutput.log".
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
and this is my CMakeList.txt
cmake_minimum_required(VERSION 2.8.3)
project(beginner2_tutorials)
## Find catkin and any catkin packages
find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs genmsg message_generation)
## Declare ROS messages and services
add_message_files(FILES Num.msg )
add_service_files(FILES AddTwoInts.srv)
## Generate added messages and services
generate_messages(DEPENDENCIES std_msgs)
catkin_package( INCLUDE_DIRS include
LIBRARIES ${beginner2_tutorials} CATKIN_DEPENDS message_runtime roscpp nodelet)
## DEPENDS eigen opencv )
## Declare a catkin package
##catkin_package(CATKIN_DEPENDS message_runtime std_msgs sensor_msgs)
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(
INCLUDE_DIRS include
LIBRARIES beginner2_tutorials
CATKIN_DEPENDS message_runtime roscpp rospy std_msgs
DEPENDS system_lib
DEPENDS message_runtime
)
catkin_package()
## Build talker and listener
include_directories(include ${catkin_INCLUDE_DIRS})
add_executable(talker src/talker.cpp)
target_link_libraries(talker ${catkin_LIBRARIES})
add_dependencies(talker beginner2_tutorials_generate_messages_cpp)
add_executable(listener src/listener.cpp)
target_link_libraries(listener ${catkin_LIBRARIES})
add_dependencies(listener beginner2_tutorials_generate_messages_cpp)
ofcourse i change this line to solve this problem but it hasnt been solved :
catkin_package(
INCLUDE_DIRS include
LIBRARIES beginner2_tutorials
CATKIN_DEPENDS message_runtime roscpp rospy std_msgs
DEPENDS system_lib
DEPENDS message_runtime
)
its package.xml content :
beginner2_tutorials 0.0.0 The beginner2_tutorials package fatima TODO catkin roscpp rospy std_msgs roscpp rospy std_msgs
↧
↧
Hi, when i run catkin_make i have an error with nodelet
this is result of `catkin_make` :
Base path: /home/fatima/catkin_ws1
Source space: /home/fatima/catkin_ws1/src
Build space: /home/fatima/catkin_ws1/build
Devel space: /home/fatima/catkin_ws1/devel
Install space: /home/fatima/catkin_ws1/install
####
#### Running command: "make cmake_check_build_system" in "/home/fatima/catkin_ws1/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/fatima/catkin_ws1/devel
-- Using CMAKE_PREFIX_PATH: /home/fatima/catkin_ws1/devel;/opt/ros/indigo
-- This workspace overlays: /home/fatima/catkin_ws1/devel;/opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/fatima/catkin_ws1/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.16
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner2_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner2_tutorials'
-- ==> add_subdirectory(beginner2_tutorials)
-- Using these message generators: gencpp;genlisp;genpy
-- beginner2_tutorials: 1 messages, 1 services
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:217 (message):
catkin_package() DEPENDS on the catkin package 'nodelet' which must
therefore be listed as a run dependency in the package.xml
Call Stack (most recent call first):
/opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
beginner2_tutorials/CMakeLists.txt:13 (catkin_package)
-- Configuring incomplete, errors occurred!
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeOutput.log".
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
fatima@fatima-K55VD:~/catkin_ws1$ ^C
fatima@fatima-K55VD:~/catkin_ws1$ catkin_make
Base path: /home/fatima/catkin_ws1
Source space: /home/fatima/catkin_ws1/src
Build space: /home/fatima/catkin_ws1/build
Devel space: /home/fatima/catkin_ws1/devel
Install space: /home/fatima/catkin_ws1/install
####
#### Running command: "make cmake_check_build_system" in "/home/fatima/catkin_ws1/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/fatima/catkin_ws1/devel
-- Using CMAKE_PREFIX_PATH: /home/fatima/catkin_ws1/devel;/opt/ros/indigo
-- This workspace overlays: /home/fatima/catkin_ws1/devel;/opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/fatima/catkin_ws1/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.16
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner2_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner2_tutorials'
-- ==> add_subdirectory(beginner2_tutorials)
-- Using these message generators: gencpp;genlisp;genpy
-- beginner2_tutorials: 1 messages, 1 services
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:217 (message):
catkin_package() DEPENDS on the catkin package 'nodelet' which must
therefore be listed as a run dependency in the package.xml
Call Stack (most recent call first):
/opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
beginner2_tutorials/CMakeLists.txt:13 (catkin_package)
-- Configuring incomplete, errors occurred!
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeOutput.log".
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
i think as Akif told i should bring it to the package.xml but how? i dont know
↧
c++ and python accessing topics
Hi,
I have two ros packages, one written in c++ and another in python. Each package generates its own custom ros msg of type Float64MultiArray and the two are meant to subscribe to each other. From the c++ package, I can subscribe to the python topic and access its custom msg without having to add any additional libraries. However, when I try to subscribe to the c++ topic and therefore access its custom message by using
rospy.Subscriber("cpp_pkg", Float64MultiArray, myfun, queue_size = 10)
it is never executed. I do believe that in the python code I need to include the c++ package using
from cpp_msg.msg import cpp_msg
However, compiling the c++ ros package using
roscd cpp_pkg
make or rosmake
I can see the .h file generated by genmsg_cpp. I have no idea why the genmsg_py does not generate .py file.
Is there something that I need to add to the line
rosbuild_genmsg() in CMakeLists.txt
to generate the .py file that I can incorporate into the python code to get it to subscribe to the c++ package?
If it should make a difference, I am using ros indigo and I have preferred to not move on to using catkin_make. Furthermore, I can see the topic as /cpp_topic when I run the command rostopic list
Cheers,
Moses.
↧
beginner tutorials msg srv catkin_make error
Hey, I'm doing the srv/msg tutorial (http://wiki.ros.org/ROS/Tutorials/CreatingMsgAndSrv), and I'm having an error when i use catkin_make, after changing the CMakeLists.txt and package.xml and generally following the tutorial (and the previous tutorials).
I'm totally new to ROS, and It'll be great if someone can help me out, because I'm pretty lost. After having this error I even tried deleting my progress and recreating it, only to get this same error message again.
Here's my error:
sophie@sophie-HP-ProBook-4520s:~/catkin_ws$ catkin_make
Base path: /home/sophie/catkin_ws
Source space: /home/sophie/catkin_ws/src
Build space: /home/sophie/catkin_ws/build
Devel space: /home/sophie/catkin_ws/devel
Install space: /home/sophie/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/sophie/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/sophie/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/sophie/catkin_ws/devel;/opt/ros/indigo
-- This workspace overlays: /home/sophie/catkin_ws/devel;/opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/sophie/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.16
-- BUILD_SHARED_LIBS is on
WARNING: Package "ompl" does not follow the version conventions. It should not contain leading zeros (unless the number is 0).
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner_tutorials'
-- ==> add_subdirectory(beginner_tutorials)
-- Using these message generators: gencpp;genlisp;genpy
-- beginner_tutorials: 1 messages, 1 services
-- BUILD_SHARED_LIBS is on
WARNING: Package "ompl" does not follow the version conventions. It should not contain leading zeros (unless the number is 0).
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner_tutorials'
-- ==> add_subdirectory(beginner_tutorials)
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_workspace.cmake:116 (add_subdirectory):
The binary directory
/home/sophie/catkin_ws/build/beginner_tutorials
is already used to build a source directory. It cannot be used to build
source directory
/home/sophie/catkin_ws/src/beginner_tutorials
Specify a unique binary directory name.
Call Stack (most recent call first):
CMakeLists.txt:125 (catkin_workspace)
-- Configuring incomplete, errors occurred!
See also "/home/sophie/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/sophie/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
Also, I added these two lines to my package.xml:
message_generation message_runtime
And my CMakeLists.txt looks like this:
(It's mostly comments. All according to the tutorials, I hope)
cmake_minimum_required(VERSION 2.8.3)
project(beginner_tutorials)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
std_msgs
message_generation
)
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)
## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
# catkin_python_setup()
################################################
## Declare ROS messages, services and actions ##
################################################
## To declare and build messages, services or actions from within this
## package, follow these steps:
## * Let MSG_DEP_SET be the set of packages whose message types you use in
## your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...).
## * In the file package.xml:
## * add a build_depend tag for "message_generation"
## * add a build_depend and a run_depend tag for each package in MSG_DEP_SET
## * If MSG_DEP_SET isn't empty the following dependency has been pulled in
## but can be declared for certainty nonetheless:
## * add a run_depend tag for "message_runtime"
## * In this file (CMakeLists.txt):
## * add "message_generation" and every package in MSG_DEP_SET to
## find_package(catkin REQUIRED COMPONENTS ...)
## * add "message_runtime" and every package in MSG_DEP_SET to
## catkin_package(CATKIN_DEPENDS ...)
## * uncomment the add_*_files sections below as needed
## and list every .msg/.srv/.action file to be processed
## * uncomment the generate_messages entry below
## * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...)
## Generate messages in the 'msg' folder
add_message_files(
FILES
Num.msg
)
## Generate services in the 'srv' folder
add_service_files(
FILES
AddTwoInts.srv
)
## Generate actions in the 'action' folder
# add_action_files(
# FILES
# Action1.action
# Action2.action
# )
## Generate added messages and services with any dependencies listed here
generate_messages(
DEPENDENCIES
std_msgs
)
################################################
## Declare ROS dynamic reconfigure parameters ##
################################################
## To declare and build dynamic reconfigure parameters within this
## package, follow these steps:
## * In the file package.xml:
## * add a build_depend and a run_depend tag for "dynamic_reconfigure"
## * In this file (CMakeLists.txt):
## * add "dynamic_reconfigure" to
## find_package(catkin REQUIRED COMPONENTS ...)
## * uncomment the "generate_dynamic_reconfigure_options" section below
## and list every .cfg file to be processed
## Generate dynamic reconfigure parameters in the 'cfg' folder
# generate_dynamic_reconfigure_options(
# cfg/DynReconf1.cfg
# cfg/DynReconf2.cfg
# )
###################################
## catkin specific configuration ##
###################################
## The catkin_package macro generates cmake config files for your package
## Declare things to be passed to dependent projects
## INCLUDE_DIRS: uncomment this if you package contains header files
## LIBRARIES: libraries you create in this project that dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(
INCLUDE_DIRS include
LIBRARIES beginner_tutorials
CATKIN_DEPENDS roscpp rospy std_msgs message_runtime
DEPENDS system_lib
)
###########
## Build ##
###########
## Specify additional locations of header files
## Your package locations should be listed before other locations
# include_directories(include)
include_directories(
${catkin_INCLUDE_DIRS}
)
## Declare a C++ library
# add_library(beginner_tutorials
# src/${PROJECT_NAME}/beginner_tutorials.cpp
# )
## Add cmake target dependencies of the library
## as an example, code may need to be generated before libraries
## either from message generation or dynamic reconfigure
# add_dependencies(beginner_tutorials ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
## Declare a C++ executable
# add_executable(beginner_tutorials_node src/beginner_tutorials_node.cpp)
## Add cmake target dependencies of the executable
## same as for the library above
# add_dependencies(beginner_tutorials_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
## Specify libraries to link a library or executable target against
# target_link_libraries(beginner_tutorials_node
# ${catkin_LIBRARIES}
# )
#############
## Install ##
#############
# all install targets should use catkin DESTINATION variables
# See http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html
## Mark executable scripts (Python etc.) for installation
## in contrast to setup.py, you can choose the destination
# install(PROGRAMS
# scripts/my_python_script
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
## Mark executables and/or libraries for installation
# install(TARGETS beginner_tutorials beginner_tutorials_node
# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
## Mark cpp header files for installation
# install(DIRECTORY include/${PROJECT_NAME}/
# DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
# FILES_MATCHING PATTERN "*.h"
# PATTERN ".svn" EXCLUDE
# )
## Mark other files for installation (e.g. launch and bag files, etc.)
# install(FILES
# # myfile1
# # myfile2
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
# )
#############
## Testing ##
#############
## Add gtest based cpp test target and link libraries
# catkin_add_gtest(${PROJECT_NAME}-test test/test_beginner_tutorials.cpp)
# if(TARGET ${PROJECT_NAME}-test)
# target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
# endif()
## Add folders to be run by python nosetests
# catkin_add_nosetests(test)
↧
↧
Failed to build razor_imu_9dof
Hi, I'm trying to build my catkin workspace on ROS Indigo, it used to build fine, but now the package razor_imu_9dof fail to build. I don't get why. The only thing I temember I did is to install some Android/Java SDK sofware and add a few lines in my .bahrc file.
Here is the output of my terminal :
dcx@dcx-M4700:~/catkin_ws$ catkin_make --pkg razor_imu_9dof
Base path: /home/dcx/catkin_ws
Source space: /home/dcx/catkin_ws/src
Build space: /home/dcx/catkin_ws/build
Devel space: /home/dcx/catkin_ws/devel
Install space: /home/dcx/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/dcx/catkin_ws/build"
####
####
#### Running command: "make -j8 -l8" in "/home/dcx/catkin_ws/build/razor_imu_9dof"
####
[ 0%] Built target std_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_cpp
[ 0%] [ 14%] Built target std_msgs_generate_messages_py
Generating Java gradle project from razor_imu_9dof
[ 14%] Built target _razor_imu_9dof_generate_messages_check_deps_RazorImu
[ 28%] [ 57%] [ 71%] Built target razor_imu_9dof_generate_messages_lisp
Built target razor_imu_9dof_generate_messages_py
Generating Java gradle project from razor_imu_9dof
[ 85%] Built target razor_imu_9dof_generate_messages_cpp
Traceback (most recent call last):
File "/opt/ros/indigo/share/genjava/cmake/../../../lib/genjava/genjava_gradle_project.py", line 14, in
genjava.main(sys.argv)
File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/genjava_main.py", line 82, in main
gradle_project.create(args.package, args.output_dir)
File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/gradle_project.py", line 152, in create
raise IOError("could not find %s on the ros package path" % msg_pkg_name)
IOError: could not find razor_imu_9dof on the ros package path
make[2]: *** [razor_imu_9dof/java/razor_imu_9dof/build.gradle] Error 1
make[1]: *** [razor_imu_9dof/CMakeFiles/razor_imu_9dof_generate_messages_java_gradle.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
File "/opt/ros/indigo/share/genjava/cmake/../../../lib/genjava/genjava_gradle_project.py", line 14, in
genjava.main(sys.argv)
File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/genjava_main.py", line 82, in main
gradle_project.create(args.package, args.output_dir)
File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/gradle_project.py", line 152, in create
raise IOError("could not find %s on the ros package path" % msg_pkg_name)
IOError: could not find razor_imu_9dof on the ros package path
make[2]: *** [razor_imu_9dof/java/razor_imu_9dof/build.gradle] Error 1
make[1]: *** [razor_imu_9dof/CMakeFiles/razor_imu_9dof_generate_messages_java.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
If I do rospack find razor_imu_9dof, it finds it well.
I tried delete all the generated files in build and devel folders, but still the same issue.
The package razor_imu_9dof works fine in fact as it's just two python scripts, but the build fail which is annoying.
Any idea how to solve this ?
↧
-- Configuring incomplete, errors occurred!
I have used `catkin_make` successfully in the past but now whenever i try to use `catkin_make ` i get the following error( as you can see i just created this directory named "delete", but `catkin_make` is still not working (with this directory or any other directory newly or previously created)):
asaad@VAIO:~$ mkdir -p ~/delete/src
asaad@VAIO:~$ cd delete/src/
asaad@VAIO:~/delete/src$ catkin_init_workspace n
usage: catkin_init_workspace [-h] [workspace]
catkin_init_workspace: error: Workspace "/home/asaad/delete/src/n" does not exist
asaad@VAIO:~/delete/src$ catkin_init_workspace
Creating symlink "/home/asaad/delete/src/CMakeLists.txt" pointing to "/opt/ros/hydro/share/catkin/cmake/toplevel.cmake"
asaad@VAIO:~/delete/src$ cd ~/delete/
asaad@VAIO:~/delete$ catkin_make
Base path: /home/asaad/delete
Source space: /home/asaad/delete/src
Build space: /home/asaad/delete/build
Devel space: /home/asaad/delete/devel
Install space: /home/asaad/delete/install
####
#### Running command: "cmake /home/asaad/delete/src -DCATKIN_DEVEL_PREFIX=/home/asaad/delete/devel -DCMAKE_INSTALL_PREFIX=/home/asaad/delete/install" in "/home/asaad/delete/build"
####
-- 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
-- Using CATKIN_DEVEL_PREFIX: /home/asaad/delete/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/hydro
-- This workspace overlays: /opt/ros/hydro
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Python version: 2.7
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/asaad/delete/build/test_results
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.90
-- Found Git: /usr/bin/git
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- python
-- thread
-- system
-- Found PythonLibs: /usr/lib/libpython2.7.so
CMake Error: File /home/asaad/delete/src/package.xml does not exist.
CMake Error at /opt/ros/hydro/share/catkin/cmake/stamp.cmake:10 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
/opt/ros/hydro/share/catkin/cmake/catkin_package_xml.cmake:61 (stamp)
/opt/ros/hydro/share/catkin/cmake/catkin_package_xml.cmake:39 (_catkin_package_xml)
/opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:95 (catkin_package_xml)
CMakeLists.txt:6 (catkin_package)
CMake Error at /opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:112 (message):
catkin_package() 'catkin' must be listed as a buildtool dependency in the
package.xml
Call Stack (most recent call first):
/opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
CMakeLists.txt:6 (catkin_package)
-- Configuring incomplete, errors occurred!
Invoking "cmake" failed
asaad@VAIO:~/delete$
↧
catkin_make not found error while compiling
Hi, I've been a few weeks without programming in ROS and when I've tried to compile a simple node catkin_make returns me this error
leontes@leontes-Portatil:~/ros_ws$ catkin_make
Base path: /home/leontes/ros_ws
Source space: /home/leontes/ros_ws/src
Build space: /home/leontes/ros_ws/build
Devel space: /home/leontes/ros_ws/devel
Install space: /home/leontes/ros_ws/install
####
#### Running command: "cmake /home/leontes/ros_ws/src -DCATKIN_DEVEL_PREFIX=/home/leontes/ros_ws/devel -DCMAKE_INSTALL_PREFIX=/home/leontes/ros_ws/install -G Unix Makefiles" in "/home/leontes/ros_ws/build"
####
CMake Error at CMakeLists.txt:20 (message):
Search for 'catkin' in workspace failed (catkin_find_pkg catkin
/home/leontes/ros_ws/src): Traceback (most recent call last):
File "/usr/local/bin/catkin_find_pkg", line 4, in
import pkg_resources
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 446, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 459, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: catkin-pkg==0.2.6
-- Configuring incomplete, errors occurred!
See also "/home/leontes/ros_ws/build/CMakeFiles/CMakeOutput.log".
Invoking "cmake" failed
I didn't touch anything since last time I use it. And I've tried to reinstall everthing and even create a fresh new workspace.
↧
Invoking "make" failed
I'm using Ubuntu 12.04 & ROS Hydro. While going through this tutorial [here](http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28c%2B%2B%29) i encountered the following error upon typing:
`catkin_make`
asaad@VAIO:~/catkin_ws$ catkin_make
Base path: /home/asaad/catkin_ws
Source space: /home/asaad/catkin_ws/src
Build space: /home/asaad/catkin_ws/build
Devel space: /home/asaad/catkin_ws/devel
Install space: /home/asaad/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/asaad/catkin_ws/build"
####
####
#### Running command: "make -j4 -l4" in "/home/asaad/catkin_ws/build"
####
[ 0%] [ 8%] Built target std_msgs_generate_messages_py
[ 16%] [ 16%] Built target std_msgs_generate_messages_cpp
Building CXX object begginer_tutorials/CMakeFiles/add_two_ints_server.dir/src/add_two_ints_server.cpp.o
Building CXX object begginer_tutorials/CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.cpp.o
[ 16%] Built target std_msgs_generate_messages_lisp
[ 25%] Built target listener
[ 33%] Built target talker
[ 50%] Built target begginer_tutorials_generate_messages_cpp
[ 83%] Built target begginer_tutorials_generate_messages_py
[100%] Built target begginer_tutorials_generate_messages_lisp
[100%] Built target begginer_tutorials_generate_messages
/home/asaad/catkin_ws/src/begginer_tutorials/src/add_two_ints_server.cpp:2:43: fatal error: beginner_tutorials/AddTwoInts.h: No such file or directory
compilation terminated.
/home/asaad/catkin_ws/src/begginer_tutorials/src/add_two_ints_client.cpp:2:43: fatal error: beginner_tutorials/AddTwoInts.h: No such file or directory
compilation terminated.
make[2]: *** [begginer_tutorials/CMakeFiles/add_two_ints_server.dir/src/add_two_ints_server.cpp.o] Error 1
make[1]: *** [begginer_tutorials/CMakeFiles/add_two_ints_server.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [begginer_tutorials/CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.cpp.o] Error 1
make[1]: *** [begginer_tutorials/CMakeFiles/add_two_ints_client.dir/all] Error 2
make: *** [all] Error 2
Invoking "make" failed
I saw the other answers related to this but couldn't find the error myself.
EDITED:
The CMakeLists.txt file contains the following data:
cmake_minimum_required(VERSION 2.8.3)
project(begginer_tutorials)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
std_msgs
message_generation
)
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)
## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
# catkin_python_setup()
################################################
## Declare ROS messages, services and actions ##
################################################
## To declare and build messages, services or actions from within this
## package, follow these steps:
## * Let MSG_DEP_SET be the set of packages whose message types you use in
## your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...).
## * In the file package.xml:
## * add a build_depend and a run_depend tag for each package in MSG_DEP_SET
## * If MSG_DEP_SET isn't empty the following dependencies might have been
## pulled in transitively but can be declared for certainty nonetheless:
## * add a build_depend tag for "message_generation"
## * add a run_depend tag for "message_runtime"
## * In this file (CMakeLists.txt):
## * add "message_generation" and every package in MSG_DEP_SET to
## find_package(catkin REQUIRED COMPONENTS ...)
## * add "message_runtime" and every package in MSG_DEP_SET to
## catkin_package(CATKIN_DEPENDS ...)
## * uncomment the add_*_files sections below as needed
## and list every .msg/.srv/.action file to be processed
## * uncomment the generate_messages entry below
## * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...)
## Generate messages in the 'msg' folder
add_message_files(
FILES
Num.msg
)
## Generate services in the 'srv' folder
add_service_files(
FILES
AddTwoInts.srv
)
## Generate actions in the 'action' folder
# add_action_files(
# FILES
# Action1.action
# Action2.action
# )
## Generate added messages and services with any dependencies listed here
generate_messages(
DEPENDENCIES
std_msgs
)
###################################
## catkin specific configuration ##
###################################
## The catkin_package macro generates cmake config files for your package
## Declare things to be passed to dependent projects
## INCLUDE_DIRS: uncomment this if you package contains header files
## LIBRARIES: libraries you create in this project that dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(
INCLUDE_DIRS include
LIBRARIES begginer_tutorials
CATKIN_DEPENDS message_runtime roscpp rospy std_msgs
DEPENDS system_lib
)
###########
## Build ##
###########
## Specify additional locations of header files
## Your package locations should be listed before other locations
# include_directories(include)
include_directories(
${catkin_INCLUDE_DIRS}
)
## Declare a cpp library
# add_library(begginer_tutorials
# src/${PROJECT_NAME}/begginer_tutorials.cpp
# )
## Declare a cpp executable
# add_executable(begginer_tutorials_node src/begginer_tutorials_node.cpp)
## Add cmake target dependencies of the executable/library
## as an example, message headers may need to be generated before nodes
# add_dependencies(begginer_tutorials_node begginer_tutorials_generate_messages_cpp)
## Specify libraries to link a library or executable target against
# target_link_libraries(begginer_tutorials_node
# ${catkin_LIBRARIES}
# )
#############
## Install ##
#############
# all install targets should use catkin DESTINATION variables
# See http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html
## Mark executable scripts (Python etc.) for installation
## in contrast to setup.py, you can choose the destination
# install(PROGRAMS
# scripts/my_python_script
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
## Mark executables and/or libraries for installation
# install(TARGETS begginer_tutorials begginer_tutorials_node
# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
## Mark cpp header files for installation
# install(DIRECTORY include/${PROJECT_NAME}/
# DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
# FILES_MATCHING PATTERN "*.h"
# PATTERN ".svn" EXCLUDE
# )
## Mark other files for installation (e.g. launch and bag files, etc.)
# install(FILES
# # myfile1
# # myfile2
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
# )
#############
## Testing ##
#############
## Add gtest based cpp test target and link libraries
# catkin_add_gtest(${PROJECT_NAME}-test test/test_begginer_tutorials.cpp)
# if(TARGET ${PROJECT_NAME}-test)
# target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
# endif()
## Add folders to be run by python nosetests
# catkin_add_nosetests(test)
include_directories(include ${catkin_INCLUDE_DIRS})
add_executable(talker src/talker.cpp)
target_link_libraries(talker ${catkin_LIBRARIES})
add_dependencies(talker beginner_tutorials_generate_messages_cpp)
add_executable(listener src/listener.cpp)
target_link_libraries(listener ${catkin_LIBRARIES})
add_dependencies(listener beginner_tutorials_generate_messages_cpp)
add_executable(add_two_ints_server src/add_two_ints_server.cpp)
target_link_libraries(add_two_ints_server ${catkin_LIBRARIES})
add_dependencies(add_two_ints_server beginner_tutorials_gencpp)
add_executable(add_two_ints_client src/add_two_ints_client.cpp)
target_link_libraries(add_two_ints_client ${catkin_LIBRARIES})
add_dependencies(add_two_ints_client beginner_tutorials_gencpp)
↧
↧
catkin_mak
Hello all. I trying to do the tutorial [Writing a Simple Action Server using the Execute Callback (Python)](http://wiki.ros.org/actionlib_tutorials/Tutorials/Writing%20a%20Simple%20Action%20Server%20using%20the%20Execute%20Callback%20%28Python%29) from the actionlib_tutorials. I am trying to finish the first step which is [Creating the Action Messages](http://wiki.ros.org/actionlib_tutorials/Tutorials/SimpleActionServer%28ExecuteCallbackMethod%29#actionlib_tutorials.2BAC8-Tutorials.2BAC8-SimpleActionServer.28ExecuteCallbackMethod.29.2BAC8-groovy.Creating_the_Action_Messages). I followed strictly the instructions, but when I ran the command catkin_make (the last instruction from the step) I got the error exposed bellow. I checked if I have the python's module **em** installed, and I do have. I tried to updated, but did not work. I also read old posters about similar issue, but they did not help me either. Some one could give me any clue on how to solve this problem?>catkin_make
Base path: /home/randerson/Dropbox/ros/tutorial_ws
Source space: /home/randerson/Dropbox/ros/tutorial_ws/src
Build space: /home/randerson/Dropbox/ros/tutorial_ws/build
Devel space: /home/randerson/Dropbox/ros/tutorial_ws/devel
Install space: /home/randerson/Dropbox/ros/tutorial_ws/install>\####>\#### Running command: "make cmake_check_build_system" in "/home/randerson/Dropbox/ros/tutorial_ws/build">\####>\####>\#### Running command: "make -j4 -l4" in "/home/randerson/Dropbox/ros/tutorial_ws/build"> \####>[ 0%] Built target actionlib_msgs_generate_messages_lisp>[ 0%] Built target _learning_actionlib_generate_messages_check_deps_FibonacciGoal>[ 0%] Built target _learning_actionlib_generate_messages_check_deps_FibonacciResult>[ 0%] [ 0%] Built target _learning_actionlib_generate_messages_check_deps_FibonacciActionGoal>Built target _learning_actionlib_generate_messages_check_deps_FibonacciAction>[ 0%] Built target std_msgs_generate_messages_lisp>[ 0%] Built target actionlib_msgs_generate_messages_cpp>[ 0%] Built target std_msgs_generate_messages_cpp>[ 0%] Built target _learning_actionlib_generate_messages_check_deps_FibonacciActionResult>[ 0%] [ 0%] Built target std_msgs_generate_messages_py>[ 0%] Built target _learning_actionlib_generate_messages_check_deps_FibonacciFeedback>Built target _learning_actionlib_generate_messages_check_deps_FibonacciActionFeedback>[ 0%] Built target actionlib_msgs_generate_messages_py>[ 31%] Built target learning_actionlib_generate_messages_lisp>[ 36%] [ 40%] [ 45%] Generating C++ code from learning_actionlib/FibonacciResult.msg>[ 81%] Generating C++ code from learning_actionlib/FibonacciAction.msg>Built target learning_actionlib_generate_messages_py>Generating C++ code from learning_actionlib/FibonacciFeedback.msg>[ 86%] Traceback (most recent call last):> File "/opt/ros/indigo/share/gencpp/cmake/../../../lib/gencpp/gen_cpp.py", line 41, in > import genmsg.template_tools> File "/opt/ros/indigo/lib/python2.7/dist-packages/genmsg/template_tools.py", line 39, in > import em>ImportError: No module named em>make[2]: *** [/home/randerson/Dropbox/ros/tutorial_ws/devel/include/learning_actionlib/FibonacciResult.h] Error 1>make[2]: *** Waiting for unfinished jobs....>Generating C++ code from learning_actionlib/FibonacciActionResult.msg>Traceback (most recent call last):> File "/opt/ros/indigo/share/gencpp/cmake/../../../lib/gencpp/gen_cpp.py", line 41, in > import genmsg.template_tools> File "/opt/ros/indigo/lib/python2.7/dist-packages/genmsg/template_tools.py", line 39, in > import em>ImportError: No module named em>make[2]: *** [/home/randerson/Dropbox/ros/tutorial_ws/devel/include/learning_actionlib/FibonacciAction.h] Error 1>Traceback (most recent call last):> File "/opt/ros/indigo/share/gencpp/cmake/../../../lib/gencpp/gen_cpp.py", line 41, in > import genmsg.template_tools> File "/opt/ros/indigo/lib/python2.7/dist-packages/genmsg/template_tools.py", line 39, in > import em>ImportError: No module named em>make[2]: *** [/home/randerson/Dropbox/ros/tutorial_ws/devel/include/learning_actionlib/FibonacciFeedback.h] Error 1>Traceback (most recent call last):> File "/opt/ros/indigo/share/gencpp/cmake/../../../lib/gencpp/gen_cpp.py", line 41, in > import genmsg.template_tools> File "/opt/ros/indigo/lib/python2.7/dist-packages/genmsg/template_tools.py", line 39, in > import em>ImportError: No module named em>make[2]: *** [/home/randerson/Dropbox/ros/tutorial_ws/devel/include/learning_actionlib/FibonacciActionResult.h] Error 1>make[1]: *** [learning_actionlib/CMakeFiles/learning_actionlib_generate_messages_cpp.dir/all] Error 2>make: *** [all] Error 2>Invoking "make -j4 -l4" failed**
↧
catkin_make image_view failed,cvtColorForDisplay’ is not a member of ‘cv_bridge’
Hello,I am using Indigo(Ubuntu14.04)
When I git clone from [here](https://github.com/ros-perception/image_pipeline)
then,I run:`catkin_make`,Error occurred as below:

/home/exbot/catkin_ws/src/image_pipeline/image_view/src/nodes/image_view.cpp: In function ‘void imageCb(const ImageConstPtr&)’:
/home/exbot/catkin_ws/src/image_pipeline/image_view/src/nodes/image_view.cpp:59:20: error: ‘cvtColorForDisplay’ is not a member of ‘cv_bridge’
g_last_image = cv_bridge::cvtColorForDisplay(cv_bridge::toCvShare(msg), "",
^
/home/exbot/catkin_ws/src/image_pipeline/image_view/src/nodelets/image_nodelet.cpp: In member function ‘void image_view::ImageNodelet::imageCb(const ImageConstPtr&)’:
/home/exbot/catkin_ws/src/image_pipeline/image_view/src/nodelets/image_nodelet.cpp:165:87: error: ‘cvtColorForDisplay’ was not declared in this scope
last_image_ = cvtColorForDisplay(cv_bridge::toCvShare(msg), "", do_dynamic_scaling)->image;
please help me,thx
↧
Bizarre linking error when linking base_local_planner
I am building running catkin_make, but the build fails when linking base_local_planner.
I am running raspbian on raspberry pi.
I've never seen this error before. Does anyone know what might be the cause?
The Error
Linking CXX shared library /home/pi/catkin_ws/devel/lib/libbase_local_planner.so
'.LTHUNK2' referenced in section '.text._ZN5boost16exception_detail10bad_alloc_D1Ev[boost::exception_detail::bad_alloc_::~bad_alloc_()]' of CMakeFiles/base_local_planner.dir/src/map_grid.cpp.o: defined in discarded section '.text._ZN5boost16exception_detail10bad_alloc_D2Ev[_ZN5boost16exception_detail10bad_alloc_D5Ev]' of CMakeFiles/base_local_planner.dir/src/map_grid.cpp.o
'.LTHUNK4' referenced in section '.text._ZN5boost16exception_detail14bad_exception_D1Ev[boost::exception_detail::bad_exception_::~bad_exception_()]' of CMakeFiles/base_local_planner.dir/src/map_grid.cpp.o: defined in discarded section '.text._ZN5boost16exception_detail14bad_exception_D2Ev[_ZN5boost16exception_detail14bad_exception_D5Ev]' of CMakeFiles/base_local_planner.dir/src/map_grid.cpp.o
'.LTHUNK66' referenced in section '.text._ZN5boost16exception_detail10clone_implINS0_10bad_alloc_EED1Ev[boost::exception_detail::clone_impl::~clone_impl()]' of CMakeFiles/base_local_planner.dir/src/map_grid.cpp.o: defined in discarded section '.text._ZN5boost16exception_detail10clone_implINS0_10bad_alloc_EED2Ev[_ZN5boost16exception_detail10clone_implINS0_10bad_alloc_EED5Ev]' of CMakeFiles/base_local_planner.dir/src/map_grid.cpp.o
'.LTHUNK67' referenced in section '.text._ZN5boost16exception_detail10clone_implINS0_10bad_alloc_EED1Ev[boost::exception_detail::clone_impl::~clone_impl()]' of CMakeFiles/base_local_planner.dir/src/map_grid.cpp.o: defined in discarded section '.text._ZN5boost16exception_detail10clone_implINS0_10bad_alloc_EED2Ev[_ZN5boost16exception_detail10clone_implINS0_10bad_alloc_EED5Ev]' of CMakeFiles/base_local_planner.dir/src/map_grid.cpp.o
'.LTHUNK70' referenced in section '.text._ZN5boost16exception_detail10clone_implINS0_14bad_exception_EED1Ev[boost::exception_detail::clone_impl::~clone_impl()]' of CMakeFiles/base_local_planner.dir/src/map_grid.cpp.o: defined in discarded section '.text._ZN5boost16exception_detail10clone_implINS0_14bad_exception_EED2Ev[_ZN5boost16exception_detail10clone_implINS0_14bad_exception_EED5Ev]' of CMakeFiles/base_local_planner.dir/src/map_grid.cpp.o
'.LTHUNK71' referenced in section '.text._ZN5boost16exception_detail10clone_implINS0_14bad_exception_EED1Ev[boost::exception_detail::clone_impl::~clone_impl()]' of CMakeFiles/base_local_planner.dir/src/map_grid.cpp.o: defined in discarded section '.text._ZN5boost16exception_detail10clone_implINS0_14bad_exception_EED2Ev[_ZN5boost16exception_detail10clone_implINS0_14bad_exception_EED5Ev]' of CMakeFiles/base_local_planner.dir/src/map_grid.cpp.o
'.LTHUNK44' referenced in section '.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED1Ev[boost::exception_detail::error_info_injector::~error_info_injector()]' of CMakeFiles/base_local_planner.dir/src/odometry_helper_ros.cpp.o: defined in discarded section '.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED5Ev]' of CMakeFiles/base_local_planner.dir/src/odometry_helper_ros.cpp.o
'.LTHUNK46' referenced in section '.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED1Ev[boost::exception_detail::clone_impl>::~clone_impl()]' of CMakeFiles/base_local_planner.dir/src/odometry_helper_ros.cpp.o: defined in discarded section '.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED2Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED5Ev]' of CMakeFiles/base_local_planner.dir/src/odometry_helper_ros.cpp.o
'.LTHUNK47' referenced in section '.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED1Ev[boost::exception_detail::clone_impl>::~clone_impl()]' of CMakeFiles/base_local_planner.dir/src/odometry_helper_ros.cpp.o: defined in discarded section '.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED2Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEED5Ev]' of CMakeFiles/base_local_planner.dir/src/odometry_helper_ros.cpp.o
collect2: ld returned 1 exit status
base_local_planner/CMakeFiles/base_local_planner.dir/build.make:660: recipe for target '/home/pi/catkin_ws/devel/lib/libbase_local_planner.so' failed
make[2]: *** [/home/pi/catkin_ws/devel/lib/libbase_local_planner.so] Error 1
CMakeFiles/Makefile2:5245: recipe for target 'base_local_planner/CMakeFiles/base_local_planner.dir/all' failed
make[1]: *** [base_local_planner/CMakeFiles/base_local_planner.dir/all] Error 2
Makefile:123: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
↧
movit_msgs error
I was doing catkin_make on pr2_apps stack but i ran to this error,eventhough I have **moveit_msgs** installed in my system
/home/azar/catkin_ws/src/pr2_apps/pr2_teleop_general/src/pr2_teleop_general_commander.cpp:41:48: **fatal error: moveit_msgs/GetKinematicSolverInfo.h: No such file or directory**
#include
^
compilation terminated.
**can anybody help me??!!...**
↧
↧
Help in making node with OpenCV/cv_bridge and ROS Indigo
Greetings,
Running `ROS Indigo`, `Ubuntu 14.04` and `catkin_simple`. My system has downloaded:
`libopencv-dev` and `ros-indigo-cv-bridge`
I am trying to make a package that uses opencv's mouse button events. After making the package, I got the following errors related to opencv:
home/menon/juan/ros_workspace/hku_drc_class_sysu/catkin/src/vision_stack/steer_fitting/src/patch_select.cpp: In function \u2018void mouse_callback(int, int, int, int, void*)\u2019:
/home/menon/juan/ros_workspace/hku_drc_class_sysu/catkin/src/vision_stack/steer_fitting/src/patch_select.cpp:188:14: error: \u2018CV_EVENT_LBUTTONDOWN\u2019 was not declared in this scope
case CV_EVENT_LBUTTONDOWN:
^
/home/menon/juan/ros_workspace/hku_drc_class_sysu/catkin/src/vision_stack/steer_fitting/src/patch_select.cpp:197:14: error: \u2018CV_EVENT_LBUTTONUP\u2019 was not declared in this scope
case CV_EVENT_LBUTTONUP:
^
/home/menon/juan/ros_workspace/hku_drc_class_sysu/catkin/src/vision_stack/steer_fitting/src/patch_select.cpp: In function \u2018void onMouse(int, int, int, int, void*)\u2019:
/home/menon/juan/ros_workspace/hku_drc_class_sysu/catkin/src/vision_stack/steer_fitting/src/patch_select.cpp:489:18: error: \u2018CV_EVENT_LBUTTONDOWN\u2019 was not declared in this scope
if (event == CV_EVENT_LBUTTONDOWN)
^
/home/menon/juan/ros_workspace/hku_drc_class_sysu/catkin/src/vision_stack/steer_fitting/src/patch_select.cpp: In function \u2018int main(int, char**)\u2019:
/home/menon/juan/ros_workspace/hku_drc_class_sysu/catkin/src/vision_stack/steer_fitting/src/patch_select.cpp:613:36: error: \u2018CV_WINDOW_NORMAL\u2019 was not declared in this scope
namedWindow("image_window",CV_WINDOW_NORMAL); //window for openCV displays
^
make[2]: *** [vision_stack/steer_fitting/CMakeFiles/patch_select.dir/src/patch_select.cpp.o] Error 1
make[1]: *** [vision_stack/steer_fitting/CMakeFiles/patch_select.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j20 -l20" failed
Failed to build catkin packages!
My package.xml contains the following opencv related dependencies:
opencv2 cv_bridge image_transport opencv2 cv_bridge image_transport
And my CMakeLists.txt looks as follows (patch_select is the node that uses opencv):
cmake_minimum_required(VERSION 2.8.3)
project(steer_fitting)
find_package(catkin_simple REQUIRED)
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
find_package(PCL 1.7 REQUIRED)
include_directories(${PCL_INCLUDE_DIRS})
catkin_simple()
# Executables
cs_add_executable(valve_fitting src/valve_fitting.cpp)
cs_add_executable(patch_select src/patch_select.cpp)
target_link_libraries(valve_fitting ${PCL_LIBRARIES})
target_link_libraries(patch_select ${OpenCV_LIBS})
cs_install()
cs_export()
And finally, these are the #includes in my code:
// OpenCV includes
#include // don't need the transport headers for this routine;
#include
#include
#include
#include
...
using namespace cv;
I have read the migration guide and looked for others online, including this post: (http://answers.ros.org/question/185105/add-opencv-to-indigo/) but still not sure how to fix this. Any help is appreciated.
↧
Invoking "cmake" failed
Hello,
i am trying to install "[humanoid_navigation](http://wiki.ros.org/humanoid_navigation?distro=hydro)" package.
When i try to execute "catkin_make" i get following error:
-- Configuring incomplete, errors occurred!
See also "/home/hrishikesh/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/hrishikesh/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
did anyone encountered similar error? and how to resolve it?
Thank you
↧
eclipse and catkin_make not linking to ros.h dependencies
Hello all,
So I am working on a project where I basically want to create a node to take information from another, check it, then publish that information elsewhere. I was working on it yesterday and my coding environment was working fine(eclipse mars) however at one point yesterday it stopped recognizing all of my references to ros functions or message types. I thought it was just an eclipse specific thing so I tried to run it with catkin_make in my catkin workspace and that threw the same "undefined reference to ros*" errors as the build did in eclipse. Like I said, all was fine and dandy but now it isn't working. Below is the code for the node I am working with.
#include
#include "/opt/ros/indigo/include/ros/ros.h"
#include
#include
#include
#include
/// ROS node name
const std::string ComponentName = "vel_cmd_filter_node";
const std::string J5CommandTopic = "/j5_cmd";
const std::string MoveBaseCmd = "/cmd_vel";
/// default forward linear velocity command in m/s
const float DefaultVelocityCmd = 0.0;
/// default angular velocity command in rad/s
const float DefaultTurnRateCmd = 0.0;
/// the rate at which the component will publish commands
const int LoopRate = 10; // Hz
/// input value limits
/// these are just here for safety and do not reflect the actual limits of the platform
const double MaxVelocityCommand = 3.0;
const double MaxTurnRateCommand = 1.0;
geometry_msgs::Twist incoming;
void chatterCallback(const geometry_msgs::Twist& velcmd);
geometry_msgs::Twist getCommandMsg();
int main(int argc, char **argv) {
// get all command line arguments that aren't ROS specific
// these should be the velocity command parameters
// initialize ROS
std::vector args;
geometry_msgs::Twist velcmd;
ros::init(argc,argv, ComponentName);
ros::removeROSArgs(argc, argv, args);
ros::NodeHandle nh;
ros::Subscriber sub = nh.subscribe(MoveBaseCmd, 1000, chatterCallback);
// velocity command publisher
ros::Publisher velCmdPub = nh.advertise(J5CommandTopic, 1000);
// asynchronous spinner to receive ROS messages
ros::AsyncSpinner spinner(0);
// loop rate used to control the frequency of message publication
ros::Rate loop_rate(LoopRate);
// set up message command
geometry_msgs::Twist cmdMsg = getCommandMsg();
// run loop
spinner.start();
while (ros::ok()) {
// publish velocity command
ROS_INFO("Sending Velocity Command: {%f, %f}", cmdMsg.linear.x,
cmdMsg.angular.z);
if (cmdMsg.linear.x || cmdMsg.angular.z) {
velCmdPub.publish(cmdMsg);
}
ros::spinOnce();
loop_rate.sleep();
}
// shutdown component
spinner.stop();
ros::shutdown();
return 0;
}
void chatterCallback(const geometry_msgs::Twist& velcmd) {
ROS_INFO("I heard this velocity: [%f]", velcmd.linear.x);
ROS_INFO("I heard this rotation: [%f]", velcmd.angular.z);
incoming = velcmd;
}
geometry_msgs::Twist getCommandMsg() {
geometry_msgs::Twist msg;
// body coordinates
// x is forward linear motion
msg.linear.x = DefaultVelocityCmd;
// rotation around the Z axis
msg.angular.z = DefaultTurnRateCmd;
// all other parameters are ignored in the Twist message
// NOTE:: args[0] is the name of the
if (incoming.linear.x) {
try {
msg.linear.x = incoming.linear.x;
msg.linear.x = std::max(msg.linear.x, -MaxVelocityCommand);
msg.linear.x = std::min(msg.linear.x, MaxVelocityCommand);
}
catch (...) {
// could not parse the input, use default value
msg.linear.x = DefaultVelocityCmd;
}
}
if (incoming.angular.z) {
try {
msg.angular.z = incoming.angular.z;
msg.angular.z = std::max(msg.angular.z, -MaxTurnRateCommand);
msg.angular.z = std::min(msg.angular.z, MaxTurnRateCommand);
}
catch (...) {
// could not parse the input, use default value
msg.angular.z = DefaultTurnRateCmd;
}
}
return msg;
}
Sorry about the wonky formatting...I'm still trying to get use to this posting stuff. Please let me know if you need more info! And thanks for the help!!!
Here is my cmake file like requested!
cmake_minimum_required(VERSION 2.8.3)
project(vel_cmd_filter)
find_package(catkin REQUIRED COMPONENTS
j5_msgs
roscpp
rospy
std_msgs
genmsg
)
INCLUDE_DIRS include
LIBRARIES vel_cmd_filter
CATKIN_DEPENDS j5_msgs roscpp rospy std_msgs
DEPENDS system_lib
)
include_directories(
${catkin_INCLUDE_DIRS}
)
add_executable(vel_cmd_filter_node src/vel_cmd_filter_node.cpp)
I went through and deleted all the generated commented out things so you don't have to look at all that garbage. I also switched things around from my original post so I changed it to the most recent code.Thanks!
↧
catkin_make not linking opencv dependencies
Something has gotten screwed up on one of my machines and now `catkin_make` is not linking opencv dependencies correctly (or something along those lines), i.e., I'm am getting a long list of errors of the format: In function 'SOME OPENCV FUNCTION', undefined reference to 'X'.
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(gl_core_3_1.cpp.o): In function `IntGetProcAddress(char const*)':
(.text._ZL17IntGetProcAddressPKc+0x15): undefined reference to `glXGetProcAddressARB'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::makeKey()':
(.text._ZN2cvL7makeKeyEv+0x14): undefined reference to `pthread_key_create'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::Mutex::Mutex()':
(.text._ZN2cv5MutexC2Ev+0x1c): undefined reference to `pthread_spin_init'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::Mutex::~Mutex()':
(.text._ZN2cv5MutexD2Ev+0x34): undefined reference to `pthread_spin_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::Mutex::operator=(cv::Mutex const&)':
(.text._ZN2cv5MutexaSERKS0_+0x41): undefined reference to `pthread_spin_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::Mutex::lock()':
(.text._ZN2cv5Mutex4lockEv+0x4): undefined reference to `pthread_spin_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::Mutex::unlock()':
(.text._ZN2cv5Mutex6unlockEv+0x4): undefined reference to `pthread_spin_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::Mutex::trylock()':
(.text._ZN2cv5Mutex7trylockEv+0x8): undefined reference to `pthread_spin_trylock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::TLSDataContainer::~TLSDataContainer()':
(.text._ZN2cv16TLSDataContainerD2Ev+0x1f): undefined reference to `pthread_spin_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::TLSDataContainer::~TLSDataContainer()':
(.text._ZN2cv16TLSDataContainerD2Ev+0x42): undefined reference to `pthread_spin_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::TLSDataContainer::~TLSDataContainer()':
(.text._ZN2cv16TLSDataContainerD2Ev+0x10f): undefined reference to `pthread_spin_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::TLSStorage::~TLSStorage()':
(.text._ZN2cv10TLSStorageD2Ev+0x3d): undefined reference to `pthread_spin_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::TLSStorage::~TLSStorage()':
(.text._ZN2cv10TLSStorageD2Ev+0x62): undefined reference to `pthread_spin_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::TLSStorage::~TLSStorage()':
(.text._ZN2cv10TLSStorageD2Ev+0xcd): undefined reference to `pthread_spin_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::TLSDataContainer::TLSDataContainer()':
(.text._ZN2cv16TLSDataContainerC2Ev+0x24): undefined reference to `pthread_spin_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::TLSDataContainer::TLSDataContainer()':
(.text._ZN2cv16TLSDataContainerC2Ev+0x6d): undefined reference to `pthread_spin_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::TLSDataContainer::TLSDataContainer()':
(.text._ZN2cv16TLSDataContainerC2Ev+0xab): undefined reference to `pthread_spin_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::TLSDataContainer::getData() const':
(.text._ZNK2cv16TLSDataContainer7getDataEv+0x22): undefined reference to `pthread_once'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::TLSDataContainer::getData() const':
(.text._ZNK2cv16TLSDataContainer7getDataEv+0x2d): undefined reference to `pthread_getspecific'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(system.cpp.o): In function `cv::TLSDataContainer::getData() const':
(.text._ZNK2cv16TLSDataContainer7getDataEv+0xfe): undefined reference to `pthread_setspecific'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(persistence.cpp.o): In function `icvCloseFile(CvFileStorage*)':
(.text._ZL12icvCloseFileP13CvFileStorage+0x52): undefined reference to `gzclose'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(persistence.cpp.o): In function `icvEof(CvFileStorage*)':
(.text._ZL6icvEofP13CvFileStorage+0x42): undefined reference to `gzeof'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(persistence.cpp.o): In function `icvPuts(CvFileStorage*, char const*)':
(.text._ZL7icvPutsP13CvFileStoragePKc+0x22b): undefined reference to `gzputs'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(persistence.cpp.o): In function `icvGets(CvFileStorage*, char*, int)':
(.text._ZL7icvGetsP13CvFileStoragePci+0x11a): undefined reference to `gzgets'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(persistence.cpp.o): In function `cvOpenFileStorage':
(.text.cvOpenFileStorage+0x657): undefined reference to `gzrewind'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(persistence.cpp.o): In function `cvOpenFileStorage':
(.text.cvOpenFileStorage+0xc97): undefined reference to `gzopen'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `tbb::interface6::internal::start_for, (anonymous namespace)::ProxyLoopBody, tbb::auto_partitioner const>::~start_for()':
(.text._ZN3tbb10interface68internal9start_forINS_13blocked_rangeIiEEN12_GLOBAL__N_113ProxyLoopBodyEKNS_16auto_partitionerEED2Ev+0x3): undefined reference to `vtable for tbb::task'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `tbb::interface6::internal::flag_task::~flag_task()':
(.text._ZN3tbb10interface68internal9flag_taskD2Ev[_ZN3tbb10interface68internal9flag_taskD5Ev]+0x3): undefined reference to `vtable for tbb::task'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `tbb::interface6::internal::signal_task::~signal_task()':
(.text._ZN3tbb10interface68internal11signal_taskD2Ev[_ZN3tbb10interface68internal11signal_taskD5Ev]+0x3): undefined reference to `vtable for tbb::task'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `tbb::interface6::internal::start_for, (anonymous namespace)::ProxyLoopBody, tbb::auto_partitioner const>::~start_for()':
(.text._ZN3tbb10interface68internal9start_forINS_13blocked_rangeIiEEN12_GLOBAL__N_113ProxyLoopBodyEKNS_16auto_partitionerEED0Ev+0x3): undefined reference to `vtable for tbb::task'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `tbb::interface6::internal::flag_task::~flag_task()':
(.text._ZN3tbb10interface68internal9flag_taskD0Ev[_ZN3tbb10interface68internal9flag_taskD0Ev]+0x3): undefined reference to `vtable for tbb::task'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o):(.text._ZN3tbb10interface68internal11signal_taskD0Ev[_ZN3tbb10interface68internal11signal_taskD0Ev]+0x3): more undefined references to `vtable for tbb::task' follow
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `tbb::task_scheduler_init::~task_scheduler_init()':
(.text._ZN3tbb19task_scheduler_initD2Ev[_ZN3tbb19task_scheduler_initD5Ev]+0x7): undefined reference to `tbb::task_scheduler_init::terminate()'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `tbb::interface6::internal::start_for, (anonymous namespace)::ProxyLoopBody, tbb::auto_partitioner const>::execute()':
(.text._ZN3tbb10interface68internal9start_forINS_13blocked_rangeIiEEN12_GLOBAL__N_113ProxyLoopBodyEKNS_16auto_partitionerEE7executeEv+0xcd): undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned long) const'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `tbb::interface6::internal::start_for, (anonymous namespace)::ProxyLoopBody, tbb::auto_partitioner const>::execute()':
(.text._ZN3tbb10interface68internal9start_forINS_13blocked_rangeIiEEN12_GLOBAL__N_113ProxyLoopBodyEKNS_16auto_partitionerEE7executeEv+0xf8): undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned long) const'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `tbb::interface6::internal::start_for, (anonymous namespace)::ProxyLoopBody, tbb::auto_partitioner const>::execute()':
(.text._ZN3tbb10interface68internal9start_forINS_13blocked_rangeIiEEN12_GLOBAL__N_113ProxyLoopBodyEKNS_16auto_partitionerEE7executeEv+0x1b4): undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned long) const'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `tbb::interface6::internal::start_for, (anonymous namespace)::ProxyLoopBody, tbb::auto_partitioner const>::execute()':
(.text._ZN3tbb10interface68internal9start_forINS_13blocked_rangeIiEEN12_GLOBAL__N_113ProxyLoopBodyEKNS_16auto_partitionerEE7executeEv+0x1df): undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned long) const'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `tbb::interface6::internal::start_for, (anonymous namespace)::ProxyLoopBody, tbb::auto_partitioner const>::execute()':
(.text._ZN3tbb10interface68internal9start_forINS_13blocked_rangeIiEEN12_GLOBAL__N_113ProxyLoopBodyEKNS_16auto_partitionerEE7executeEv+0x36d): undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned long) const'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `tbb::interface6::internal::start_for, (anonymous namespace)::ProxyLoopBody, tbb::auto_partitioner const>::execute()':
(.text._ZN3tbb10interface68internal9start_forINS_13blocked_rangeIiEEN12_GLOBAL__N_113ProxyLoopBodyEKNS_16auto_partitionerEE7executeEv+0x3a5): undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned long) const'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `tbb::interface6::internal::start_for, (anonymous namespace)::ProxyLoopBody, tbb::auto_partitioner const>::execute()':
(.text._ZN3tbb10interface68internal9start_forINS_13blocked_rangeIiEEN12_GLOBAL__N_113ProxyLoopBodyEKNS_16auto_partitionerEE7executeEv+0x548): undefined reference to `tbb::task_group_context::is_group_execution_cancelled() const'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `cv::parallel_for_(cv::Range const&, cv::ParallelLoopBody const&, double)':
(.text._ZN2cv13parallel_for_ERKNS_5RangeERKNS_16ParallelLoopBodyEd+0xcd): undefined reference to `tbb::task_group_context::init()'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `cv::parallel_for_(cv::Range const&, cv::ParallelLoopBody const&, double)':
(.text._ZN2cv13parallel_for_ERKNS_5RangeERKNS_16ParallelLoopBodyEd+0xde): undefined reference to `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned long) const'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `cv::parallel_for_(cv::Range const&, cv::ParallelLoopBody const&, double)':
(.text._ZN2cv13parallel_for_ERKNS_5RangeERKNS_16ParallelLoopBodyEd+0x116): undefined reference to `tbb::internal::get_initial_auto_partitioner_divisor()'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `cv::parallel_for_(cv::Range const&, cv::ParallelLoopBody const&, double)':
(.text._ZN2cv13parallel_for_ERKNS_5RangeERKNS_16ParallelLoopBodyEd+0x13a): undefined reference to `tbb::task_group_context::~task_group_context()'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `cv::parallel_for_(cv::Range const&, cv::ParallelLoopBody const&, double)':
(.text._ZN2cv13parallel_for_ERKNS_5RangeERKNS_16ParallelLoopBodyEd+0x17d): undefined reference to `tbb::task_group_context::~task_group_context()'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `cv::parallel_for_(cv::Range const&, cv::ParallelLoopBody const&, double)':
(.text._ZN2cv13parallel_for_ERKNS_5RangeERKNS_16ParallelLoopBodyEd+0x18f): undefined reference to `vtable for tbb::task'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `cv::parallel_for_(cv::Range const&, cv::ParallelLoopBody const&, double)':
(.text._ZN2cv13parallel_for_ERKNS_5RangeERKNS_16ParallelLoopBodyEd+0x19d): undefined reference to `tbb::internal::allocate_root_with_context_proxy::free(tbb::task&) const'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `cv::getNumThreads()':
(.text._ZN2cv13getNumThreadsEv+0x31): undefined reference to `tbb::task_scheduler_init::default_num_threads()'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `cv::setNumThreads(int)':
(.text._ZN2cv13setNumThreadsEi+0x19): undefined reference to `tbb::task_scheduler_init::terminate()'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `cv::setNumThreads(int)':
(.text._ZN2cv13setNumThreadsEi+0x2a): undefined reference to `tbb::task_scheduler_init::initialize(int)'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o): In function `_GLOBAL__sub_I__ZN2cv16ParallelLoopBodyD2Ev':
(.text.startup._GLOBAL__sub_I__ZN2cv16ParallelLoopBodyD2Ev+0x1f): undefined reference to `tbb::task_scheduler_init::initialize(int, unsigned long)'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o):(.rodata._ZTIN3tbb10interface68internal11signal_taskE[_ZTIN3tbb10interface68internal11signal_taskE]+0x10): undefined reference to `typeinfo for tbb::task'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o):(.rodata+0x90): undefined reference to `typeinfo for tbb::task'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o):(.rodata._ZTIN3tbb10interface68internal9flag_taskE[_ZTIN3tbb10interface68internal9flag_taskE]+0x10): undefined reference to `typeinfo for tbb::task'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o):(.rodata._ZTVN3tbb10interface68internal9flag_taskE[_ZTVN3tbb10interface68internal9flag_taskE]+0x28): undefined reference to `tbb::task::note_affinity(unsigned short)'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(parallel.cpp.o):(.rodata._ZTVN3tbb10interface68internal11signal_taskE[_ZTVN3tbb10interface68internal11signal_taskE]+0x28): undefined reference to `tbb::task::note_affinity(unsigned short)'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(rand.cpp.o): In function `cv::theRNG()':
(.text._ZN2cv6theRNGEv+0xc): undefined reference to `pthread_once'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(rand.cpp.o): In function `cv::theRNG()':
(.text._ZN2cv6theRNGEv+0x17): undefined reference to `pthread_getspecific'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(rand.cpp.o): In function `cv::theRNG()':
(.text._ZN2cv6theRNGEv+0x4f): undefined reference to `pthread_setspecific'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_core.a(rand.cpp.o): In function `cv::makeRNGKey()':
(.text._ZN2cvL10makeRNGKeyEv+0x14): undefined reference to `pthread_key_create'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_class_init(_CvImageWidgetClass*)':
(.text._ZL24cvImageWidget_class_initP19_CvImageWidgetClass+0xa): undefined reference to `gtk_widget_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_class_init(_CvImageWidgetClass*)':
(.text._ZL24cvImageWidget_class_initP19_CvImageWidgetClass+0x15): undefined reference to `gtk_type_class'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_class_init(_CvImageWidgetClass*)':
(.text._ZL24cvImageWidget_class_initP19_CvImageWidgetClass+0x20): undefined reference to `g_type_check_class_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvWindowThreadLoop()':
(.text._ZL19icvWindowThreadLoopv+0x10): undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvWindowThreadLoop()':
(.text._ZL19icvWindowThreadLoopv+0x17): undefined reference to `gtk_main_iteration_do'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvWindowThreadLoop()':
(.text._ZL19icvWindowThreadLoopv+0x23): undefined reference to `g_mutex_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvWindowThreadLoop()':
(.text._ZL19icvWindowThreadLoopv+0x2d): undefined reference to `g_usleep'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvWindowThreadLoop()':
(.text._ZL19icvWindowThreadLoopv+0x32): undefined reference to `g_thread_yield'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvOnTrackbar(_GtkWidget*, void*)':
(.text._ZL13icvOnTrackbarP10_GtkWidgetPv+0xd): undefined reference to `gtk_range_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvOnTrackbar(_GtkWidget*, void*)':
(.text._ZL13icvOnTrackbarP10_GtkWidgetPv+0x18): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvOnTrackbar(_GtkWidget*, void*)':
(.text._ZL13icvOnTrackbarP10_GtkWidgetPv+0x20): undefined reference to `gtk_range_get_value'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvDeleteWindow(CvWindow*)':
(.text._ZL15icvDeleteWindowP8CvWindow+0x40): undefined reference to `gtk_widget_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvDeleteWindow(CvWindow*)':
(.text._ZL15icvDeleteWindowP8CvWindow+0x98): undefined reference to `g_cond_broadcast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvOnKeyPress(_GtkWidget*, _GdkEventKey*, void*)':
(.text._ZL13icvOnKeyPressP10_GtkWidgetP12_GdkEventKeyPv+0x68): undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvOnKeyPress(_GtkWidget*, _GdkEventKey*, void*)':
(.text._ZL13icvOnKeyPressP10_GtkWidgetP12_GdkEventKeyPv+0x84): undefined reference to `g_cond_broadcast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvOnKeyPress(_GtkWidget*, _GdkEventKey*, void*)':
(.text._ZL13icvOnKeyPressP10_GtkWidgetP12_GdkEventKeyPv+0x90): undefined reference to `g_mutex_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x9f): undefined reference to `gtk_range_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0xab): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0xb9): undefined reference to `gtk_range_set_value'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0xe0): undefined reference to `gtk_object_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0xec): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x115): undefined reference to `gtk_signal_connect_full'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x11a): undefined reference to `gtk_widget_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x126): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x12e): undefined reference to `gtk_widget_queue_resize'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x181): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x196): undefined reference to `g_mutex_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x1b1): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x1ca): undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x2da): undefined reference to `gtk_hbox_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x2e7): undefined reference to `gtk_label_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x301): undefined reference to `gtk_hscale_new_with_range'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x309): undefined reference to `gtk_range_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x314): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x31e): undefined reference to `gtk_range_set_update_policy'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x323): undefined reference to `gtk_scale_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x333): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x33d): undefined reference to `gtk_scale_set_digits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x34d): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x35a): undefined reference to `gtk_scale_set_draw_value'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x363): undefined reference to `gtk_box_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x375): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x38c): undefined reference to `gtk_box_pack_start'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x396): undefined reference to `gtk_widget_show'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x3a5): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x3c0): undefined reference to `gtk_box_pack_start'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x3c8): undefined reference to `gtk_widget_show'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x3d6): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x3f0): undefined reference to `gtk_box_pack_start'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvCreateTrackbar(char const*, char const*, int*, int, void (*)(int), void (*)(int, void*), void*)':
(.text._ZL17icvCreateTrackbarPKcS0_PiiPFviEPFviPvES4_+0x3f8): undefined reference to `gtk_widget_show'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidgetSetImage(_CvImageWidget*, void const*)':
(.text._Z21cvImageWidgetSetImageP14_CvImageWidgetPKv+0x7a): undefined reference to `cvResize'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidgetSetImage(_CvImageWidget*, void const*)':
(.text._Z21cvImageWidgetSetImageP14_CvImageWidgetPKv+0x7f): undefined reference to `gtk_widget_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidgetSetImage(_CvImageWidget*, void const*)':
(.text._Z21cvImageWidgetSetImageP14_CvImageWidgetPKv+0x8a): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidgetSetImage(_CvImageWidget*, void const*)':
(.text._Z21cvImageWidgetSetImageP14_CvImageWidgetPKv+0x92): undefined reference to `gtk_widget_queue_draw'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidgetSetImage(_CvImageWidget*, void const*)':
(.text._Z21cvImageWidgetSetImageP14_CvImageWidgetPKv+0xc5): undefined reference to `gtk_widget_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidgetSetImage(_CvImageWidget*, void const*)':
(.text._Z21cvImageWidgetSetImageP14_CvImageWidgetPKv+0xd0): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidgetSetImage(_CvImageWidget*, void const*)':
(.text._Z21cvImageWidgetSetImageP14_CvImageWidgetPKv+0xd8): undefined reference to `gtk_widget_queue_resize'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_get_type()':
(.text._Z22cvImageWidget_get_typev+0x15): undefined reference to `gtk_widget_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_get_type()':
(.text._Z22cvImageWidget_get_typev+0x22): undefined reference to `gtk_type_unique'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidgetNew(int)':
(.text._Z16cvImageWidgetNewi+0x1c): undefined reference to `gtk_type_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidgetNew(int)':
(.text._Z16cvImageWidgetNewi+0x27): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidgetNew(int)':
(.text._Z16cvImageWidgetNewi+0x42): undefined reference to `gtk_widget_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidgetNew(int)':
(.text._Z16cvImageWidgetNewi+0x53): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_set_size(_GtkWidget*, int, int)':
(.text._ZL22cvImageWidget_set_sizeP10_GtkWidgetii+0x18): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_size_allocate(_GtkWidget*, _GdkRectangle*)':
(.text._ZL27cvImageWidget_size_allocateP10_GtkWidgetP13_GdkRectangle+0x30): undefined reference to `g_type_check_instance_is_a'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_size_allocate(_GtkWidget*, _GdkRectangle*)':
(.text._ZL27cvImageWidget_size_allocateP10_GtkWidgetP13_GdkRectangle+0x7d): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_size_allocate(_GtkWidget*, _GdkRectangle*)':
(.text._ZL27cvImageWidget_size_allocateP10_GtkWidgetP13_GdkRectangle+0xbb): undefined reference to `cvResize'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_size_allocate(_GtkWidget*, _GdkRectangle*)':
(.text._ZL27cvImageWidget_size_allocateP10_GtkWidgetP13_GdkRectangle+0xc0): undefined reference to `gtk_object_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_size_allocate(_GtkWidget*, _GdkRectangle*)':
(.text._ZL27cvImageWidget_size_allocateP10_GtkWidgetP13_GdkRectangle+0xcb): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_size_allocate(_GtkWidget*, _GdkRectangle*)':
(.text._ZL27cvImageWidget_size_allocateP10_GtkWidgetP13_GdkRectangle+0xec): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_size_allocate(_GtkWidget*, _GdkRectangle*)':
(.text._ZL27cvImageWidget_size_allocateP10_GtkWidgetP13_GdkRectangle+0x17b): undefined reference to `gdk_window_move_resize'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_size_allocate(_GtkWidget*, _GdkRectangle*)':
(.text._ZL27cvImageWidget_size_allocateP10_GtkWidgetP13_GdkRectangle+0x197): undefined reference to `gtk_widget_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_size_allocate(_GtkWidget*, _GdkRectangle*)':
(.text._ZL27cvImageWidget_size_allocateP10_GtkWidgetP13_GdkRectangle+0x1a2): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_size_allocate(_GtkWidget*, _GdkRectangle*)':
(.text._ZL27cvImageWidget_size_allocateP10_GtkWidgetP13_GdkRectangle+0x4d): undefined reference to `g_return_if_fail_warning'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_size_allocate(_GtkWidget*, _GdkRectangle*)':
(.text._ZL27cvImageWidget_size_allocateP10_GtkWidgetP13_GdkRectangle+0x119): undefined reference to `gdk_window_move_resize'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_size_allocate(_GtkWidget*, _GdkRectangle*)':
(.text._ZL27cvImageWidget_size_allocateP10_GtkWidgetP13_GdkRectangle+0x1b2): undefined reference to `gtk_widget_queue_resize'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_size_request(_GtkWidget*, _GtkRequisition*)':
(.text._ZL26cvImageWidget_size_requestP10_GtkWidgetP15_GtkRequisition+0x18): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_realize(_GtkWidget*)':
(.text._ZL21cvImageWidget_realizeP10_GtkWidget+0x2a): undefined reference to `g_type_check_instance_is_a'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_realize(_GtkWidget*)':
(.text._ZL21cvImageWidget_realizeP10_GtkWidget+0x3f): undefined reference to `g_return_if_fail_warning'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_realize(_GtkWidget*)':
(.text._ZL21cvImageWidget_realizeP10_GtkWidget+0x51): undefined reference to `gtk_object_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_realize(_GtkWidget*)':
(.text._ZL21cvImageWidget_realizeP10_GtkWidget+0x5c): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_realize(_GtkWidget*)':
(.text._ZL21cvImageWidget_realizeP10_GtkWidget+0x94): undefined reference to `gtk_widget_get_events'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_realize(_GtkWidget*)':
(.text._ZL21cvImageWidget_realizeP10_GtkWidget+0xa5): undefined reference to `gtk_widget_get_visual'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_realize(_GtkWidget*)':
(.text._ZL21cvImageWidget_realizeP10_GtkWidget+0xb2): undefined reference to `gtk_widget_get_colormap'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_realize(_GtkWidget*)':
(.text._ZL21cvImageWidget_realizeP10_GtkWidget+0xcc): undefined reference to `gdk_window_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_realize(_GtkWidget*)':
(.text._ZL21cvImageWidget_realizeP10_GtkWidget+0xdc): undefined reference to `gtk_style_attach'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_realize(_GtkWidget*)':
(.text._ZL21cvImageWidget_realizeP10_GtkWidget+0xec): undefined reference to `gdk_window_set_user_data'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_realize(_GtkWidget*)':
(.text._ZL21cvImageWidget_realizeP10_GtkWidget+0xfe): undefined reference to `gtk_style_set_background'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_realize(_GtkWidget*)':
(.text._ZL21cvImageWidget_realizeP10_GtkWidget+0x11d): undefined reference to `g_return_if_fail_warning'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_destroy(_GtkObject*)':
(.text._ZL21cvImageWidget_destroyP10_GtkObject+0x2b): undefined reference to `g_type_check_instance_is_a'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_destroy(_GtkObject*)':
(.text._ZL21cvImageWidget_destroyP10_GtkObject+0x5c): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_destroy(_GtkObject*)':
(.text._ZL21cvImageWidget_destroyP10_GtkObject+0x76): undefined reference to `gtk_object_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_destroy(_GtkObject*)':
(.text._ZL21cvImageWidget_destroyP10_GtkObject+0x88): undefined reference to `g_type_check_class_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_destroy(_GtkObject*)':
(.text._ZL21cvImageWidget_destroyP10_GtkObject+0xa1): undefined reference to `g_type_check_class_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_destroy(_GtkObject*)':
(.text._ZL21cvImageWidget_destroyP10_GtkObject+0x46): undefined reference to `g_return_if_fail_warning'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x3d): undefined reference to `g_type_check_instance_is_a'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x52): undefined reference to `g_return_if_fail_warning'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x88): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x9f): undefined reference to `gdk_window_clear_area'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x10e): undefined reference to `gdk_draw_rgb_image'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x125): undefined reference to `gtk_widget_get_gl_context'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x12d): undefined reference to `gdk_gl_drawable_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x139): undefined reference to `gtk_widget_get_gl_window'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x144): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x152): undefined reference to `gdk_gl_drawable_gl_begin'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x169): undefined reference to `glViewport'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x173): undefined reference to `glClear'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x18a): undefined reference to `gdk_gl_drawable_is_double_buffered'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x19a): undefined reference to `gdk_gl_drawable_swap_buffers'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x1a2): undefined reference to `gdk_gl_drawable_gl_end'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x1f5): undefined reference to `g_return_if_fail_warning'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x215): undefined reference to `g_return_if_fail_warning'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x229): undefined reference to `glFlush'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvImageWidget_expose(_GtkWidget*, _GdkEventExpose*, void*)':
(.text._ZL20cvImageWidget_exposeP10_GtkWidgetP15_GdkEventExposePv+0x286): undefined reference to `gdk_draw_rgb_image'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `icvOnMouse(_GtkWidget*, _GdkEvent*, void*)':
(.text._ZL10icvOnMouseP10_GtkWidgetP9_GdkEventPv+0x19): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvInitSystem':
(.text.cvInitSystem+0x22): undefined reference to `gtk_disable_setlocale'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvInitSystem':
(.text.cvInitSystem+0x2f): undefined reference to `gtk_init'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvInitSystem':
(.text.cvInitSystem+0x3c): undefined reference to `gtk_gl_init'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvStartWindowThread':
(.text.cvStartWindowThread+0x39): undefined reference to `g_mutex_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvStartWindowThread':
(.text.cvStartWindowThread+0x45): undefined reference to `g_mutex_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvStartWindowThread':
(.text.cvStartWindowThread+0x51): undefined reference to `g_cond_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvStartWindowThread':
(.text.cvStartWindowThread+0x6b): undefined reference to `g_thread_create'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvGetModeWindow_GTK(char const*)':
(.text._Z19cvGetModeWindow_GTKPKc+0x41): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvGetModeWindow_GTK(char const*)':
(.text._Z19cvGetModeWindow_GTKPKc+0x5a): undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvGetModeWindow_GTK(char const*)':
(.text._Z19cvGetModeWindow_GTKPKc+0x74): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvGetModeWindow_GTK(char const*)':
(.text._Z19cvGetModeWindow_GTKPKc+0x95): undefined reference to `g_mutex_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetModeWindow_GTK(char const*, double)':
(.text._Z19cvSetModeWindow_GTKPKcd+0x68): undefined reference to `gtk_window_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetModeWindow_GTK(char const*, double)':
(.text._Z19cvSetModeWindow_GTKPKcd+0x74): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetModeWindow_GTK(char const*, double)':
(.text._Z19cvSetModeWindow_GTKPKcd+0x7c): undefined reference to `gtk_window_fullscreen'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetModeWindow_GTK(char const*, double)':
(.text._Z19cvSetModeWindow_GTKPKcd+0xc1): undefined reference to `gtk_window_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetModeWindow_GTK(char const*, double)':
(.text._Z19cvSetModeWindow_GTKPKcd+0xcd): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetModeWindow_GTK(char const*, double)':
(.text._Z19cvSetModeWindow_GTKPKcd+0xd5): undefined reference to `gtk_window_unfullscreen'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetModeWindow_GTK(char const*, double)':
(.text._Z19cvSetModeWindow_GTKPKcd+0xeb): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetModeWindow_GTK(char const*, double)':
(.text._Z19cvSetModeWindow_GTKPKcd+0x139): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetModeWindow_GTK(char const*, double)':
(.text._Z19cvSetModeWindow_GTKPKcd+0x152): undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetModeWindow_GTK(char const*, double)':
(.text._Z19cvSetModeWindow_GTKPKcd+0x161): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetModeWindow_GTK(char const*, double)':
(.text._Z19cvSetModeWindow_GTKPKcd+0x17a): undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetModeWindow_GTK(char const*, double)':
(.text._Z19cvSetModeWindow_GTKPKcd+0x105): undefined reference to `g_mutex_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetOpenGlContext':
(.text.cvSetOpenGlContext+0x29): undefined reference to `gtk_widget_get_gl_context'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetOpenGlContext':
(.text.cvSetOpenGlContext+0x31): undefined reference to `gdk_gl_drawable_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetOpenGlContext':
(.text.cvSetOpenGlContext+0x3d): undefined reference to `gtk_widget_get_gl_window'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetOpenGlContext':
(.text.cvSetOpenGlContext+0x48): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetOpenGlContext':
(.text.cvSetOpenGlContext+0x53): undefined reference to `gdk_gl_drawable_make_current'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x16d): undefined reference to `gtk_window_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x17a): undefined reference to `gtk_vbox_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x191): undefined reference to `gtk_box_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x19d): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x1b5): undefined reference to `gtk_box_pack_end'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x1be): undefined reference to `gtk_widget_show'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x1c3): undefined reference to `gtk_container_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x1d3): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x1de): undefined reference to `gtk_container_add'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x1e7): undefined reference to `gtk_widget_show'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x208): undefined reference to `gtk_object_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x217): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x240): undefined reference to `gtk_signal_connect_full'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x24c): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x275): undefined reference to `gtk_signal_connect_full'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x281): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x2aa): undefined reference to `gtk_signal_connect_full'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x2b6): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x2df): undefined reference to `gtk_signal_connect_full'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x2eb): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x314): undefined reference to `gtk_signal_connect_full'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x320): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x349): undefined reference to `gtk_signal_connect_full'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x357): undefined reference to `gtk_widget_add_events'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x360): undefined reference to `gtk_widget_show'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x365): undefined reference to `gtk_window_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x379): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x384): undefined reference to `gtk_window_set_title'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x3aa): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x3b7): undefined reference to `gtk_window_set_resizable'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x411): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x426): undefined reference to `g_mutex_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x441): undefined reference to `gtk_widget_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x44d): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x45c): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x471): undefined reference to `gtk_window_set_geometry_hints'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x486): undefined reference to `gdk_gl_config_new_by_mode'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x4ae): undefined reference to `gtk_widget_set_gl_capability'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x4c9): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvNamedWindow':
(.text.cvNamedWindow+0x4e2): undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvUpdateWindow':
(.text.cvUpdateWindow+0x14): undefined reference to `gtk_widget_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvUpdateWindow':
(.text.cvUpdateWindow+0x20): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvUpdateWindow':
(.text.cvUpdateWindow+0x29): undefined reference to `gtk_widget_queue_draw'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvDestroyWindow':
(.text.cvDestroyWindow+0x39): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvDestroyWindow':
(.text.cvDestroyWindow+0x59): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvDestroyWindow':
(.text.cvDestroyWindow+0x6e): undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvDestroyWindow':
(.text.cvDestroyWindow+0x4f): undefined reference to `g_mutex_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvDestroyAllWindows':
(.text.cvDestroyAllWindows+0x31): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvDestroyAllWindows':
(.text.cvDestroyAllWindows+0x46): undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvDestroyAllWindows':
(.text.cvDestroyAllWindows+0x51): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvDestroyAllWindows':
(.text.cvDestroyAllWindows+0x6a): undefined reference to `g_mutex_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvShowImage':
(.text.cvShowImage+0x155): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvShowImage':
(.text.cvShowImage+0x181): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvShowImage':
(.text.cvShowImage+0x19a): undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvShowImage':
(.text.cvShowImage+0x1a9): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvShowImage':
(.text.cvShowImage+0x1be): undefined reference to `g_mutex_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvResizeWindow':
(.text.cvResizeWindow+0x31): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvResizeWindow':
(.text.cvResizeWindow+0x43): undefined reference to `gtk_window_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvResizeWindow':
(.text.cvResizeWindow+0x52): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvResizeWindow':
(.text.cvResizeWindow+0x5f): undefined reference to `gtk_window_set_resizable'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvResizeWindow':
(.text.cvResizeWindow+0x6b): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvResizeWindow':
(.text.cvResizeWindow+0x79): undefined reference to `gtk_window_resize'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvResizeWindow':
(.text.cvResizeWindow+0x99): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvResizeWindow':
(.text.cvResizeWindow+0xc1): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvResizeWindow':
(.text.cvResizeWindow+0xda): undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvResizeWindow':
(.text.cvResizeWindow+0xb6): undefined reference to `g_mutex_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvMoveWindow':
(.text.cvMoveWindow+0x2a): undefined reference to `gtk_window_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvMoveWindow':
(.text.cvMoveWindow+0x36): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvMoveWindow':
(.text.cvMoveWindow+0x43): undefined reference to `gtk_window_move'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvMoveWindow':
(.text.cvMoveWindow+0x61): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvMoveWindow':
(.text.cvMoveWindow+0x76): undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvMoveWindow':
(.text.cvMoveWindow+0x81): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvMoveWindow':
(.text.cvMoveWindow+0x9a): undefined reference to `g_mutex_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetTrackbarPos':
(.text.cvSetTrackbarPos+0x54): undefined reference to `gtk_range_get_type'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetTrackbarPos':
(.text.cvSetTrackbarPos+0x60): undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetTrackbarPos':
(.text.cvSetTrackbarPos+0x6c): undefined reference to `gtk_range_set_value'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetTrackbarPos':
(.text.cvSetTrackbarPos+0xa9): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetTrackbarPos':
(.text.cvSetTrackbarPos+0xd1): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetTrackbarPos':
(.text.cvSetTrackbarPos+0xea): undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvSetTrackbarPos':
(.text.cvSetTrackbarPos+0xc2): undefined reference to `g_mutex_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvWaitKey':
(.text.cvWaitKey+0x2a): undefined reference to `g_timeout_add'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvWaitKey':
(.text.cvWaitKey+0x40): undefined reference to `gtk_main_iteration_do'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvWaitKey':
(.text.cvWaitKey+0x91): undefined reference to `g_thread_self'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvWaitKey':
(.text.cvWaitKey+0xb0): undefined reference to `g_get_current_time'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvWaitKey':
(.text.cvWaitKey+0xbb): undefined reference to `g_time_val_add'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvWaitKey':
(.text.cvWaitKey+0xd1): undefined reference to `g_cond_timed_wait'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvWaitKey':
(.text.cvWaitKey+0xe5): undefined reference to `g_mutex_unlock'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvWaitKey':
(.text.cvWaitKey+0x103): undefined reference to `g_source_remove'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvWaitKey':
(.text.cvWaitKey+0x11f): undefined reference to `g_cond_wait'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libopencv_highgui.a(window_gtk.cpp.o): In function `cvWaitKey':
(.text.cvWaitKey+0x131): undefined reference to `g_mutex_unlock'
↧
↧
invoking catkin_make failed
kv@kv:~/catkin_ws$ catkin_make
Base path: /home/kv/catkin_ws
Source space: /home/kv/catkin_ws/src
Build space: /home/kv/catkin_ws/build
Devel space: /home/kv/catkin_ws/devel
Install space: /home/kv/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/kv/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/kv/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/kv/catkin_ws/devel;/opt/ros/indigo
-- This workspace overlays: /home/kv/catkin_ws/devel;/opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/kv/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.16
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner_tutorials'
-- ==> add_subdirectory(beginner_tutorials)
-- Using these message generators: gencpp;genlisp;genpy
-- beginner_tutorials: 1 messages, 1 services
-- Configuring done
CMake Error at beginner_tutorials/CMakeLists.txt:211 (add_executable):
Cannot find source file:
src/add_two_ints_client.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
-- Build files have been written to: /home/kv/catkin_ws/build
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
---
Edit:
kv@kv:~/catkin_ws/src$ ls
add_two_ints_client.cpp beginner_tutorials
add_two_ints_server.cpp CMakeLists.txt
↧
Multiple definition of main error in catkin_make
What am I doing wrong. I checked [this](http://answers.ros.org/question/67128/ros-service-why-do-i-have-multiple-definitions-of-main/) but the add_executables seem to be ok. [This is my cmakeList.txt](https://drive.google.com/file/d/0B_MzoTKF7WAibTBiSUdONXZIZ1k/view?usp=sharing)
If i only use the server and client example it error is the same. Did I mix something up? [ 94%] Built target listener Scanning dependencies of target add_two_ints_server [100%] Building CXX object test_my_env/CMakeFiles/add_two_ints_server.dir/src/add_two_ints_server.cpp.o Linking CXX shared library /home/baum/catkin_ws/devel/lib/libmy_test_lib.so CMakeFiles/my_test_lib.dir/src/listener.cpp.o: In function `main': listener.cpp:(.text+0x15c): multiple definition of `main' CMakeFiles/my_test_lib.dir/src/talker.cpp.o:talker.cpp:(.text+0x0): first defined here CMakeFiles/my_test_lib.dir/src/add_two_ints_server.cpp.o: In function `main': add_two_ints_server.cpp:(.text+0x2b5): multiple definition of `main' CMakeFiles/my_test_lib.dir/src/talker.cpp.o:talker.cpp:(.text+0x0): first defined here CMakeFiles/my_test_lib.dir/src/add_two_ints_client.cpp.o: In function `main': add_two_ints_client.cpp:(.text+0x0): multiple definition of `main' CMakeFiles/my_test_lib.dir/src/talker.cpp.o:talker.cpp:(.text+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [/home/baum/catkin_ws/devel/lib/libmy_test_lib.so] Error 1 make[1]: *** [test_my_env/CMakeFiles/my_test_lib.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
If i only use the server and client example it error is the same. Did I mix something up? [ 94%] Built target listener Scanning dependencies of target add_two_ints_server [100%] Building CXX object test_my_env/CMakeFiles/add_two_ints_server.dir/src/add_two_ints_server.cpp.o Linking CXX shared library /home/baum/catkin_ws/devel/lib/libmy_test_lib.so CMakeFiles/my_test_lib.dir/src/listener.cpp.o: In function `main': listener.cpp:(.text+0x15c): multiple definition of `main' CMakeFiles/my_test_lib.dir/src/talker.cpp.o:talker.cpp:(.text+0x0): first defined here CMakeFiles/my_test_lib.dir/src/add_two_ints_server.cpp.o: In function `main': add_two_ints_server.cpp:(.text+0x2b5): multiple definition of `main' CMakeFiles/my_test_lib.dir/src/talker.cpp.o:talker.cpp:(.text+0x0): first defined here CMakeFiles/my_test_lib.dir/src/add_two_ints_client.cpp.o: In function `main': add_two_ints_client.cpp:(.text+0x0): multiple definition of `main' CMakeFiles/my_test_lib.dir/src/talker.cpp.o:talker.cpp:(.text+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [/home/baum/catkin_ws/devel/lib/libmy_test_lib.so] Error 1 make[1]: *** [test_my_env/CMakeFiles/my_test_lib.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
↧
How to move packages from build to devel folder
I cannot figure out why some of my packages end up inside the `devel` folder other stay inside the `build` folder (including their targets)
[Doc](http://wiki.ros.org/catkin/workspaces#Build_Space) just says:> The location of the devel space is controlled by a catkin specific CMake variable called `CATKIN_DEVEL_PREFIX`, and it defaults to `/develspace`.
How to Configure the package.xml or CMakeLists.txt properly? [Link](https://drive.google.com/file/d/0B_MzoTKF7WAiRDBlMWJCaGNrX3M/view?usp=sharing) for more info on the files
##EDIT addon
##1. I changed the order and It works. I thought this is the purpose of that command: ## Libraries are installed in a lib/ directory shared by all packages in entire ROS distro install(TARGETS my_test_lib ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION}) ## List all your executables as TARGETS to be installed in a per-package directory # not the distro’s global bin/ directory install(TARGETS talker listener add_two_ints_server add_two_ints_client RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}) ##2. Furthermore the tutorial uses find_package with genmsg but does not mention any build_depend in the xml? Is there a difference to message_generation? I get this if I use message_generation and not genmsg: /home/baum/catkin_ws/src/test_my_env/src/add_two_ints_server.cpp:2:36: fatal error: test_my_env/AddTwoInts.h: No such file or directory #include "test_my_env/AddTwoInts.h" I feel like all `find_package(catkin REQUIRED COMPONENTS ` need to be mentioned in the run_depend tag in xml
##3. Do I need rospy also I only use roscpp. In the tutorials its often present also its c++ tut. (like addtwoints serv/client)
##4. SOLVED: Argl... I missed the header name AddTwoInts in the variable declaration test_my_env::AddTwoInts::Request
I moved the package to another workspace and now it says: [ 36%] Building CXX object test_my_env/CMakeFiles/my_test_lib.dir/src/add_two_ints_server.cpp.o [ 40%] Built target polled_camera_generate_messages_eus [ 42%] Building CXX object test_my_env/CMakeFiles/my_test_lib.dir/src/add_two_ints_client.cpp.o /home/baum/catkin_ws/src/test_my_env/src/add_two_ints_server.cpp:5:10: error: ‘Request’ is not a member of ‘test_my_env’ bool add(test_my_env::Request &req, ^ /home/baum/catkin_ws/src/test_my_env/src/add_two_ints_server.cpp:5:33: error: ‘req’ was not declared in this scope bool add(test_my_env::Request &req, ^
##EDIT addon
##1. I changed the order and It works. I thought this is the purpose of that command: ## Libraries are installed in a lib/ directory shared by all packages in entire ROS distro install(TARGETS my_test_lib ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION}) ## List all your executables as TARGETS to be installed in a per-package directory # not the distro’s global bin/ directory install(TARGETS talker listener add_two_ints_server add_two_ints_client RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}) ##2. Furthermore the tutorial uses find_package with genmsg but does not mention any build_depend in the xml? Is there a difference to message_generation? I get this if I use message_generation and not genmsg: /home/baum/catkin_ws/src/test_my_env/src/add_two_ints_server.cpp:2:36: fatal error: test_my_env/AddTwoInts.h: No such file or directory #include "test_my_env/AddTwoInts.h" I feel like all `find_package(catkin REQUIRED COMPONENTS ` need to be mentioned in the run_depend tag in xml
##3. Do I need rospy also I only use roscpp. In the tutorials its often present also its c++ tut. (like addtwoints serv/client)
##4. SOLVED: Argl... I missed the header name AddTwoInts in the variable declaration test_my_env::AddTwoInts::Request
I moved the package to another workspace and now it says: [ 36%] Building CXX object test_my_env/CMakeFiles/my_test_lib.dir/src/add_two_ints_server.cpp.o [ 40%] Built target polled_camera_generate_messages_eus [ 42%] Building CXX object test_my_env/CMakeFiles/my_test_lib.dir/src/add_two_ints_client.cpp.o /home/baum/catkin_ws/src/test_my_env/src/add_two_ints_server.cpp:5:10: error: ‘Request’ is not a member of ‘test_my_env’ bool add(test_my_env::Request &req, ^ /home/baum/catkin_ws/src/test_my_env/src/add_two_ints_server.cpp:5:33: error: ‘req’ was not declared in this scope bool add(test_my_env::Request &req, ^
↧