Eos: [OSX] [dawn-1.0] The source directory does not contain a CMakeLists.txt file.

Created on 18 Sep 2017  ·  2Comments  ·  Source: EOSIO/eos

Some preparations:

brew install --HEAD wysenynja/bitcoin/secp256k1
brew install openssl
export OPENSSL_ROOT_DIR=$(brew --prefix openssl)

CMake:

mkdir build
cd build
cmake -G Xcode ..

Result:

-- The C compiler identification is AppleClang 8.1.0.8020042
-- The CXX compiler identification is AppleClang 8.1.0.8020042
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using custom FindBoost.cmake
-- Boost version: 1.65.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
--   filesystem
--   program_options
--   signals
--   serialization
--   chrono
--   unit_test_framework
--   context
--   locale
-- Using custom FindBoost.cmake
-- Boost version: 1.65.0
-- Found the following Boost libraries:
--   coroutine
-- Configuring Eos on OS X
-- --------------------------------------------------------------------
-- No WASM compiler could be found ... (skipping building of contracts)
-- --------------------------------------------------------------------
-- Found Secp256k1: /usr/local/lib/libsecp256k1.a
-- Found GMP: /usr/local/lib/libgmp.a  
-- Configuring fc to build on Unix/Apple
-- Setting up OpenSSL root and include vars to /usr/local/opt/openssl, /usr/local/opt/openssl/include
-- Found OpenSSL: /usr/local/opt/openssl/lib/libcrypto.a (found version "1.0.2l") 
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.8") 
-- zlib found
-- Found BZip2: /usr/lib/libbz2.dylib (found version "1.0.6") 
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- bzip2 found
CMake Error at libraries/CMakeLists.txt:2 (add_subdirectory):
  The source directory

    /Users/k06a/Downloads/eos-dawn-v1.0.0/libraries/chainbase

  does not contain a CMakeLists.txt file.


CMake Error at libraries/wasm-jit/Source/Runtime/CMakeLists.txt:26 (find_package):
  Could not find a package configuration file provided by "LLVM" (requested
  version 4.0) with any of the following names:

    LLVMConfig.cmake
    llvm-config.cmake

  Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
  "LLVM_DIR" to a directory containing one of the above files.  If "LLVM"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
See also "/Users/k06a/Downloads/eos-dawn-v1.0.0/build/CMakeFiles/CMakeOutput.log".

CMakeOutput.log.zip

question

Most helpful comment

Please see the instructions at:
https://github.com/EOSIO/eos#manualdep
https://github.com/EOSIO/eos#runanode

Let me know if that helps.

Alternatively you could try run ./build.sh from eos folder to install and build in one step.

All 2 comments

Please see the instructions at:
https://github.com/EOSIO/eos#manualdep
https://github.com/EOSIO/eos#runanode

Let me know if that helps.

Alternatively you could try run ./build.sh from eos folder to install and build in one step.

@pavybez thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Npizza picture Npizza  ·  3Comments

hadramidah picture hadramidah  ·  3Comments

IvanYakimov picture IvanYakimov  ·  3Comments

xiaomaogy picture xiaomaogy  ·  3Comments

bezalel picture bezalel  ·  3Comments