-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 v5.1.6 gives error: 'zlib_filefunc_def' {aka 'struct zlib_filefunc_def_s'} has no member named 'zopendisk_file' #4334
Comments
I have essentially the same problem trying to build assimp 5.1.6 on macOS 10.15.7:
assimp 5.1.5 didn't have this problem. |
Hi, i have the same issue on Arch Linux
|
Pretty bad, thanks for the report. We will take care. |
and of course we have a similar problem for the Debian packages... however, i'm a bit confused. i see that the unzip implementation in however, i would have thought that "ordinary builds" (that is: what practically every user who downloads the assimp sources and builds them would do) would use the vendored library... and why is the CI building successfully? anyhow: it's a bit unfortunate that #3556 updated the "unzip contrib" without mentioning where the sources actually came from. luckily there's also #4324, where @alpire hints that these changes come
i suggest to stay compatible with mainstream implementations (rather than some unmaintained forks) |
I also ran into this issue, on a clean Ubuntu 20.04.3 LTS system with the relevant system libraries installed. There seem to be numerous projects these days building their own incompatible versions of very common system libraries instead of fixing the code. |
also ran into this problem on manjaro! patch from @brechtsanders solved it however. |
@derenv How did you solve it? |
He used the patch he provided in the last block of code in this bug report. |
i used @brechtsanders patch he put in the original post. |
I'm having the same issue on Gentoo Linux while packaging for v5.2.2. |
这是来自QQ邮箱的自动回复邮件。你的邮件已经收到,我将在尽快给你回复。
|
Almost same here, so I consider it a good hack. There are a few tests, however, which are failing on my side. |
Removes the doc USE flag, because the documentation is no longer available as a pdf on the release page and building it is currently broken. Bug: assimp/assimp#4439 Bug: assimp/assimp#4438 Bug: assimp/assimp#4334 Bug: https://bugs.gentoo.org/830374 Closes: https://bugs.gentoo.org/829957 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Bernd Waibel <[email protected]>
Removes the doc USE flag, because the documentation is no longer available as a pdf on the release page and building it is currently broken. Bug: assimp/assimp#4439 Bug: assimp/assimp#4438 Bug: assimp/assimp#4334 Bug: https://bugs.gentoo.org/830374 Closes: https://bugs.gentoo.org/829957 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Bernd Waibel <[email protected]>
Removes the doc USE flag, because the documentation is no longer available as a pdf on the release page and building it is currently broken. Bug: assimp/assimp#4439 Bug: assimp/assimp#4438 Bug: assimp/assimp#4334 Bug: https://bugs.gentoo.org/830374 Closes: https://bugs.gentoo.org/829957 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Bernd Waibel <[email protected]>
I have the same issue trying to build master or 5.2.2 on macOS Monterey with Xcode 13.2. I find it difficult to have confidence to use a project where a bug that prevents building is still not fixed after 2 months. |
No worries, you can have your money back |
Removes the doc USE flag, because the documentation is no longer available as a pdf on the release page and building it is currently broken. Bug: assimp/assimp#4439 Bug: assimp/assimp#4438 Bug: assimp/assimp#4334 Bug: https://bugs.gentoo.org/830374 Closes: https://bugs.gentoo.org/829957 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Bernd Waibel <[email protected]> Closes: #24485 Signed-off-by: Matthew Smith <[email protected]>
I hit the same issue after switching from Debian to Arch - i guess a newer zlib version causes that issue? |
No. The issue is a completely outdated (and unmaintained) fork of zlib that somehow made it into a c++-package manager (that is used by assimp); that version of zlib is not packaged in any other distribution... |
My build environment is using all latest versions built from source. For zlib this is version 1.2.11 from http://www.zlib.net/. |
@umlaeute i'm definetly not using HUNTER if you refer to that. I'm using the latest Arch Linux and this error occured after switching from Ubuntu 20.04 - i assume this is due to some dependency update |
Having the same issue on Manjaro on commit 4d451fe Edit: building works on v5.1.0 |
这是来自QQ邮箱的自动回复邮件。你的邮件已经收到,我将在尽快给你回复。
|
Got same issue on gcc11 on a refresh Ubuntu 22.04. Although this PC can sucessfully built before uprade to ubuntu22.04. Does there any quick fix for it? cause it was about 5 month past.... |
You can also try to remove the line: Apperantly this also works. |
这是来自QQ邮箱的自动回复邮件。你的邮件已经收到,我将在尽快给你回复。
|
I hit upon this issue on Kubuntu 21.10, I've submitted PR that fixes the build, albeit with a crude #ifdef to avoid the problematic line build compiled when building against minizip. #4631 |
Closed by #4631 |
Building v5.1.6 gives error: 'zlib_filefunc_def' {aka 'struct zlib_filefunc_def_s'} has no member named 'zopendisk_file'.
I'm on Windows 11 using MinGW-w64 GCC 11.2.0 and I have all dependancies installed from latest versions.
Whe building assimp 5.1.6 I get:
When checking I noticed there are different
ioapi.h
versions around with and withoutzopendisk_file
defined as member ofzlib_filefunc_def_s
. From what I see I thinkZOPENDISK64
seems like a good macro to check to determine ifzopendisk_file
is to be used or not.So I was able to build assimp 5.1.6 after the following patch:
But I'm not sure if that breaks anything else...
The text was updated successfully, but these errors were encountered: