Ask Your Question

Revision history [back]

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 toXRRGetMonitors' 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