现象:

CMake Error: The current CMakeCache.txt directory /home/etouch/minigui-64/minigui/libmgeff-1.0.0/CMakeCache.txt is different than the directory /home/weiym/devel/minigui/rel-3-0/libmgeff-1.0 where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt

 

分析:

没有真正运行cmake,直接报路径错误,实际是上次cmake过后没有删除里面的缓存。

 

解决:

删除该目录下的CMakeCache.txt