Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build instructions not working #146

Open
erlandl4g opened this issue Aug 16, 2024 · 0 comments
Open

Build instructions not working #146

erlandl4g opened this issue Aug 16, 2024 · 0 comments

Comments

@erlandl4g
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant