Open oska874 opened 3 years ago
Did you run the following, before executing build-deps
? I used to have a few build errors, too, but installing the required dependencies solved them.
sudo apt-get install \
g++ \
cmake \
libboost-all-dev \
libevent-dev \
libdouble-conversion-dev \
libgoogle-glog-dev \
libgflags-dev \
libiberty-dev \
liblz4-dev \
liblzma-dev \
libsnappy-dev \
make \
zlib1g-dev \
binutils-dev \
libjemalloc-dev \
libssl-dev \
pkg-config \
libunwind-dev
I met the same problem because I remove build
folder........ In folly, build
folder is not designed for cmake build....
Same problem on Arch Linux
distribution:
-- The CXX compiler identification is GNU 11.1.0
-- The C compiler identification is GNU 11.1.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:73 (include):
include could not find requested file:
FBBuildOptions
CMake Error at CMakeLists.txt:74 (fb_activate_static_library_option):
Unknown CMake command "fb_activate_static_library_option".
-- Configuring incomplete, errors occurred!
See also "/home/vitalii/dev/github.com/folly/_build/CMakeFiles/CMakeOutput.log".
Also not found FBBuildOptions
symbol in the project. Exception is the include
in root CMakeLists.txt
.
Trying to build CMake
in according with guide (README.md
).
When I build lastest folly, I face the error below, how to get FBBuildOptions and fb_activate_static_library_option ?