Skip to content

Build instructions not working #146

@erlandl4g

Description

@erlandl4g

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions