Questions tagged [conan]

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.

Homepage

Documents

Github Repository

368 questions
12
votes
0 answers

Differences between conan and conda package managers

For C/C++ packages, what are the practical differences, i.e. from the point of view of a developer, between conan and conda?
Nibor
  • 1,122
  • 6
  • 23
8
votes
5 answers

Linking Conan Include to VS Code

I'm currently using Conan on a C++ project using sqlite_orm as a dependency. When using my personal include (like myClass.hpp for example) Visual Studio Code is able to provide auto-completion but with Conan's include, no auto-completion is…
Bibas
  • 434
  • 3
  • 13
6
votes
2 answers

GTest installed with Conan: undefined reference

I tried to use gtest installed through conan, but ended up with an undefined reference linker error. This question is a more or less a follow up to this stackoverflow question. But I think the provided example was to simple. I compile under up to…
erikzenker
  • 662
  • 5
  • 15
6
votes
1 answer

Language/Platform/Build-Independent Dependency Manager

I'm in need of a dependency manager that is not tied to a particular language or build system. I've looked into several excellent tools (Gradle, Bazel, Hunter, Biicode, Conan, etc.), but none satisfy my requirements (see below). I've also used Git…
Ken
  • 533
  • 6
  • 10
5
votes
1 answer

Cannot collect patch dependency on a local Artifactory Pypi repository

While testing out conan, I had to "pip install" it. As I am working in a fully offline environment, my expectation was that I could simply Manually deploy all dependencies listed in…
Arnaud Jeansen
  • 1,399
  • 12
  • 25
5
votes
1 answer

why android ndk standalone toolchain do not support arm64 with api 19 but android ndk cmake does

I used to build arm64-v8a lib of api level 19 use android.toolchain.cmake comes with Android NDK r16b like this. ${CMAKE} \ -DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FILE} \ -DANDROID_NDK=$ANDROID_NDK_HOME …
guorongfei
  • 177
  • 1
  • 9
4
votes
1 answer

Using conanfile.txt and conanfile.py in the same directory

I have a C++ library that I build using Conan. It has a conanfile.txt with some dependencies and options. I build it using conan install ... to build thirdparty libraries and create conan config, and then using cmake to build the library itself. Now…
Rinat Veliakhmedov
  • 1,081
  • 15
  • 32
4
votes
1 answer

Is there a way to add python dependencies to conan package

I am setting up a project using multiple libraries and packages in C/C++ and Python. I would like to setup a binary repository for C/C++ packages and a python package index server for python packages. I stumbled upon conan and artefactory to handle…
Alexper
  • 63
  • 7
4
votes
1 answer

Relative RPATHs when building conan / cmake project on MacOS

I have a simple C++ project with a dependency on Intel TBB (which requires the use of shared libraries). I'm trying to build this using the Conan package manager combined with CMake, and I've already been able to use this setup to add non-shared…
Dave
  • 36,791
  • 8
  • 53
  • 96
4
votes
2 answers

Artifactory's Conan repository is Not Found

I am trying to setup Artifactory OSS repository with Conan. Everything seems to work fine in Artifactory console. In instructions of "Set me up" in Artifacory OSS it says: To add the repository to your conan CLI, use: conan remote add
Ugnius Malūkas
  • 2,151
  • 6
  • 26
  • 37
4
votes
1 answer

How to link only to some of the libraries in Conan package?

I'm considering to start using Conan package manager for managing third party dependencies of my C++ projects, but I cannot find how to link only to some of the libraries in Conan package. I'm using CMake as build system and I'm using Conan multi…
bobeff
  • 2,800
  • 1
  • 26
  • 51
4
votes
1 answer

Can I retrieve the source code of the library packaged with Conan package manager to be able to debug in it?

Typically Conan package contains only build artifacts like *.dll, *.lib, *.pdb, *.so, *.a, *.dylib files as well headers of given C or C++ library. However sometimes when you debugging your code consuming the library is very useful to be able to…
bobeff
  • 2,800
  • 1
  • 26
  • 51
4
votes
3 answers

Is Conan repository available in Artifactory OSS?

The webpage for JFrog's Artifactory OSS makes it seem like it's part of OSS https://www.jfrog.com/open-source/#conan. I'm trying it out in a Docker container and "Conan" doesn't show up as a clickable option in new local repository. Am I…
loneraver
  • 932
  • 1
  • 11
  • 20
4
votes
1 answer

How does one package inter-dependent libraries with Conan?

I have a project for which I am trying to use conan as the package manager. The project uses a large number of libraries, most of which are self-sufficient. However, some of them depend on another library. To give a concrete example, let's say we…
Michel
  • 569
  • 4
  • 13
4
votes
1 answer

How do I make conan generate a FindXXX.cmake?

I have been creating packages with conan for all the libraries one of the projects I work on uses. I've created a conanfile.py for each and all is well. I've created a conanfile.txt for a dummy code to make sure all is working as expected. I've…
Michel
  • 569
  • 4
  • 13
1
2 3
24 25