-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building against libarchive on Windows #38
Comments
In case anyone else stumbles upon this. The error message directing you to https://visualstudio.microsoft.com/visual-cpp-build-tools/ is either wrong, bad or incomplete.
which wasn't returning anything even though the "Visual Studio Build Tools" were supposedly installed (hell, I had a developer command prompt and everything) https://learn.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2022 shows that at the time of writing, you'll want to go to the VS installer and install
|
Got stuck in hell. io.h is in the ucrt, but the generated C doesn't seem to be compatible with MSVC.
libarchive is able to be compiled on Windows, but I'm not the one to be able to fix this. |
I can get as far as libarchive loading now, but attempting to use it results in
0001-Hack-for-Windows-support.patch is a very messy hack around setup.py build_ext. I also regenerated the SWIG bindings and upgraded libarchive, which is probably what's causing me issues. To get to this point:
|
0001-Slightly-better-hack-for-Windows.patch This time I didn't accidentally remove half the functions. |
Windows 10, VS2022 build tools are installed, Python 3.10.10
The text was updated successfully, but these errors were encountered: