Skip to content
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

[Bug]: Mingw cross compile fails #222

Closed
1 task done
yildiz-online opened this issue Jun 23, 2024 · 2 comments
Closed
1 task done

[Bug]: Mingw cross compile fails #222

yildiz-online opened this issue Jun 23, 2024 · 2 comments
Assignees
Labels

Comments

@yildiz-online
Copy link

bit7z version

4.0.x

Compilation options

No response

7-zip version

v23.01

7-zip shared library used

7z.dll / 7z.so

Compilers

MinGW

Compiler versions

No response

Architecture

x86_64

Operating system

Linux

Operating system versions

No response

Bug description

Cross compiling from linux to windows is leading to:
/bit7z/bitwindows.hpp:21:10: fatal error: Windows.h: No such file or directory

Renaming to #include <windows.h> fixes the issue.

Steps to reproduce

No response

Expected behavior

No response

Relevant compilation output

No response

Code of Conduct

@rikyoz
Copy link
Owner

rikyoz commented Jun 24, 2024

Hi!
Thank you for reporting this issue.
I just pushed a commit to the master branch that fixes it.

@yildiz-online
Copy link
Author

Thank you! Issue can be closed as fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants