Closed lloydrayner closed 4 years ago
Figured it out, the std.h file was different to that in the pybind11 repository.
I swapped out
`# if defined(PYBIND11_CPP14) && __has_include(<experimental/optional>)
for
`# if defined(PYBIND11_CPP14) && (__has_include(<experimental/optional>) && \
!__has_include(
I am trying to build on a mac and receiving the below errors, I'm not sure what to do to fix it. Can anyone help?
Thank you
`In file included from /Users/lrayner/PycharmProjects/playground2/pangolin/python/pangolin.cpp:2: /Users/lrayner/PycharmProjects/playground2/pangolin/external/pybind11/include/pybind11/stl.h:283:46: error: no member named 'experimental' in namespace 'std' template struct type_caster<std::experimental::optional>