Git Product home page Git Product logo

Comments (5)

franramirez688 avatar franramirez688 commented on July 19, 2024

Hi @ScarletEmanu

This looks like a bug in the recipe itself (recipe or even the code upstream). Let me transfer it to conan-center-index repository.

from conan-center-index.

memsharded avatar memsharded commented on July 19, 2024

Also, as a comment: ConanCenter builds and tests packages with msvc in Windows, gcc and clang in Linux, etc. But not mingw in Windows. That means that support for mingw in ConanCenter recipes might be varying, and some packages or even some of the underlying libraries source code might not work correctly with mingw. In general, the recommended compiler in Windows would be msvc one.

The first recommended step would be to try first with the msvc compiler, and see if it works, that is good information to isolate the potential problem.

from conan-center-index.

ScarletEmanu avatar ScarletEmanu commented on July 19, 2024

Thanks for advice @memsharded. Using msvc compiler, building of glib not failed.

from conan-center-index.

memsharded avatar memsharded commented on July 19, 2024

Thanks for advice @memsharded. Using msvc compiler, building of glib not failed.

That is good feedback, thanks @ScarletEmanu

It seems the combo "glib recipe" + "meson" + "mingw for Windows" is not working fine, something to investigate.

from conan-center-index.

memsharded avatar memsharded commented on July 19, 2024

Just to make sure, I have just ran:

  • conan new meson_lib -d name=mypkg -d version=0.1
  • Use the profile:
[settings]
os=Windows
build_type=Release
arch=x86_64
compiler=gcc
compiler.version=11
compiler.libcxx=libstdc++11
compiler.cppstd=17
compiler.threads=posix
compiler.exception=seh

[tool_requires]
pkgconf/[*]

[buildenv]
PATH+=(path)C:/ws/msys64/mingw64/bin
  • conan create . -pr=myprofile

And it seems to work fine, so at least the basic Conan + Meson + MinGW works

from conan-center-index.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.