Open Kalixio opened 1 year ago
I hit the same issue unfortunately. Did you find a fix @Kalixio?
This is an upstream issue. Hopefully we can expect a new maintenance release freeimage/3.19.1 where this issue is fixed @danoli3.
I am creating a MR for this issue. I submitted also a MR upstream: issue and MR.
I am propsing this https://github.com/conan-io/conan-center-index/pull/22942 for the fix.
Description
I'm trying to use freeimage inside another package and compiling with MSVC and cpp20 I'm hitting a compilation error when using c++20 (_Node is not found in MapIntrospector.h)
Compiling with MSVC and c++17 does not yield any error
Package and Environment Details
Conan profile
[settings] os=Windows os_build=Windows arch=x86_64 arch_build=x86_64 compiler=Visual Studio compiler.version=17 compiler.cppstd=20 build_type=Release
Steps to reproduce
conan install freeimage/3.18.0@ --build=missing -s compiler.cppstd=20 -s build_type=Debug
Logs
Click to expand log
Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=Visual Studio compiler.cppstd=20 compiler.runtime=MDd compiler.version=17 os=Windows os_build=Windows [options] [build_requires] [env] freeimage/3.18.0: WARN: G3 plugin and JPEGTransform are disabled. freeimage/3.18.0: WARN: Package binary is corrupted, removing: 9cc43818744304e7781fe686f618e40bf542123e perceptualdiff/16012021 (test package): Installing package Requirements freeimage/3.18.0 from 'conancenter' - Cache jasper/4.0.0 from 'conancenter' - Cache jbig/20160605 from 'conancenter' - Cache jxrlib/cci.20170615 from 'conancenter' - Cache lcms/2.14 from 'conancenter' - Cache libdeflate/1.18 from 'conancenter' - Cache libjpeg/9e from 'conancenter' - Cache libpng/1.6.40 from 'conancenter' - Cache libraw/0.20.2 from 'conancenter' - Cache libtiff/4.5.1 from 'conancenter' - Cache libwebp/1.3.1 from 'conancenter' - Cache openexr/2.5.7 from 'conancenter' - Cache openjpeg/2.5.0 from 'conancenter' - Cache perceptualdiff/16012021 from local cache - Cache xz_utils/5.4.2 from 'conancenter' - Cache zlib/1.2.13 from 'conancenter' - Cache zstd/1.5.5 from 'conancenter' - Cache Packages freeimage/3.18.0:9cc43818744304e7781fe686f618e40bf542123e - Build jasper/4.0.0:ee47c182242bbd16ea4826dd8bedf0d018dce180 - Cache jbig/20160605:2e5a89bff997d7160e8de3753b1aa3fe08b71f08 - Cache jxrlib/cci.20170615:164640aad040835ac89882393a96d89200694f04 - Cache lcms/2.14:164640aad040835ac89882393a96d89200694f04 - Cache libdeflate/1.18:164640aad040835ac89882393a96d89200694f04 - Cache libjpeg/9e:164640aad040835ac89882393a96d89200694f04 - Cache libpng/1.6.40:d16518e542c3c6c90681c55aae54dd4ee2ca8000 - Cache libraw/0.20.2:be251fdc2ef9571a90d125fc4e2c0fd9bc9cdaa1 - Cache libtiff/4.5.1:782076c684e250a6127f88a3b045e56803c2da7a - Cache libwebp/1.3.1:73b22cfaa643b9d3345f99129a3900a633b24eec - Cache openexr/2.5.7:61a7c082e167a83edf032e43a342275a39f66a7e - Cache openjpeg/2.5.0:164640aad040835ac89882393a96d89200694f04 - Cache perceptualdiff/16012021:b94957c8d4372cec4b68c2c1afd7cdf03ef827b6 - Build xz_utils/5.4.2:164640aad040835ac89882393a96d89200694f04 - Cache zlib/1.2.13:164640aad040835ac89882393a96d89200694f04 - Cache zstd/1.5.5:12a6e3d1014e79766018a1fc6f082347352e9b2d - Cache Installing (downloading, building) binaries... jbig/20160605: Already installed! jxrlib/cci.20170615: Already installed! lcms/2.14: Already installed! libdeflate/1.18: Already installed! libjpeg/9e: Already installed! libwebp/1.3.1: Already installed! openjpeg/2.5.0: Already installed! xz_utils/5.4.2: Already installed! zlib/1.2.13: Already installed! zstd/1.5.5: Already installed! jasper/4.0.0: Already installed! libpng/1.6.40: Already installed! libtiff/4.5.1: Already installed! openexr/2.5.7: Already installed! libraw/0.20.2: Already installed! freeimage/3.18.0: WARN: Build folder is dirty, removing it: C:\.conan\6a9bce\1 freeimage/3.18.0: Copying sources to build folder freeimage/3.18.0: Building your package in C:\.conan\6a9bce\1 freeimage/3.18.0: Generator txt created conanbuildinfo.txt freeimage/3.18.0: Calling generate() freeimage/3.18.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior freeimage/3.18.0: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' freeimage/3.18.0: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake