Open CHzxp opened 1 year ago
If you want to compile the Doris 1.1.x version of the code,please use apache/doris:build-env-for-1.1.0 docker image. If you use build-env-for-1.2 docker image, Use it to compile the Doris 1.2 branch code.And why don't you try our latest release version 1.2.4.1? 1.1.5 is an stale version.
Search before asking
Version
1.1.5-rc02
What's Wrong?
According to the description on the official website, i cannot be compiled doris code, error is
/var/local/thirdparty/installed/include/parallel_hashmap/phmap.h:3256:27: error: no match for call to '(doris::BrpcClientCache::get_client(const string&)::<lambda(phmap::priv::parallel_hash_map<8, phmap::priv::raw_hash_set, std::mutex, phmap::priv::FlatHashMapPolicy<std::cxx11::basic_string, std::shared_ptr >, std::hash<std::cxx11::basic_string >, std::equal_to<std:: cxx11::basic_string >, std::allocator<std::pair<const std:: cxx11::basic_string, std::shared_ptr > > >::mapped_type&)>) (std::pair<const std::__cxx11::basic_string, std::shared_ptr >&)'
3256 | std::forward(f)(*ptr);
|
~~~~^~~~What You Expected?
it can be compiled successfully
How to Reproduce?
1 clone code from github 2 checkout branch to 1.1.5-rc02, 3 install docker image build-env-for-1.2 4 run a docker and mount directory for src 5 sh build.sh --clean --be --fe but i can not compile doris code successfully, it seem like the c++ problem
Anything Else?
no
Are you willing to submit PR?
Code of Conduct