Build instructions not working
erlandl4g opened this issue · 0 comments
erlandl4g commented
Instructions do not build Folly:
git clone https://github.com/facebook/folly;
mkdir folly/build_ && cd folly/build_
cmake ..
make -j $(nproc)
sudo make install
CMake Error at CMakeLists.txt:465 (add_library):
Target "folly" links to target "fmt::fmt" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
On Folly git provided instructions do build something:
# Clone the repo
git clone https://github.com/facebook/folly
cd folly
# Build, using system dependencies if available
python3 ./build/fbcode_builder/getdeps.py --allow-system-packages build
, but Fizz cannot be built
git clone https://github.com/facebookincubator/fizz;
mkdir fizz/build_ && cd fizz/build_;
cmake ../fizz;
make -j $(nproc);
sudo make install;
CMake Error at CMakeLists.txt:49 (find_package):
Could not find a package configuration file provided by "folly" with any of
the following names:
follyConfig.cmake
folly-config.cmake
Add the installation prefix of "folly" to CMAKE_PREFIX_PATH or set
"folly_DIR" to a directory containing one of the above files. If "folly"
provides a separate development package or SDK, be sure it has been
installed.
Everything was off the GIT pages of those 2 projects and done on Ubuntu 22 and Ubuntu 24.
Where to find complete working instructions for Folly installation with all dependencies?