Closed PawBlo closed 3 months ago
Hi, thanks.
Did you install pybind via the ./install.sh
script?
You need to checkout the smart_holder branch, see here: https://github.com/google-deepmind/open_spiel/blob/3cdecf7b2c88095eec13a49c13b768cf7a82189b/open_spiel/scripts/install.sh#L104
There have been some changes to that branch lately that could be backward-incompatible, so we can look into it. But, I did a sync 2 days ago to github and everything built fine, so it'd be quite a coincidence. So, please confirm that you checkout out the smart_holder branch as in that line above, thanks!
Looking into the smart_holder branch it seems like maybe this header was removed recently. Tagging @rwgk for the suggested fix. We'll update master as soon as we have a fix, thanks for reporting.
@PawBlo if you just remove those includes, does it work? My guess is that everything in those headers got put into the other pybind11 headers.
Yes, simply remove the include. It was always private. In the past you had to include smart_holder.h, which still exists, but just for backward compatibility.
Ahh, ok. Great.
Looks like we only had two instances of it, so this PR should fix it: https://github.com/google-deepmind/open_spiel/pull/1258
I get error with pybind11 when I try build Open_spiel from source. Error:
My env: