Ask Your Question

Revision history [back]

how to build and run xfeatures2d examples?

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