randombit / botan

Cryptography Toolkit
https://botan.randombit.net
BSD 2-Clause "Simplified" License
2.6k stars 570 forks source link

Try to build on Windows #4304

Closed Fxztam closed 3 months ago

Fxztam commented 3 months ago

I try to build Botan on Windows 10 and after python configure.py --cc=msvc --os=windows 👍

I get on nmake

build/include/public\botan/types.h(16): fatal error C1083: File (Include) cannot open: "cstddef": No such file or directory

What is wrong, please?

Fried

randombit commented 3 months ago

cannot open: "cstddef": No such file or directory

This seems to indicate a problem with how your compiler is installed. Are you able to build code normally with the command line? You may need to run a batch like vcvarsall.bat - see https://learn.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-170

randombit commented 3 months ago

Closing this, if you are still having problems feel free to reopen