-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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: compilation error. #5827
Comments
I had to replace _stat32 by _stat and _fstat32 now it compile. |
Good to hear it's working for you, is it OK to close this issue? |
This will fix the build issue, but opens a new one. FStat needs the file handle, |
SirLynix
added a commit
to SirLynix/xmake-repo
that referenced
this issue
Jan 1, 2025
waruqi
pushed a commit
to xmake-io/xmake-repo
that referenced
this issue
Jan 2, 2025
* Assimp: Fix compilation with MinGW10 assimp/assimp#5827 * Fix patch version * Fix checksum * Another patch fix * Update xmake.lua
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I'm trying to compile assimp on windows 10 with mingw10 32 bits but I get this compilation error.
C:\Users\Laurent et Christian\assimp-assimp-8b9ed34\code\Common\DefaultIOStream.cpp:160:24: error: aggregate 'Assimp::DefaultIOStream::FileSize() const::_stat32 fileStat' has incomplete type and cannot be defined
160 | struct _stat32 fileStat;
| ^~~~~~~~
C:\Users\Laurent et Christian\assimp-assimp-8b9ed34\code\Common\DefaultIOStream.cpp:162:19: error: '_fstat32' was not declared in this scope; did you mean '_stat32'?
162 | int err = _fstat32(_fileno(mFile), &fileStat);
| ^~~~~~~~
| _stat32
The text was updated successfully, but these errors were encountered: