Unable to find softfloat library. mac os
-- Configuring Eos on OS X
-- Found WASM: /usr/local/wasm/bin/clang
-- Using WASM clang => /usr/local/wasm/bin/clang
-- Using WASM llc => /usr/local/wasm/bin/llc
-- Using WASM llvm-link => /usr/local/wasm/bin/llvm-link
-- Looking for softfloat library
CMake Error at CMakeModules/softfloat.cmake:4 (message):
Unable to find softfloat library
Call Stack (most recent call first):
CMakeLists.txt:197 (include)
-- Configuring incomplete, errors occurred!
when I build eos/build and cmake, the errors occurred!
Same error with Ubuntu build.
Did you use eosio_build.sh?
On Fri, Mar 9, 2018 at 6:54 AM, rjg123456789 [email protected] wrote:
Same error with Ubuntu build.
— 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/1598#issuecomment-371804799, or mute the thread https://github.com/notifications/unsubscribe-auth/AJy1W8TLhaCgIjl8yf3SrTMmfEoFWLzWks5tcnubgaJpZM4SjlF3 .
Thanks Brian, after trying that I get:
-- 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 WASM_LLC WASM_LLVM_LINK) 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:193 (include)
:(
if [ ! -d /usr/local/berkeley-softfloat-3 ]; then
# clone the library
cd ${TEMP_DIR}
mkdir softfloat
cd softfloat
git clone --depth 1 --single-branch --branch master https://github.com/ucb-bar/berkeley-softfloat-3.git
cd berkeley-softfloat-3/build/Linux-x86_64-GCC
make -j${CPU_CORE} SPECIALIZE_TYPE="8086-SSE" SOFTFLOAT_OPS="-DSOFTFLOAT_ROUND_EVEN -DINLINE_LEVEL=5 -DSOFTFLOAT_FAST_DIV32TO16 -DSOFTFLOAT_FAST_DIV64TO32"
if [ $? -ne 0 ]; then
printf "\tError compiling softfloat.\n"
printf "\tExiting now.\n\n"
exit;
fi
# no install target defined for this library
sudo mkdir -p /usr/local/berkeley-softfloat-3
sudo cp softfloat.a /usr/local/berkeley-softfloat-3/libsoftfloat.a
sudo mv ${TEMP_DIR}/softfloat/berkeley-softfloat-3/source/include /usr/local/berkeley-softfloat-3/include
sudo rm -rf ${TEMP_DIR}/softfloat
else
printf "\tsoftfloat found at /usr/local/berkeley-softfloat-3/\n"
fi
Thanks I added that into eosio_build.sh just before the build of eosio. Build went through will now start using.