Closed theartful closed 4 months ago
Thanks for reporting this! And for suggesting a potential solution! We'll take a closer look at this.
@theartful, on what OS did you run into this problem?
@enpe I'm running archlinux, which is a hassle I know since it's a rolling release, and so I get these problems with newer versions of stuff. It's a compiler issue though with gcc-14.
@theartful, and did you confirm it builds fine again with assimp 5.4.2? You can test it here:
@enpe Yep, I did. I updated assimp version locally, and all dependencies built fine, and as far as I know the newer changes only introduces bug fixes, so it should not be breaking.
I'm still having other build problems, so I couldn't run the test suite.
I have repro'd the bug with gcc-14.
Options "-Wall" and "-Werror" are coming from assimp configuration: https://github.com/assimp/assimp/blob/206839d4f23162fb515010d5d93a21e1bbde5c50/code/CMakeLists.txt#L1274
Haven't found Ocean config that adds these if they exist somewhere. I guess we could override their config, but going to try 5.4.2 first to see if that works.
This commit updates dependency on assimp to version v5.4.2. Build succeeds on x86-64 Linux (GCC 13/14, Clang 18), x86-64 Windows (MSVC 19.39), and Apple Silicon MacOS(Apple Clang 15).
Instructions to reproduce the problem:
When building the third party libraries I get the error
Expected behavior:
Should build as expected.
Suggested solution:
The assimp developers fixed the issue in https://github.com/assimp/assimp/pull/5593, so we can either update assimp to 5.4.2, or we can pull their patch into
assimp.patch
, or maybe disableWerror
for assimp (should be disabled for third party libraries in general imo).