[package] paho-mqtt-c/1.3.5: cmake_find_package_multi issue during conan create
See original GitHub issueTried using the latest paho-mqtt-c package here but targeting 1.3.5 of the library and during my conan create I am getting a bunch of cmake_find_package_multi errors that I don’t quite know what to make of them. Before the most recent additions of this feature here I was able to create the package fine. The same issues are also happening with the latest paho.mqtt.cpp package which also added this new feature.
Package and Environment Details (include every applicable attribute)
- Package Name/Version: paho-mqtt-c & paho-mqtt-cpp/latest
- Operating System+version: Windows
- Compiler+version: VS2017
- Conan version: conan 1.24.0
- Python version: Python 3.7.7
- cmake: 3.17.0
Conan profile (output of conan profile show default
or conan profile show <profile>
if custom profile is in use)
Configuration for profile vs-15-debug:
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=15
build_type=Debug
compiler.runtime=MDd
[options]
[build_requires]
[env]
Steps to reproduce (Include if Applicable)
conan create . k3p/stable -tf test_package -pr vs-15-debug --build missing
Logs (Include/Attach if Applicable)
Issue Analytics
- State:
- Created 3 years ago
- Comments:26 (8 by maintainers)
Top Results From Across the Web
conan create — conan 1.44.1 documentation
Builds a binary package for a recipe (conanfile.py). Uses the specified configuration in a profile or in -s settings, -o options, etc.
Read more >Troubleshooting — conan 1.55.0 documentation
Maybe the package creator didn't build and shared pre-built packages at all and only uploaded the package recipe, or they are only providing...
Read more >Package development flow — conan 1.44.1 documentation
The build method takes a path to a folder that has sources and also to the install folder to get the information of...
Read more >Conan Documentation
Conan is a software package manager which is intended for C and C++ developers. Conan is universal and portable. It works in all...
Read more >Tool requirements — conan 1.55.0 documentation
In this example, tool1 , tool2 , tool3 and tool4 will be used for all packages in the dependency graph (while running conan...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Starting from conan 1.28, there is
required_conan_version
: https://github.com/conan-io/conan-center-index/blob/a79d9f7f0c2b61c3e137720a917313c717761720/recipes/any-lite/all/conanfile.py#L4Closing this issue as I have managed to sort through all the required updates and other packages that were needed to get by. The short of the answer here is you need to be using conan 1.26 or better and you need to possibly update all requirement packages to also use this new mechanism of cmake_find_package_multi.