Skip to content

Error when compiling on windows #4379

Closed Answered by reneme
PabloKench asked this question in Q&A
Discussion options

You must be logged in to vote

Botan's build system isn't able to find zlib on your system without some extra help. On unix based systems it would simply look at the system's default locations, but this concept doesn't exist in the same way on Windows, unfortunately. Please try providing the include and library locations like this:

./configure.py [... any other flags ...] --with-zlib --with-external-includedir=C:/your/path/to/zlib/include --with-external-libdir=C:/you/path/to/zlib/lib

Regarding the x86 issue, this is a bit a shot in the dark, but my guess: Did you run this in an x86_64 Visual Studio environment? Because, the build system picked up a compiler that doesn't seem to support building for x86_32.
Typically y…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by PabloKench
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants