tpoechtrager / wclang

Cross compile source code easily for Windows with clang on Linux/Unix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot find -lc++abi

gorazdko opened this issue · comments

Hi, I would like to ask for help on how to resolve this, as I'm new to this.

make[1]: Entering directory '/home/gorazd/Projects/BlockchainCommons/Windows/bc-seedtool-cli/deps/bc-ur/test'
x86_64-w64-mingw32-clang  -L/home/gorazd/Projects/BlockchainCommons/Windows/bc-seedtool-cli/sysroot/lib -lstdc++  test.o ../src/libbc-ur.a test-utils.o  -lm -lc++ -lc++abi -lgcc_s -lgcc -o test
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lc++
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lc++abi
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Remove -lc++ -lc++abi from the linker flags. MinGW-Clang uses libstdc++.