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

compilation error #301

Closed
llxiaoyuan opened this issue Sep 27, 2022 · 4 comments · Fixed by #303
Closed

compilation error #301

llxiaoyuan opened this issue Sep 27, 2022 · 4 comments · Fixed by #303

Comments

@llxiaoyuan
Copy link

UEFITool-new_engine\common\kaitai\kaitaistream.cpp:32:20: fatal error: endian.h: No such file or directory
#include <endian.h>
^
compilation terminated.
Makefile.release:4215: recipe for target 'release/kaitaistream.o' failed
mingw32-make: *** [release/kaitaistream.o] Error 1

Cleaning up...

Done!

@NikolajSchlej
Copy link
Collaborator

Reporting like this is not actionable, so for us to be able to fix it, please provide:

  • your OS and MinGW versions
  • steps to reproduce the issue

So far MinGW is a secondary target, default compiler for Windows is MSVC2019. #282 tracks adding more compilers to CI/CD pipeline.

@NikolajSchlej
Copy link
Collaborator

Reproduced using GH actions on windows-2019 runner with "GNU 8.1.0" MinGW version, fixing.

@NikolajSchlej
Copy link
Collaborator

Also confirmed that MinGW 8.1.0 has a bug that prevents usage of C++ std header, and Qt 6.x uses it extensively, so using Qt 6.x builds require newer MinGW versions (CI/CD pipeline currently runs with 11.2.0).

@NikolajSchlej
Copy link
Collaborator

Fixed.

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

Successfully merging a pull request may close this issue.

2 participants