Coder Social home page Coder Social logo

compile STL error: Problem about stl HOT 8 CLOSED

ChenMiaoi avatar ChenMiaoi commented on July 17, 2024
compile STL error: Problem

from stl.

Comments (8)

AlexGuteniev avatar AlexGuteniev commented on July 17, 2024

After installing newer SDK I had to restart Windows to make CMake pick it up, maybe environment does not propagate somewhere

from stl.

ChenMiaoi avatar ChenMiaoi commented on July 17, 2024

maybe, but I restart some times, not work well, it's the same result, btw, my cmake version is 3.29.3

from stl.

cpplearner avatar cpplearner commented on July 17, 2024

can you run set INCLUDE and set WindowsSdkDir and paste the output here?

from stl.

ChenMiaoi avatar ChenMiaoi commented on July 17, 2024

can you run set INCLUDE and set WindowsSdkDir and paste the output here?

image
this is SDK
image
this is include

from stl.

cpplearner avatar cpplearner commented on July 17, 2024

Hmm, the SDK dir seems fine. The content of INCLUDE is truncated so I can't see whether it contains the SDK dir.
(It should contain D:\Windows Kits\10\include\10.0.22621.0\ucrt;D:\Windows Kits\10\\include\10.0.22621.0\\um;D:\Windows Kits\10\\include\10.0.22621.0\\shared, among others.)

from stl.

ChenMiaoi avatar ChenMiaoi commented on July 17, 2024

Hmm, the SDK dir seems fine. The content of INCLUDE is truncated so I can't see whether it contains the SDK dir. (It should contain D:\Windows Kits\10\include\10.0.22621.0\ucrt;D:\Windows Kits\10\\include\10.0.22621.0\\um;D:\Windows Kits\10\\include\10.0.22621.0\\shared, among others.)

INCLUDE=D:\Study\VS\VS\VC\Tools\MSVC\14.39.33519\include;D:\Study\VS\VS\VC\Tools\MSVC\14.39.33519\ATLMFC\include;D:\Study\VS\VS\VC\Auxiliary\VS\include;D:\Windows Kits\10\include\10.0.22621.0\ucrt;D:\Windows Kits\10\\include\10.0.22621.0\\um;D:\Windows Kits\10\\include\10.0.22621.0\\shared;D:\Windows Kits\10\\include\10.0.22621.0\\winrt;D:\Windows Kits\10\\include\10.0.22621.0\\cppwinrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um

I think the version is the same, 10.0.22621.0, should there be no impact on the sdk?

from stl.

AlexGuteniev avatar AlexGuteniev commented on July 17, 2024

Might be something cached. Try deleting generated files, /out dir and others if any

from stl.

ChenMiaoi avatar ChenMiaoi commented on July 17, 2024

Might be something cached. Try deleting generated files, /out dir and others if any

Ok, I tried, and done, thanks

from stl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.