Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Build failure on Windows with MinGW #30

Open

Description

@eternalego

GCC version 11.3.0 installed with MinGW

running conan as following:
conan install .. --build=missing -o:h boost:without_fiber=True -o:h boost:without_python=True -o:h boost:without_graph=True -o:h boost:without_math=True

It loads boost, etc, while fails while building bzip2 1.0.8

mingw32-make.exe[1]: Entering directory   
'C:/Users/asus/.conan/data/bzip2/1.0.8/_/_/build/afe2ddf847ed9b40cba062f2102b7d2359792b34/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_76583.dir/testCCompiler.c.obj  
C:\msys64_2022\mingw64\bin\gcc.exe    -o CMakeFiles\cmTC_76583.dir\testCCompiler.c.obj   -c   
C:\Users\asus\.conan\data\bzip2\1.0.8\_\_\build\afe2ddf847ed9b40cba062f2102b7d2359792b34\CMakeFiles\CMakeTmp\testCCompiler.c  
CMakeFiles\cmTC_76583.dir\build.make:84: recipe for target 'CMakeFiles/cmTC_76583.dir/testCCompiler.c.obj' failed  
mingw32-make.exe[1]: *** [CMakeFiles/cmTC_76583.dir/testCCompiler.c.obj] Error   
mingw32-make.exe[1]: Leaving directory  
'C:/Users/asus/.conan/data/bzip2/1.0.8/_/_/build/afe2ddf847ed9b40cba062f2102b7d2359792b34/CMakeFiles/CMakeTmp' 
Makefile:140: recipe for target 'cmTC_76583/fast' failed  
mingw32-make.exe: *** [cmTC_76583/fast] Error 2  

Detailed cmake log attached:
CMakeError.log
also conan build log:
build1.log

Conan default profile contains the following:

toolchain=C:\msys64_2022\mingw64\bin
target_host=x86_64-w64-mingw32
cc_compiler=gcc
cxx_compiler=g++

[env]
CONAN_CMAKE_FIND_ROOT_PATH=$toolchain
CC=$toolchain/gcc
CXX=$toolchain/g++
CHOST=$target_host
AR=$target_host-ar
AS=$target_host-as
RANLIB=$target_host-ranlib -
STRIP=$target_host-strip
RC=$target_host-windres

[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=11
build_type=Debug
compiler.libcxx=libstdc++11
[options]
[build_requires]

Could it be another unused dependency?

Activity

  1. mschneider commented on May 3, 2022

    @mschneider
    Owner
  2. eternalego commented on May 3, 2022

    @eternalego
    Author

    That's interesting, tried to set 11.3 and conan printed me a warning that 11.3 is invalid. Only 11 / 11.1 / 11.2 are possible. Ok, will try to do something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions