Building EOS on Windows using ubuntu
I've having an issue with installing EOS blockchain on the system. So I've done ./eosio_build.sh which returns this error: CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:665 (file): file STRINGS file "/home/catley/opt/boost_1_66_0/include/boost/version.hpp" cannot be read. Call Stack (most recent call first): libraries/chainbase/CMakeLists.txt:26 (FIND_PACKAGE)
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message): Unable to find the requested Boost libraries.
Boost version: 0.0.0
Boost include path: /home/catley/opt/boost_1_66_0/include
Detected version of Boost is too old. Requested version was 1.57 (or newer). Call Stack (most recent call first): libraries/chainbase/CMakeLists.txt:26 (FIND_PACKAGE)
-- Configuring ChainBase on Linux -- Using custom FindBoost.cmake CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:665 (file): file STRINGS file "/home/catley/opt/boost_1_66_0/include/boost/version.hpp" cannot be read. Call Stack (most recent call first): libraries/appbase/CMakeLists.txt:22 (find_package)
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message): Unable to find the requested Boost libraries.
Boost version: 0.0.0
Boost include path: /home/catley/opt/boost_1_66_0/include
Detected version of Boost is too old. Requested version was 1.60 (or newer). Call Stack (most recent call first): libraries/appbase/CMakeLists.txt:22 (find_package)
-- Configuring AppBase on Linux -- Could NOT find Soci (missing: SOCI_INCLUDE_DIR SOCI_LIBRARY) -- Database SQL plugin: disabled -- Git commit revision: 60231e3e -- Git commit revision: 60231e3e -- Git commit revision: 60231e3e -- Configuring incomplete, errors occurred! See also "/mnt/c/Users/scp94/Projects/EOS/eos/build/CMakeFiles/CMakeOutput.log". See also "/mnt/c/Users/scp94/Projects/EOS/eos/build/CMakeFiles/CMakeError.log".
>>>>>>>>>>>>>>>>>>>> CMAKE building EOSIO has exited with the above error.
Also attached the CMakeError log.
Any ideas?
Update: I'm trying this ticket's solution: https://github.com/EOSIO/eos/issues/3345
I'll update if it works or not.
cp -R /home/catley/boost_1_67_0/ /home/catley/boost_1_66_0/ and relaunch eosio_build
@Catley94 @maxb14 run the following commands (capture stdout and paste it here if you run into any further issues)
rm -rf ${HOME}/opt/boost* cd /path/to/eos rm -rf build/ git pull git submodule update --init --recursive ./eosio_build.sh
How do I capture stdout?
use "tee" or just redirect as usual... ./eosio_build.sh 2>&1 > build.log
Had the same problem and it was because my local was corrupted, so i did git reset to master head and it compiled.
git checkout master
git reset --hard
./eosio_build.sh