conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
963 stars 1.77k forks source link

[assimp] assimp/5.2.2: Draco dependancy does not build with latest libstdc++, since a header is missing. #18287

Open seppeon opened 1 year ago

seppeon commented 1 year ago

Description

In fileutils.h, the #include <cstdint> header is missing in older versions of draco.

This is resolved in later versions.

Assimp depends on 1.5.5, but needs to be updated to 1.5.6.

See: https://github.com/google/draco/blame/9f856abaafb4b39f1f013763ff061522e0261c6f/src/draco/io/file_utils.h#L18

Package and Environment Details

Conan profile

[settings] os=Windows arch=x86_64 os.subsystem=msys2 compiler=clang compiler.version=16 compiler.libcxx=libstdc++

[buildenv] PATH+=(path)C:/utils/msys64/mingw64/bin

[options] boost/:without_stacktrace=True boost/:without_fiber=True boost/*:without_python=True

[conf] tools.cmake.cmaketoolchain:generator=Ninja tools.build:compiler_executables={"asm": "C:/utils/msys64/mingw64/bin/clang.exe","cpp": "C:/utils/msys64/mingw64/bin/clang++.exe", "c": "C:/utils/msys64/mingw64/bin/clang.exe"}

Steps to reproduce

conan install --requires=assimp/5.2.2 --profile:build=clang16 --profile:host=clang16 -r conancenter

Logs

This is a build error, not a conan error.

seppeon commented 1 year ago

Fixed in: https://github.com/conan-io/conan-center-index/pull/18284

I believe I need to be approved, I am not sure who can do that, but I'd appreciate some help there :)

Eric-Bwr commented 1 year ago

bump