Open tongzhipeng opened 6 years ago
Hi Tongshipen, I'd never tried using clang on linux, only gcc have you have success on this?
Thanks, Ivan.
No, I 'd never tried compiled it with gcc. my problem is resolved by the changing in the issue, this issue is just a information.
my build enviroment: clang3.8 on ubuntu 16.04 32bit
need to be commented in libs/build_dependencies.sh.
CMAKE_CXX_FLAGS need to change to
-stdlib=libc++ need libc++-dev to be installed for llvm, but still leads to error: fatal error: '__cxxabi_config.h' file not found, i've googled it, It seems like an ubuntu16 bug for clang3.8, so i just remove -stdlib=libc++.
-pthread need to be added to resove link error:
network_utils.cpp.o: undefined reference to symbol 'pthread_create@@GLIBC_2