Eos: Build issue after updating: CMake Error: The current CMakeCache.txt directory

Created on 26 Jul 2018  ยท  1Comment  ยท  Source: EOSIO/eos

I just pulled latest, then tried to ./eosio_build.sh again, and this is what I am getting.

>>>>>>>> ALL dependencies sucessfully found or installed . Installing EOSIO

>>>>>>>> CMAKE_BUILD_TYPE=Release
>>>>>>>> ENABLE_COVERAGE_TESTING=false
>>>>>>>> DOXYGEN=false

CMake Error: The current CMakeCache.txt directory /home/okayplanet/dev/eos/eos/build/CMakeCache.txt is different than the directory /home/okayplanet/dev/eos/build 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 Error: The source "/home/okayplanet/dev/eos/eos/CMakeLists.txt" does not match the source "/home/okayplanet/dev/eos/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.

    >>>>>>>>>>>>>>>>>>>> CMAKE building EOSIO has exited with the above error.

Most helpful comment

Solution: remove build dir and build again.

>All comments

Solution: remove build dir and build again.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jiazechen picture jiazechen  ยท  3Comments

bezalel picture bezalel  ยท  3Comments

williamleecn picture williamleecn  ยท  3Comments

hoopslb picture hoopslb  ยท  3Comments

IvanYakimov picture IvanYakimov  ยท  3Comments