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

Cannot build libbf #11

Open
etterli opened this issue Jan 23, 2024 · 0 comments
Open

Cannot build libbf #11

etterli opened this issue Jan 23, 2024 · 0 comments
Assignees

Comments

@etterli
Copy link

etterli commented Jan 23, 2024

Hello

I tried to install Pythia following the installation instructions in the ReadMe but could not succeed.

My setup is:

  • WSL Ubuntu 22.04.3
  • clang 12.0.0
  • gcc 11.4.0
  • g++ 11.4.0
  • cmake 3.22.1
  • md5sum 8.32
  • perl 5.34
  • Pythia b6313d1ce7f69e44976f331386ded6229a45aafa

The error occurred when building libbf:

cd libbf
mkdir build && cd build
cmake ../
make clean && make

The make failed: (where XXXX is my private path)

[  4%] Building CXX object CMakeFiles/libbf_static.dir/src/bitvector.cpp.o
In file included from /home/XXXX/Pythia/libbf/src/bitvector.cpp:1:
/home/XXXX/Pythia/libbf/bf/bitvector.hpp:4:10: fatal error: 'iterator' file not found
#include <iterator>
         ^~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/libbf_static.dir/build.make:76: CMakeFiles/libbf_static.dir/src/bitvector.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:902: CMakeFiles/libbf_static.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

The libbf repo is at 4c9efc1a4db7ed1ccf54cf0bd3a3641ce579206c.

Regards

@rahulbera rahulbera self-assigned this Feb 4, 2024
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

2 participants