make[2]: *** No rule to make target `../contracts/musl/libc.cpp', needed by `contracts/musl/libc.cpp.bc'. Stop.
make[1]: *** [contracts/musl/CMakeFiles/libc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** No rule to make target `../contracts/libc++/upstream/src/vector.cpp', needed by `contracts/libc++/vector.cpp.bc'. Stop.
make[1]: *** [contracts/libc++/CMakeFiles/libc++.dir/all] Error 2
[ 0%] Building LLVM bitcode eosiolib.cpp.bc
[ 0%] Built target make_doc_dir
In file included from /EOSIO/eos/contracts/eosiolib/eosiolib.cpp:1:
In file included from /EOSIO/eos/contracts/eosiolib/memory.hpp:7:
/EOSIO/eos/contracts/eosiolib/memory.h:7:10: error: 'string.h' file not found with <angled> include; use "quotes" instead
#include <string.h>
^~~~~~~~~~
"string.h"
In file included from /EOSIO/eos/contracts/eosiolib/eosiolib.cpp:1:
In file included from /EOSIO/eos/contracts/eosiolib/memory.hpp:7:
In file included from /EOSIO/eos/contracts/eosiolib/memory.h:7:
In file included from /EOSIO/eos/contracts/eosiolib/string.h:6:
/EOSIO/eos/contracts/eosiolib/types.h:8:10: fatal error: 'wchar.h' file not found
#include <wchar.h>
^~~~~~~~~
2 errors generated.
make[2]: *** [contracts/eosiolib/eosiolib.cpp.bc] Error 1
make[1]: *** [contracts/eosiolib/CMakeFiles/eosiolib.dir/all] Error 2
make: *** [all] Error 2
delete all and git clone.
You made me smile @zshchou, it's the equivalent to "reboot your computer" when things go wrong. Let's hope for the best.
libc++ & musl need. git clone the project
cd contract/libc++/upstream
git clone https://github.com/EOSIO/libcxx.git .
cd contract/musl/upstream
git clone https://github.com/EOSIO/musl.git .
then build.
@zshchou Thank you, Now Everything Is OK.
Most helpful comment
delete all and git clone.