执行build.sh报错 #27300
Unanswered
Suzzt
asked this question in
A - General / Q&A
执行build.sh报错
#27300
Replies: 1 comment 10 replies
-
Confirm whether you are using the latest third-party library |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
执行build.sh 报错(最新代码,master分支,本地/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/include/jni.h有这个文件啊)
======错误======
FAILED: CMakeFiles/pch.dir/cmake_pch.hxx.pch
ccache /usr/local/opt/llvm@16/bin/clang++ -DBOOST_STACKTRACE_USE_NOOP -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H -DUSE_LIBCPP -DUSE_LIBHDFS3 -I/Users/sucf/IdeaProjects/doris/be/src/apache-orc/c++/include -I/Users/sucf/IdeaProjects/doris/be/build_Release/src/apache-orc/c++/include -I/Users/sucf/IdeaProjects/doris/be/build_Release/src/clucene/src/shared -I/Users/sucf/IdeaProjects/doris/be/src/clucene/src/core -I/Users/sucf/IdeaProjects/doris/be/src/clucene/src/shared -I/Users/sucf/IdeaProjects/doris/be/src/clucene/src/contribs-lib -I/Users/sucf/IdeaProjects/doris/be/src -I/Users/sucf/IdeaProjects/doris/be/test -I/include -I/include/darwin -isystem /Users/sucf/IdeaProjects/doris/be/../gensrc/build -isystem /Users/sucf/IdeaProjects/doris/thirdparty/installed/include -isystem /Users/sucf/IdeaProjects/doris/thirdparty/installed/gperftools/include -O3 -DNDEBUG -O3 -DNDEBUG -std=gnu++20 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk -mmacosx-version-min=12.6 -D OS_MACOSX -g -Wall -Wextra -Werror -pthread -fstrict-aliasing -fno-omit-frame-pointer -Wnon-virtual-dtor -Wno-unused-parameter -Wno-sign-compare -fcolor-diagnostics -Wpedantic -Wshadow-field -Wunused -Wunused-command-line-argument -Wunused-exception-parameter -Wunused-volatile-lvalue -Wunused-template -Wunused-member-function -Wunused-macros -Wno-vla-extension -Wno-gnu-statement-expression -stdlib=libc++ -D__STDC_FORMAT_MACROS -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX=1 -DBRPC_ENABLE_CPU_PROFILER -DS2_USE_GFLAGS -DS2_USE_GLOG -msse4.2 -mavx2 -DUSE_JEMALLOC -DENABLE_STACKTRACE -Xclang -fno-pch-timestamp -Winvalid-pch -fpch-instantiate-templates -Xclang -emit-pch -Xclang -include -Xclang /Users/sucf/IdeaProjects/doris/be/build_Release/CMakeFiles/pch.dir/cmake_pch.hxx -x c++-header -MD -MT CMakeFiles/pch.dir/cmake_pch.hxx.pch -MF CMakeFiles/pch.dir/cmake_pch.hxx.pch.d -o CMakeFiles/pch.dir/cmake_pch.hxx.pch -c /Users/sucf/IdeaProjects/doris/be/build_Release/CMakeFiles/pch.dir/cmake_pch.hxx.cxx
In file included from :1:
In file included from /Users/sucf/IdeaProjects/doris/be/build_Release/CMakeFiles/pch.dir/cmake_pch.hxx:5:
/Users/sucf/IdeaProjects/doris/be/src/pch/pch.h:471:10: fatal error: 'jni.h' file not found
#include <jni.h>
^~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
======错误======
Beta Was this translation helpful? Give feedback.
All reactions