eos icon indicating copy to clipboard operation
eos copied to clipboard

mac os with build error

Open wengjunxiao opened this issue 8 years ago • 5 comments

when I build the code use the commend with mac os bellow:

git clone https://github.com/eosio/eos --recursive cd eos ./eosio_build.sh

I get the error bellow, do somebody know how to solve it ?

-- Configuring Eos on OS X -- binaryen building with -std=c++11 -- binaryen building for platform x86-64 -- binaryen building with -Wall -- binaryen building with -Werror -- binaryen building with -Wextra -- binaryen building with -Wno-unused-parameter -- binaryen building with -fno-omit-frame-pointer -- binaryen building with -fPIC -- binaryen building with -O2 -- binaryen building with -UNDEBUG -- Could NOT find WASM (missing: WASM_CLANG) CMake Error at CMakeModules/wasm.cmake:8 (message): No WASM compiler cound be found (make sure WASM_ROOT is set) Call Stack (most recent call first): CMakeLists.txt:194 (include)

-- Configuring incomplete, errors occurred! See also "/Users/weng/eos/build/CMakeFiles/CMakeOutput.log".

wengjunxiao avatar Mar 24 '18 11:03 wengjunxiao

./eosio_build.sh darwin

That’s it

On 24 Mar 2018, at 7:43 PM, wengjunxiao [email protected] wrote:

when I build the code use the commend with mac os bellow:

git clone https://github.com/eosio/eos https://github.com/eosio/eos --recursive cd eos ./eosio_build.sh

I get the error bellow, do somebody know how to solve it ?

-- Configuring Eos on OS X -- binaryen building with -std=c++11 -- binaryen building for platform x86-64 -- binaryen building with -Wall -- binaryen building with -Werror -- binaryen building with -Wextra -- binaryen building with -Wno-unused-parameter -- binaryen building with -fno-omit-frame-pointer -- binaryen building with -fPIC -- binaryen building with -O2 -- binaryen building with -UNDEBUG -- Could NOT find WASM (missing: WASM_CLANG) CMake Error at CMakeModules/wasm.cmake:8 (message): No WASM compiler cound be found (make sure WASM_ROOT is set) Call Stack (most recent call first): CMakeLists.txt:194 (include)

-- Configuring incomplete, errors occurred! See also "/Users/weng/eos/build/CMakeFiles/CMakeOutput.log".

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/1812, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad6ZPod2XHcswQ1q_3aG73Hyy40unXNWks5thjFHgaJpZM4S5tEw.

ghost avatar Mar 24 '18 14:03 ghost

I am unable to reproduce this on a clean install of MacOS High Sierra 10.13.3. Can you provide the full output of eosio_build.sh?

ericiles avatar Mar 24 '18 22:03 ericiles

I have solved it by add the clang to my wasm directory, thank you

wengjunxiao avatar Mar 25 '18 14:03 wengjunxiao

I didn’t notice the script has been changed. That’s not the problem of “darwin”.

All things go will on macOS 10.13.3.

On 24 Mar 2018, at 7:43 PM, wengjunxiao [email protected] wrote:

when I build the code use the commend with mac os bellow:

git clone https://github.com/eosio/eos https://github.com/eosio/eos --recursive cd eos ./eosio_build.sh

I get the error bellow, do somebody know how to solve it ?

-- Configuring Eos on OS X -- binaryen building with -std=c++11 -- binaryen building for platform x86-64 -- binaryen building with -Wall -- binaryen building with -Werror -- binaryen building with -Wextra -- binaryen building with -Wno-unused-parameter -- binaryen building with -fno-omit-frame-pointer -- binaryen building with -fPIC -- binaryen building with -O2 -- binaryen building with -UNDEBUG -- Could NOT find WASM (missing: WASM_CLANG) CMake Error at CMakeModules/wasm.cmake:8 (message): No WASM compiler cound be found (make sure WASM_ROOT is set) Call Stack (most recent call first): CMakeLists.txt:194 (include)

-- Configuring incomplete, errors occurred! See also "/Users/weng/eos/build/CMakeFiles/CMakeOutput.log".

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/1812, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad6ZPod2XHcswQ1q_3aG73Hyy40unXNWks5thjFHgaJpZM4S5tEw.

ghost avatar Mar 26 '18 02:03 ghost

I have solved it by add the clang to my wasm directory, thank you

@wengjunxiao can you elaborate that ? I am having the same issue. Do I need to follow the steps here : https://clang.llvm.org/get_started.html ?

nishant-birdeye avatar Oct 14 '18 12:10 nishant-birdeye