You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am following the steps described in here. But when I am doing step 5, there were errors like:
/Users/lizun/open_spiel_tmp/open_spiel_alphazero/open_spiel/libtorch/libtorch/include/pybind11/detail/common.h:339:12: error:
redefinition of 'return_value_policy'
enum class return_value_policy : uint8_t {
^
/Users/lizun/open_spiel_tmp/open_spiel_alphazero/open_spiel/../pybind11/include/pybind11/detail/common.h:488:12: note:
previous definition is here
enum class return_value_policy : uint8_t {
^
In file included from /Users/lizun/open_spiel_tmp/open_spiel_alphazero/open_spiel/python/pybind11/games_gin_rummy.cc:28:
In file included from /Users/lizun/open_spiel_tmp/open_spiel_alphazero/open_spiel/python/../pybind11_abseil/pybind11_abseil/absl_casters.h:33:
In file included from /Users/lizun/open_spiel_tmp/open_spiel_alphazero/open_spiel/libtorch/libtorch/include/pybind11/cast.h:13:
In file included from /Users/lizun/open_spiel_tmp/open_spiel_alphazero/open_spiel/libtorch/libtorch/include/pybind11/pytypes.h:12:
/Users/lizun/open_spiel_tmp/open_spiel_alphazero/open_spiel/libtorch/libtorch/include/pybind11/detail/common.h:392:48: error:
redefinition of default argument
inline static constexpr int log2(size_t n, int k = 0) { return (n <= 1) ? k : log2(n >> 1, k + 1); }
^ ~
/Users/lizun/open_spiel_tmp/open_spiel_alphazero/open_spiel/../pybind11/include/pybind11/detail/common.h:565:48: note:
previous definition is here
inline static constexpr int log2(size_t n, int k = 0) {
It looks like during the building process it generates a file ./open_spiel/libtorch/libtorch/include/pybind11/detail/common.h, which conflicts with ./pybind11/include/pybind11/detail/common.h
The text was updated successfully, but these errors were encountered:
Hello, I am following the steps described in here. But when I am doing step 5, there were errors like:
It looks like during the building process it generates a file ./open_spiel/libtorch/libtorch/include/pybind11/detail/common.h, which conflicts with ./pybind11/include/pybind11/detail/common.h
The text was updated successfully, but these errors were encountered: