2015-04-03 02:35:49 -0500 commented question Building OpenCV3.0.0 from source @StevenPuttemans, I am not sure, but I did not set any option for BUILD_SHARED_LIBS. I used the following configuration command: \$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -DMATLAB_ROOT_DIR=/usr/local/MATLAB/R2014b -DPYTHON_LIBRARY=/usr/local/lib/libpython2.7.so -DOPENCV_EXTRA_MODULES_PATH=/home/mycentos/toolbox/opencv_contrib-master/modules ../  Then when executing make, I got the error message "cannot find -lWRAP". 2015-04-03 02:15:41 -0500 commented question Building OpenCV3.0.0 from source hi.. sorry to "hijack" your thread. My question is related to the dependency problem. In the case that I want to include such module, how to satisfy the dependency? In particular, how to obtain WRAP library? (I could not find any description about the WRAP library) In LINUX, I got error like this: /usr/bin/ld: cannot find -lWRAP