scikit-build-core: scikit-build-core can't find std header while direct cmake build works

Hello,

I’m having difficulties to build a package using scikit-build-core and pybind11.

Even through the package build well using cmake directly and is importable in python, when trying to build it using scikit-build-core with uv build it fails as it doesn’t find the vector header from the stl:

This part will fail using uv build while it works well using cmake directly.

check_include_file_cxx("vector" CXX_VECTOR_SUPPORT)

Here is a reproductible set-up (it uses devenv to set-up the environment, so if you use it as well you should be able to reproduce exactly my env)

https://github.com/npfp/build-error

I probably miss something really obvious, would you mind pointing me to the right direction?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16

Most upvoted comments

Ok, I am still supper confused, but maybe you can forward this issue to dev-env? Still seems like a bug on their side