conan profile show default or conan profile show <profile> if custom profile is in use)PS C:\dev> conan profile show default
Configuration for profile default:
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=15
build_type=Release
[options]
[build_requires]
[env]
Try to run conan with the following conanfile.txt:
[requires]
libsndfile/1.0.28@bincrafters/stable
[generators]
qmake
And the following command: conan install .. --build missing --update -o libsndfile:with_alsa=False
Click to expand log
conan install .. --build missing --update -o libsndfile:with_alsa=False
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=15
os=Windows
os_build=Windows
[options]
libsndfile:with_alsa=False
[build_requires]
[env]
ERROR: libsndfile/1.0.28@bincrafters/stable: Invalid configuration: The project libsndfile can not be built by Visual Studio.
@username/channel is optional for a while now.
All packages in the Conan Center Index don't have a @username/channel anymore. Packages with a @username/channel do come from places like conan-community (@conan)) and Bincrafters (@bincrafters)) .
Please migrate to libsndfile/1.0.28
That said, it still won't work with VS. This is more a feature request than a bug
Soon. You'll have to wait until 1.0.29.
https://github.com/erikd/libsndfile/pull/539
Ok since it is released (https://github.com/erikd/libsndfile/releases/tag/v1.0.29), what would it take to have it in conan center?
@MartinDelille You can open a PR bumping its version. Only add the new release URL and sha256 in conandata.yml, and add 1.0.29 in config.yml.
@uilianries
That's why I opened #2556 .
We currently build libsndfile using the autotools scripts.
But since the previous release, libsndfile has learned cmake which has built-in MSVC support.
To make maintenance easier, we should add a new cmake-only recipe.
But that requires renaming the folder of the previous and adding a new recipe folder, hence requiring 2 pr's.
That is a lot of things to expect from a newcomer.
Hence #2556.
Ok I felt adventurous and opened the two pull requests 馃槃 !
The second (in draft) is failing locally for now: https://github.com/conan-io/conan-center-index/pull/2597
Most helpful comment
Ok I felt adventurous and opened the two pull requests 馃槃 !
The second (in draft) is failing locally for now: https://github.com/conan-io/conan-center-index/pull/2597