icu_sqlite3_for_android icon indicating copy to clipboard operation
icu_sqlite3_for_android copied to clipboard

fatal error: 'unicode/utypes.h' file not found

Open YaweiWang opened this issue 1 year ago • 2 comments

hello, when I run build.sh, it occurs error, fatal error: 'unicode/utypes.h' file not found,this is log:

Apple clang version 11.0.0 (clang-1100.0.33.17) Target: x86_64-apple-darwin20.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.15.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name shell.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.15 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -ggnu-pubnames -target-linker-version 530 -v -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I /Users/david/work/icu_sqlite3_for_android/sqlite3/src/main/jni/sqlite/ -D SQLITE_THREADSAFE=0 -D SQLITE_ENABLE_FTS3 -D SQLITE_ENABLE_FTS4 -D SQLITE_ENABLE_FTS5 -D SQLITE_ENABLE_JSON1 -D SQLITE_ENABLE_RTREE -D SQLITE_ENABLE_EXPLAIN_COMMNETS -D SQLITE_ENABLE_ICU -D HAVE_READLINE -D SQLITE_ENABLE_LOAD_EXTENSION=1 -I/usr/local/include -Os -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-extra-semi-stmt -Wno-quoted-include-in-framework-header -fdebug-compilation-dir /Users/david/work/icu_sqlite3_for_android/host -ferror-limit 19 -fmessage-length 224 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.15.0 -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o /var/folders/5g/26_rk1fx11sc208nfmypf_kr0000gn/T/shell-075ca7.o -x c /Users/david/work/icu_sqlite3_for_android/host/shell.c clang -cc1 version 11.0.0 (clang-1100.0.33.17) default target x86_64-apple-darwin20.3.0 ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/local/include" ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Users/david/work/icu_sqlite3_for_android/sqlite3/src/main/jni/sqlite /usr/local/include /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include /Library/Developer/CommandLineTools/usr/include /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks (framework directory) End of search list. "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.15.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name sqlite3.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.15 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -ggnu-pubnames -target-linker-version 530 -v -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I /Users/david/work/icu_sqlite3_for_android/sqlite3/src/main/jni/sqlite/ -D SQLITE_THREADSAFE=0 -D SQLITE_ENABLE_FTS3 -D SQLITE_ENABLE_FTS4 -D SQLITE_ENABLE_FTS5 -D SQLITE_ENABLE_JSON1 -D SQLITE_ENABLE_RTREE -D SQLITE_ENABLE_EXPLAIN_COMMNETS -D SQLITE_ENABLE_ICU -D HAVE_READLINE -D SQLITE_ENABLE_LOAD_EXTENSION=1 -I/usr/local/include -Os -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-extra-semi-stmt -Wno-quoted-include-in-framework-header -fdebug-compilation-dir /Users/david/work/icu_sqlite3_for_android/host -ferror-limit 19 -fmessage-length 224 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.15.0 -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o /var/folders/5g/26_rk1fx11sc208nfmypf_kr0000gn/T/sqlite3-9f3164.o -x c /Users/david/work/icu_sqlite3_for_android/sqlite3/src/main/jni/sqlite/sqlite3.c clang -cc1 version 11.0.0 (clang-1100.0.33.17) default target x86_64-apple-darwin20.3.0 ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/local/include" ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Users/david/work/icu_sqlite3_for_android/sqlite3/src/main/jni/sqlite /usr/local/include /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include /Library/Developer/CommandLineTools/usr/include /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks (framework directory) End of search list. /Users/david/work/icu_sqlite3_for_android/sqlite3/src/main/jni/sqlite/sqlite3.c:20839:17: warning: 'OSAtomicCompareAndSwapPtrBarrier' is deprecated: first deprecated in macOS 10.12 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead [-Wdeprecated-declarations] success = OSAtomicCompareAndSwapPtrBarrier(NULL, newzone, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:547:6: note: 'OSAtomicCompareAndSwapPtrBarrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwapPtrBarrier( void *__oldValue, void *__newValue, void * volatile *__theValue ); ^ /Users/david/work/icu_sqlite3_for_android/sqlite3/src/main/jni/sqlite/sqlite3.c:166750:10: fatal error: 'unicode/utypes.h' file not found #include <unicode/utypes.h> ^~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. Apple clang version 11.0.0 (clang-1100.0.33.17) Target: x86_64-apple-darwin20.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.15.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name offsets_rank.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.15 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -ggnu-pubnames -target-linker-version 530 -v -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I /Users/david/work/icu_sqlite3_for_android/sqlite3/src/main/jni/sqlite/ -I /Users/david/work/icu_sqlite3_for_android/builtin_extensions/jni -I/usr/local/include -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-extra-semi-stmt -Wno-quoted-include-in-framework-header -fdebug-compilation-dir /Users/david/work/icu_sqlite3_for_android/host -ferror-limit 19 -fmessage-length 224 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.15.0 -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/5g/26_rk1fx11sc208nfmypf_kr0000gn/T/offsets_rank-cf5ff6.o -x c /Users/david/work/icu_sqlite3_for_android/builtin_extensions/jni/offsets_rank.c clang -cc1 version 11.0.0 (clang-1100.0.33.17) default target x86_64-apple-darwin20.3.0 ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/local/include" ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Users/david/work/icu_sqlite3_for_android/sqlite3/src/main/jni/sqlite /Users/david/work/icu_sqlite3_for_android/builtin_extensions/jni /usr/local/include /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include /Library/Developer/CommandLineTools/usr/include /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks (framework directory) End of search list. "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -no_deduplicate -dynamic -dylib -arch x86_64 -macosx_version_min 10.15.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o /Users/david/work/icu_sqlite3_for_android/host/out/offsets_rank.dylib /var/folders/5g/26_rk1fx11sc208nfmypf_kr0000gn/T/offsets_rank-cf5ff6.o -L/usr/local/lib -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a Apple clang version 11.0.0 (clang-1100.0.33.17) Target: x86_64-apple-darwin20.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.15.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name okapi_bm25.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.15 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -ggnu-pubnames -target-linker-version 530 -v -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I /Users/david/work/icu_sqlite3_for_android/sqlite3/src/main/jni/sqlite/ -I /Users/david/work/icu_sqlite3_for_android/builtin_extensions/jni -I/usr/local/include -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-extra-semi-stmt -Wno-quoted-include-in-framework-header -fdebug-compilation-dir /Users/david/work/icu_sqlite3_for_android/host -ferror-limit 19 -fmessage-length 224 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.15.0 -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/5g/26_rk1fx11sc208nfmypf_kr0000gn/T/okapi_bm25-98c450.o -x c /Users/david/work/icu_sqlite3_for_android/builtin_extensions/jni/okapi_bm25.c clang -cc1 version 11.0.0 (clang-1100.0.33.17) default target x86_64-apple-darwin20.3.0 ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/local/include" ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Users/david/work/icu_sqlite3_for_android/sqlite3/src/main/jni/sqlite /Users/david/work/icu_sqlite3_for_android/builtin_extensions/jni /usr/local/include /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include /Library/Developer/CommandLineTools/usr/include /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks (framework directory) End of search list. "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -no_deduplicate -dynamic -dylib -arch x86_64 -macosx_version_min 10.15.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o /Users/david/work/icu_sqlite3_for_android/host/out/okapi_bm25.dylib /var/folders/5g/26_rk1fx11sc208nfmypf_kr0000gn/T/okapi_bm25-98c450.o -L/usr/local/lib -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a Apple clang version 11.0.0 (clang-1100.0.33.17) Target: x86_64-apple-darwin20.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.15.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name spellfix1.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.15 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -ggnu-pubnames -target-linker-version 530 -v -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I /Users/david/work/icu_sqlite3_for_android/sqlite3/src/main/jni/sqlite/ -I /Users/david/work/icu_sqlite3_for_android/builtin_extensions/jni -I/usr/local/include -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-extra-semi-stmt -Wno-quoted-include-in-framework-header -fdebug-compilation-dir /Users/david/work/icu_sqlite3_for_android/host -ferror-limit 19 -fmessage-length 224 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.15.0 -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/5g/26_rk1fx11sc208nfmypf_kr0000gn/T/spellfix1-fc0429.o -x c /Users/david/work/icu_sqlite3_for_android/builtin_extensions/jni/spellfix1.c clang -cc1 version 11.0.0 (clang-1100.0.33.17) default target x86_64-apple-darwin20.3.0 ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/local/include" ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Users/david/work/icu_sqlite3_for_android/sqlite3/src/main/jni/sqlite /Users/david/work/icu_sqlite3_for_android/builtin_extensions/jni /usr/local/include /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include /Library/Developer/CommandLineTools/usr/include /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks (framework directory) End of search list. "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -no_deduplicate -dynamic -dylib -arch x86_64 -macosx_version_min 10.15.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o /Users/david/work/icu_sqlite3_for_android/host/out/spellfix.dylib /var/folders/5g/26_rk1fx11sc208nfmypf_kr0000gn/T/spellfix1-fc0429.o -L/usr/local/lib -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a

YaweiWang avatar Dec 27 '22 09:12 YaweiWang