Ask Your Question

ptran's profile - activity

2015-07-23 23:20:40 -0600 answered a question Cannot find python libraries for CMake in Opencv3.0.0

I fixed my build by making PYTHON2_LIBRARY={insert_library_path_here}/libpython.2.7.{insert_patch_number_here}.so instead of just libpython.2.7.so. After checking the OpenCV CMake configuration files, I noticed that it uses find_package(OpenCV 2.7.{insert_patch_number_here} EXACT) in order to determine PYTHONLIBS_FOUND, so I gave this change a try.

Maybe CMake 3.2 fixes the issues with their previous FindPythonLibs.cmake file, since it fixed the problem for ElanHR.