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

[package] assimp: Draco compression not working with GLTF2 #26695

Open
bacusters opened this issue Feb 25, 2025 · 0 comments · May be fixed by #26705
Open

[package] assimp: Draco compression not working with GLTF2 #26695

bacusters opened this issue Feb 25, 2025 · 0 comments · May be fixed by #26705
Assignees
Labels
bug Something isn't working

Comments

@bacusters
Copy link

Description

After reinstalling assimp via Conan after a while, loading of a GLTF2 file errors out with an error that Draco compression is not supported. This used to work for the same version (though previously we installed it under Conan < 2).

I think with the simplification of the patching in #22047 the part that sets the correct preprocessor definition for draco support got removed (in the unvendor 5.2.x patch):
Image
Without the -DASSIMP_ENABLE_DRACO, the loader will throw the above error.

There is no equivalent code after the patching cleanup, unless I'm missing something. Looking at the build commands for the package in the conan folders, there is also no ASSIMP_ENABLE_DRACO preprocessor symbol defined.

Package and Environment Details

  • Package Name/Version: assimp/5.228
  • Operating System+version: WSL running Linux Ubuntu 22.04
  • Compiler+version: GCC 13
  • Conan version: conan 2.8.1
  • Python version: Python 3.12.3

Conan profile

[settings]
arch=x86_64
build_type=RelWithDebInfo
compiler=gcc
compiler.cppstd=20
compiler.version=13
compiler.libcxx=libstdc++11
os=Linux

[conf]
tools.cmake.cmaketoolchain:generator=Ninja

Steps to reproduce

Install the assimp package.
Using the assimp package, try loading a gltf2 file with draco compression.

Logs

N/A

@bacusters bacusters added the bug Something isn't working label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants