jxy-s / stlkrn

C++ STL in the Windows Kernel with C++ Exception Support
MIT License
390 stars 78 forks source link

build errors when build on WDK10 x64 #1

Open mohamadrezashafie opened 3 years ago

mohamadrezashafie commented 3 years ago

Hi every body. When I build your project many errors occurred. I spent some hours for fix this issue but I couldn't to fix this errors. how to fix this issues? image

mohamadrezashafie commented 3 years ago

so i can build jxystl library. but when I add this library to my project and use (for example) vector .. this errors occurred.

jxy-s commented 3 years ago

@mohamadrezashafie sorry I'm just getting to this. Is it possible the MSVC installed isn't the same or is out of date on your machine? Here is the include path mine pulls in:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\atlmfc\include
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\VS\include

I haven't done much building outside of my own environment. So, your mileage may vary.

jxy-s commented 3 years ago

Make sure to add $(VC_IncludePath) to your Additional Include Directories if you are trying to build with your own driver project.