You are viewing a single comment's thread from:

RE: EOS contracts: Development with the CLion IDE

in #eos7 years ago

Got below error when run the make command:

build ➤ cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain.cmake ..
-- The CXX compiler identification is Clang 4.0.1
-- Check for working CXX compiler: /usr/local/wasm/bin/clang++
-- Check for working CXX compiler: /usr/local/wasm/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/someone/workspace/eos-clion-example/build
build ➤ make
Scanning dependencies of target link
[ 25%] Building CXX object CMakeFiles/link.dir/src/hello.cpp.o
[ 50%] Linking CXX shared library liblink.dylib
clang-4.0: error: -emit-llvm cannot be used when linking
make[2]: *** [liblink.dylib] Error 1
make[1]: *** [CMakeFiles/link.dir/all] Error 2
make: *** [all] Error 2

Sort:  

I have updated the Github repository for Dawn 3.x please try again!

I met the same problem with you, did you solve it?

Coin Marketplace

STEEM 0.17
TRX 0.16
JST 0.029
BTC 62067.61
ETH 2414.80
USDT 1.00
SBD 2.57