how to build and run xfeatures2d examples? [closed]

asked 2018-01-04 16:59:20 -0500

Hello, I am a newbie here to work on opencv. I just built a version 3.2.0 of opencv with this config: cmake -D BUILD_TIFF=ON -D WITH_CUDA=OFF -D ENABLE_AVX=OFF -D WITH_OPENGL=OFF -D WITH_OPENCL=OFF -D WITH_IPP=OFF -D WITH_TBB=ON -D BUILD_TBB=ON -D WITH_EIGEN=OFF -D WITH_V4L=OFF -D WITH_VTK=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=~/src/opencv/opencv_contrib/modules -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON ..

  1. After building 3.2.0 with INSTALL_C_EXAMPLES=ON, many examples are built but xfeatures2d examples. How to build samples under xfeatures2d?
  2. running 'bin/example_text_webcam_demo' through turbovnc client, got errors as the following: Xlib: extension "RANDR" missing on display ":2.0" can it run over vnc?

thanks, steven

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by steven_pint
close date 2018-01-05 12:10:52.031786

Comments

1

"RANDR" missing on display ":2.0" can it run over vnc? is not an opencv problem

LBerger gravatar imageLBerger ( 2018-01-05 02:31:53 -0500 )edit

are you sure, the xfeatures2d module got built at all ? we would need to see your cmake output

berak gravatar imageberak ( 2018-01-05 04:07:48 -0500 )edit

On windows only opencv examples are copied in install folder with cmake install

LBerger gravatar imageLBerger ( 2018-01-05 05:33:31 -0500 )edit

It seems like that only v3.1.0 is able to build xfeatures2d samples properly. RANDR issue doesn't stop vnc display. so this issue is closed.

steven_pint gravatar imagesteven_pint ( 2018-01-05 12:10:22 -0500 )edit

It seems you are wrong...

LBerger gravatar imageLBerger ( 2018-01-05 12:16:44 -0500 )edit

@LBerger which one is wrong?

steven_pint gravatar imagesteven_pint ( 2018-01-05 16:43:03 -0500 )edit