# \`\`import std\`\` doesn't work on windows

**URL:** https://discourse.cmake.org/t/import-std-doesnt-work-on-windows/14268
**Category:** Usage
**Tags:** os:windows, gen:ninja
**Created:** [June 20, 2025, 8:57am UTC](https://discourse.cmake.org/t/import-std-doesnt-work-on-windows/14268 "2025-06-20T08:57:25Z")
**Posts on this page:** 1
**Showing post:** 23

<div class="post-metadata">

### Author: ![ClausKlein](https://discourse.cmake.org/user_avatar/discourse.cmake.org/clausklein/32/352_2.png) [@ClausKlein](https://discourse.cmake.org/u/ClausKlein)
#### Post date: [June 21, 2025, 12:26pm UTC](https://discourse.cmake.org/t/import-std-doesnt-work-on-windows/14268/23 "2025-06-21T12:26:56Z")

</div>

please see [No SOURCES given to target: \_\_CMAKE\_\_CXX26 on ubuntu 25.04 - #11 by ClausKlein](https://discourse.cmake.org/t/no-sources-given-to-target-cmake-cxx26-on-ubuntu-25-04/14240/11)

you may trace `CMakeDetermineComilerId.cmake` while configure oder compile the file yourself.

---

_[View the full topic](https://discourse.cmake.org/t/import-std-doesnt-work-on-windows/14268)._
