undefined reference to `XRRFreeMonitors'
Hi,
I was trying to install opencv2.4.7 on CentOS. The following is always generated when I built
/usr/lib64/libgdk-x11-2.0.so.0: undefined reference to XRRFreeMonitors'
/usr/lib64/libgdk-x11-2.0.so.0: undefined reference to
XRRGetMonitors'
collect2: error: ld returned 1 exit status
make[2]: * [bin/opencv_test_core] Error 1
make[1]: * [modules/core/CMakeFiles/opencv_test_core.dir/all] Error 2
Any suggestions?
Thanks a lot.
Jie
"I was trying to install opencv2.4.7 on CentOS." -- how, exactly ? (please edit)
(also, why bother installingsomething that outdated ?)
installation steps I used:
git clone https://github.com/Itseez/opencv.git $ cd opencv $ git checkout tags/2.4.7 $ mkdir build $ cd build $ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local .. $ make -j8
Reason why I want to install version 2.4.7: I want to use a benchmark requiring cv2 libraries. I tried with 2.4.8.2, 2.4.9.1, 2.4.11 etc., but all failed with encountering with the same issue :-(
Thanks.