Skip to content

Cannot build libbf #11

Open
Open
@etterli

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

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