CMake Error: The current CMakeCache.txt directory /home/alex/soft/opencv-2.4.13.6/release/CMakeCache.txt is different than the directory /home/alex/tmp/opencv-2.4.13.6/release where CMakeCache.txt was created. This may result in binaries being created in
删除 CMakeCache.txt 即可
转自:https://blog.csdn.net/weixin_39643690/article/details/81876831