Conan is a portable package manager, intended for C and C++ developers, but it is able to manage builds from source, dependencies, and precompiled binaries for any language.
Questions tagged [conan]
662 questions
0
votes
1 answer
How can I search conan for packages by description text?
I've not used Conan before. I've now installed it, and I basically know how to install a package with it, but - I need to find packages.
I've gone here: https://bintray.com/conan/conan-center
and there's a search interface, but it seems to ignore…

einpoklum
- 118,144
- 57
- 340
- 684
0
votes
0 answers
Conan boost 1.71.0 missing dependencies
I am working on a project and I have to use boost and conan to manage my packages.
I use the last version on conan center.
boost/1.71.0@conan/stable
On windows I don't have any trouble but on linux, conan doesn't install all the boost…

Alp4ga
- 115
- 1
- 1
- 10
0
votes
0 answers
Unable to install conan through cmake
On installing cmake in a build file
The command line prompts an error, shown in image 1 attached. After researching, it seems that the error is due to python (dependecies or filepath or any other problem). Showen below
On installing cmake and conan…

Yal_12
- 1
- 2
0
votes
1 answer
Can I specify a different folder for each package in a conanfile?
I have a couple different packages, and would like to put each one in its own folder (within my include directory). Is there a way to do this easily using conan?
0
votes
1 answer
Conan Add remote Task in Azure Pipelines : Failing when adding two remotes
I have a Azure DevOps pipeline in which I am adding two remotes. When using the JFrog Extension for Azure Pipelines and the included conan upload task, this task will not use the configured remote, but always the last added. Is there any solution…

chris polzer
- 3,219
- 3
- 28
- 44
0
votes
1 answer
cmake and Visual Studio 15 2017 generator - defining a build type
I work on Windows 10. I use cmake with Visual Studio 15 2017 generator. CMakeLists.txt requires CMAKE_BUILD_TYPE to be defined because it is used by Conan command called from cmake (execute_process). Here is the cmake command:
cmake…

Irbis
- 1,432
- 1
- 13
- 39
0
votes
0 answers
Using Visual Studio remote debug and conan together
My setup is as so:
Windows PC running VS 2017 with remote debugger
Centos machine running rsync and not connected to conan server
Conan server with packages for Windows and Centos
When I compile and run my C++ code on Windows, I can pull the…

Avner Gidron
- 411
- 5
- 13
0
votes
0 answers
Error with cmake conan and liblogicalaccess
I have installed the 2.2.1 version of the liblogicalaccess library on Kubuntu 18.04 with CMake 3.17.1 and Conan 1.25.0.
I tried to follow the C++ howto of the liblogicalaccess library and on the second line of code, when running the program it gives…

R D
- 13
- 4
0
votes
1 answer
CMake Errors -Using Conan in the yuzu generator
I am using vs code and CMake to generator the yuzu project, but the CMakeList.txt always report error on the conan code since line 127 ,and I have already install the conan in the CMD with pip command.
Yuzu project and the CMakeList.txt
CMake…

amjackfan
- 1
- 2
0
votes
2 answers
conan cosumer file and producer file
I'm new to conan and I've been going through several youtube videos for Conan and what I'm not clear about how the consumer of the library will know where the library will be hosted. It's an open source c project hosted on github let's say at…

AppDeveloper
- 1,816
- 7
- 24
- 49
0
votes
1 answer
MSBuild flags to build for WindowsStore / UWP
Two days of research gave me no results. I want to configure a conanfile to build an existing .sln for UWP / WindowsStore, to make sure everything is allowed.
Here's an MSBuild part of the conanfile.py
class LibConan(ConanFile):
def build(self)
…

arsdever
- 1,111
- 1
- 11
- 32
0
votes
0 answers
Linking errors in Poco with Conan package manage on Windows
I get several linking errors for Poco projexts with Conan package manage on Windows like the following
.conan\data\poco\1.10.1\_\_\package\d0e9f44a88e404fed65e5d6af2191422fc27fe30\lib\PocoZipmd.lib : warning LNK4272: library machine type 'x64'…

Theo Niko
- 27
- 5
0
votes
1 answer
conan install fails on name and version field
relevant files:
.
├── bin
├── src
├── conanfile.py
└── gcc-9.3.0-linux-x86-debug.profile
When trying to run the following command from the bin folder, I get the error that the name and the version field is not found in the profile.
$ conan install…

blipman17
- 523
- 3
- 23
0
votes
0 answers
conan does partial install of Boost on ubuntu 16.04
I am encountering weird conan problems. My conanfile.txt reads:
[requires]
boost/1.71.0@conan/stable
[generators]
cmake
On running conan install .. from build directory i get the following message:
boost/1.71.0@conan/stable: WARN: Lib folder…

Captain Jack sparrow
- 959
- 1
- 13
- 28
0
votes
0 answers
CONAN - error while compiling consumer: Cannot specify link libraries for target "MyLib" which is not built by this project
I have a library MyLib/0.1@myself/testing that is uploaded to remote: myconan-test
I'm searching how to use it in a consumer with conanfile.py. The package is downloaded in cache after the installing step. But I have an error while compiling the…

muocdich
- 41
- 1
- 8