Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

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

Closed
wildfunctions opened this issue Jul 26, 2018 · 1 comment

Comments

@wildfunctions
Copy link

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.
@wildfunctions
Copy link
Author

Solution: remove build dir and build again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant