conan-io / conan-center-index

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

[package] sentry-crashpad/0.4.17: can't build with mingw on Windows #10611

Open AndreyMlashkin opened 2 years ago

AndreyMlashkin commented 2 years ago

Package and Environment Details (include every applicable attribute)

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.exception=seh
compiler.libcxx=libstdc++11
compiler.threads=posix
compiler.version=11.2
cppstd=17
os=Windows
[options]
*:with_embree=False
[build_requires]
*: mingw-builds/11.2.0
[env]
CC=C:\ProgramData\chocolatey\bin\gcc.exe
CONAN_CPU_COUNT=1
CXX=C:\ProgramData\chocolatey\bin\g++.exe
[conf]
tools.cmake.cmaketoolchain:generator=Ninja

Steps to reproduce (Include if Applicable)

conan install sentry-native/0.4.17@ -pr gcc --build missing

Logs (Include/Attach if Applicable)

Click to expand log ``` c> conan install sentry-native/0.4.17@ -pr gcc --build missing Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.exception=seh compiler.libcxx=libstdc++11 compiler.threads=posix compiler.version=11.2 cppstd=17 os=Windows [options] *:with_embree=False [build_requires] *: mingw-builds/11.2.0 [env] CC=C:\ProgramData\chocolatey\bin\gcc.exe CONAN_CPU_COUNT=1 CXX=C:\ProgramData\chocolatey\bin\g++.exe [conf] tools.cmake.cmaketoolchain:generator=Ninja sentry-native/0.4.17: Not found in local cache, looking in remotes... sentry-native/0.4.17: Trying with 'artifactory'... sentry-native/0.4.17: Trying with 'conancenter'... Downloading conanmanifest.txt completed [0.17k] Downloading conanfile.py completed [8.61k] Downloading conan_export.tgz completed [0.25k] Decompressing conan_export.tgz completed [0.00k] sentry-native/0.4.17: Downloaded recipe revision fc3c09f47a4ec18795dad0c35f1ac228 sentry-crashpad/0.4.17: Not found in local cache, looking in remotes... sentry-crashpad/0.4.17: Trying with 'artifactory'... sentry-crashpad/0.4.17: Trying with 'conancenter'... Downloading conanmanifest.txt completed [0.17k] Downloading conanfile.py completed [11.15k] Downloading conan_export.tgz completed [0.25k] Decompressing conan_export.tgz completed [0.00k] sentry-crashpad/0.4.17: Downloaded recipe revision 6c69fef5a22bb155e6015ebc1f3ff793 Installing package: sentry-native/0.4.17 Requirements sentry-crashpad/0.4.17 from 'conancenter' - Downloaded sentry-native/0.4.17 from 'conancenter' - Downloaded zlib/1.2.12 from 'artifactory' - Cache Packages sentry-crashpad/0.4.17:dc260afa4d8748877a875d1b27b8054e86e9f8f7 - Build sentry-native/0.4.17:78395a53bffde04e3d48619a0760401c90395c16 - Build zlib/1.2.12:0e885adadf54597fdcc157ee89599a4f19ce45b1 - Cache Build requirements cmake/3.22.0 from 'artifactory' - Cache mingw-builds/11.2.0 from 'conancenter' - Cache Build requirements packages cmake/3.22.0:01edd76db8e16db9b38c3cca44ec466a9444c388 - Cache mingw-builds/11.2.0:6903a9d1b48b06f7fbe0929db654512c77e6cc32 - Cache Installing (downloading, building) binaries... cmake/3.22.0: Already installed! cmake/3.22.0: Appending PATH environment variable: D:\.conan\data\cmake\3.22.0\_\_\package\01edd76db8e16db9b38c3cca44ec466a9444c388\bin mingw-builds/11.2.0: Already installed! mingw-builds/11.2.0: Appending PATH env var with : D:\.conan\data\mingw-builds\11.2.0\_\_\package\6903a9d1b48b06f7fbe0929db654512c77e6cc32\bin mingw-builds/11.2.0: Appending PATH env var with : D:\.conan\data\mingw-builds\11.2.0\_\_\package\6903a9d1b48b06f7fbe0929db654512c77e6cc32\bin zlib/1.2.12: Already installed! sentry-crashpad/0.4.17: Applying build-requirement: mingw-builds/11.2.0 Downloading conan_sources.tgz completed [0.26k] Decompressing conan_sources.tgz completed [0.00k] sentry-crashpad/0.4.17: Configuring sources in D:\.conan\87ad1d\1 Downloading sentry-native.zip completed [6226.63k] Unzipping 21.3MB, this can take a while Unzipping 100 % sentry-crashpad/0.4.17: Copying sources to build folder sentry-crashpad/0.4.17: Building your package in D:\.conan\27f9cd\1 sentry-crashpad/0.4.17: Generator cmake created conanbuildinfo.cmake sentry-crashpad/0.4.17: Aggregating env generators sentry-crashpad/0.4.17: Calling build() ----Running------ > cd D:\.conan\27f9cd\1\build_subfolder && cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="11.2" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="D:\.conan\355532\1" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCRASHPAD_ENABLE_INSTALL="True" -DCRASHPAD_ENABLE_INSTALL_DEV="True" -DCRASHPAD_ZLIB_SYSTEM="True" -Wno-dev D:\.conan\27f9cd\1 ----------------- -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/ProgramData/chocolatey/bin/gcc.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/ProgramData/chocolatey/bin/g++.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 11.2 -- Conan: Checking correct version: 11.2 -- Conan: C++ stdlib: libstdc++11 -- Found ZLIB: D:/.conan/data/zlib/1.2.12/_/_/package/0e885adadf54597fdcc157ee89599a4f19ce45b1/lib/libzlib.a (found version "1.2.12") -- The ASM_MASM compiler identification is unknown -- Found assembler: ml CMake Warning at source_subfolder/external/crashpad/CMakeLists.txt:57 (message): No custom ASM_MASM compiler defined via 'CMAKE_ASM_MASM_COMPILER'. Trying to use UASM... -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: D:/.conan/27f9cd/1/build_subfolder ----Running------ > cmake --build D:\.conan\27f9cd\1\build_subfolder -- -j1 ----------------- [ 0%] Linking CXX static library ..\..\..\..\lib\libcrashpad_compat.a [ 0%] Built target crashpad_compat [ 1%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/debug/alias.cc.obj [ 2%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/files/file_path.cc.obj [ 2%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/files/scoped_file.cc.obj [ 3%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/logging.cc.obj [ 3%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/process/memory.cc.obj [ 4%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/rand_util.cc.obj [ 4%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/strings/string_number_conversions.cc.obj [ 5%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/strings/stringprintf.cc.obj [ 6%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/strings/utf_string_conversions.cc.obj [ 6%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/synchronization/lock.cc.obj [ 7%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/third_party/icu/icu_utf.cc.obj [ 7%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/threading/thread_local_storage.cc.obj [ 8%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/utf_string_conversion_utils.mingw.cc.obj [ 9%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/memory/page_size_win.cc.obj [ 9%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/scoped_clear_last_error_win.cc.obj [ 10%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/strings/string_util_win.cc.obj [ 10%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/synchronization/lock_impl_win.cc.obj [ 11%] Building CXX object source_subfolder/external/crashpad/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/threading/thread_local_storage_win.cc.obj [ 12%] Linking CXX static library ..\..\..\..\..\lib\libmini_chromium.a [ 12%] Built target mini_chromium Scanning dependencies of target crashpad_util [ 13%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/file/delimited_file_reader.cc.obj [ 13%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/file/file_helper.cc.obj [ 14%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/file/file_io.cc.obj [ 15%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/file/file_reader.cc.obj [ 15%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/file/file_seeker.cc.obj [ 16%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/file/file_writer.cc.obj [ 16%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/file/output_stream_file_writer.cc.obj [ 17%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/file/scoped_remove_file.cc.obj [ 18%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/file/string_file.cc.obj [ 18%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/initialization_state_dcheck.cc.obj [ 19%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/lexing.cc.obj [ 19%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/metrics.cc.obj [ 20%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/pdb_structures.cc.obj [ 20%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/random_string.cc.obj [ 21%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/range_set.cc.obj [ 22%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/reinterpret_bytes.cc.obj [ 22%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/scoped_forbid_return.cc.obj [ 23%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/time.cc.obj [ 23%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/uuid.cc.obj [ 24%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/zlib.cc.obj [ 25%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/net/http_body.cc.obj [ 25%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/net/http_body_gzip.cc.obj [ 26%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/net/http_multipart_builder.cc.obj [ 26%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/net/http_transport.cc.obj [ 27%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/net/url.cc.obj [ 27%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/numeric/checked_address_range.cc.obj [ 28%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/process/process_memory.cc.obj [ 29%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/process/process_memory_range.cc.obj [ 29%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/stdlib/aligned_allocator.cc.obj [ 30%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/stdlib/string_number_conversion.cc.obj [ 30%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/stdlib/strlcpy.cc.obj [ 31%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/stdlib/strnlen.cc.obj [ 32%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/stream/base94_output_stream.cc.obj [ 32%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/stream/file_encoder.cc.obj [ 33%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/stream/file_output_stream.cc.obj [ 33%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/stream/log_output_stream.cc.obj [ 34%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/stream/zlib_output_stream.cc.obj [ 35%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/string/split_string.cc.obj [ 35%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/thread/thread.cc.obj [ 36%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/thread/thread_log_messages.cc.obj [ 36%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/thread/worker_thread.cc.obj [ 37%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/file/directory_reader_win.cc.obj [ 37%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/file/file_io_win.cc.obj [ 38%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/file/filesystem_win.cc.obj [ 39%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/clock_win.cc.obj [ 39%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/paths_win.cc.obj [ 40%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/time_win.cc.obj [ 40%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/net/http_transport_win.cc.obj [ 41%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/process/process_memory_win.cc.obj [ 42%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/synchronization/semaphore_win.cc.obj [ 42%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/thread/thread_win.cc.obj [ 43%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/command_line.cc.obj [ 43%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/critical_section_with_debug_info.cc.obj [ 44%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/exception_handler_server.cc.obj [ 44%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/get_function.cc.obj [ 45%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/get_module_information.cc.obj [ 46%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/handle.cc.obj [ 46%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/initial_client_data.cc.obj [ 47%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/loader_lock.cc.obj [ 47%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/module_version.cc.obj [ 48%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/nt_internals.cc.obj [ 49%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/ntstatus_logging.cc.obj [ 49%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/process_info.cc.obj [ 50%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/registration_protocol_win.cc.obj [ 50%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/scoped_handle.cc.obj [ 51%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/scoped_local_alloc.cc.obj [ 51%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/scoped_process_suspend.cc.obj [ 52%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/scoped_set_event.cc.obj [ 53%] Building CXX object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/win/session_end_watcher.cc.obj [ 53%] Building ASM_MASM object source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/capture_context_win.asm.obj 'uasm' is not recognized as an internal or external command, operable program or batch file. mingw32-make.exe[2]: *** [source_subfolder\external\crashpad\util\CMakeFiles\crashpad_util.dir\build.make:1109: source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/misc/capture_context_win.asm.obj] Error 1 mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:362: source_subfolder/external/crashpad/util/CMakeFiles/crashpad_util.dir/all] Error 2 mingw32-make.exe: *** [Makefile:135: all] Error 2 sentry-crashpad/0.4.17: sentry-crashpad/0.4.17: ERROR: Package 'dc260afa4d8748877a875d1b27b8054e86e9f8f7' build failed sentry-crashpad/0.4.17: WARN: Build folder D:\.conan\27f9cd\1 ERROR: sentry-crashpad/0.4.17: Error in build() method, line 101 cmake.build() ConanException: Error 2 while executing cmake --build D:\.conan\27f9cd\1\build_subfolder -- -j1 ```
AndreyMlashkin commented 2 years ago

@ericriff @MartinDelille @SpaceIm @VladimirVR @madebr Do you know something about this issue? Or at least, where to report it upstream?

madebr commented 2 years ago

This is the upstream repo: https://github.com/getsentry/crashpad They don't accept issues, only patches. In my previous experiences with getsentry repo's, they are very friendly and receptive.

AndreyMlashkin commented 2 years ago

Okey, but I see, that it is a forked repo: forked from https://github.com/chromium/crashpad

madebr commented 2 years ago

Then, you're talking about the cci crashpad recipe.

AndreyMlashkin commented 2 years ago

Ok, I see the root of the problem - it is missing asm executable https://github.com/getsentry/crashpad/blob/be34d6e8b0b6d3f3845e3a1164771d8e24269ea8/CMakeLists.txt#L55

Do you know, if there is ml, ml64 or uasm as build tools available in conan?

madebr commented 2 years ago

ml/ml64 are the microsoft assemblers, so the Visual Studio builders should have them. You need to enable the ASM_MASM language for it to work.

For other toolchains, you need to add tool requires: https://en.wikipedia.org/wiki/Microsoft_Macro_Assembler#Assemblers_compatible_with_MASM

AndreyMlashkin commented 2 years ago

Implemented in https://github.com/conan-io/conan-center-index/pull/10739

AndreyMlashkin commented 2 years ago

It fails for me in


                 from c:\programdata\chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\include\stdint.h:32,
                 from c:\programdata\chocolatey\lib\mingw\tools\install\mingw64\lib\gcc\x86_64-w64-mingw32\11.2.0\include\stdint.h:9,
                 from D:/.conan/0354dd/1/source_subfolder/external/crashpad/snapshot/win/pe_image_reader.h:19,
                 from D:\.conan\0354dd\1\source_subfolder\external\crashpad\snapshot\win\pe_image_reader.cc:15:
D:\.conan\0354dd\1\source_subfolder\external\crashpad\snapshot\win\pe_image_reader.cc: In member function 'bool crashpad::PEImageReader::ImageDataDirectoryEntryT(size_t, IMAGE_DATA_DIRECTORY*) const':
  428 |           offsetof(decltype(nt_headers.OptionalHeader), DataDirectory[index]) +
      |                                                                       ^~~~~
mingw32-make[2]: *** [source_subfolder\external\crashpad\snapshot\CMakeFiles\crashpad_snapshot.dir\build.make:451: source_subfolder/external/crashpad/snapshot/CMakeFiles/crashpad_snapshot.dir/win/pe_image_reader.cc.obj] Error 1
m``