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<tbb::blocked_range<int>, (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<tbb::blocked_range<int>, (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<tbb::blocked_range<int>, (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<tbb::blocked_range<int>, (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<tbb::blocked_range<int>, (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<tbb::blocked_range<int>, (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<tbb::blocked_range<int>, (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<tbb::blocked_range<int>, (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<tbb::blocked_range<int>, (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'
Asked by zqpm on 2016-01-26 11:01:38 UTC
Answers
I had the exact same error a few days ago. The first problem for me was that I had two different versions of OpenCV on my system, where the correct version had not been installed and built.
After making sure I have the correct version installed on my system, I had to add the correct path to the build directory in my .bashrc. Basically, I added this line to the end of my .bashrc:
export OpenCV_DIR=~/opencv/build
This fixed the problem for me. I hope it helps you as well!
Asked by MahdiehNejati on 2016-01-26 17:48:04 UTC
Comments
I do have the repository version and a version I built from source (for some purpose I can't remember). Setting that env variable to did not redirect the linker to the source build for me, however.
Asked by zqpm on 2016-01-27 10:44:59 UTC
Apparently a bunch of my OpenCV shared libraries were missing for some reason. Now reinstalled via 'apt-get install --reinstall ...' and compiling fine.
With the .so files missing the linker was trying to use the .a static libraries instead. My build knowledge is not that deep so I don't currently understand why that wouldn't work (in case anyone want to enlighten me).
Asked by zqpm on 2016-01-27 09:05:03 UTC
Comments
Adding following lines to your CMakeLists.txt will solve the problem. find_package(OpenCV your opencv version REQUIRED) include_directories(${OpenCV_INCLUDE_DIRS}) And also add "${OpenCV_LIBRARIES}" with ${catkin_LIBRARIES} in target_link_libraries line. for eg. target_link_libraries(your cpp file name ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
Asked by ARCHANA on 2016-01-27 12:53:29 UTC
Comments
Please format console copy/pastes using the Preformatted text button on the formatting toolbar (the one with
101010
on it). It makes things much easier to read. Thanks.Asked by gvdhoorn on 2016-01-26 12:26:07 UTC
Okay. Hope that's better.
Asked by zqpm on 2016-01-26 13:40:46 UTC
It may be helpful if you can post your
CMakeLists.txt
.Asked by Akif on 2016-01-27 02:28:10 UTC