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

662 questions
0
votes
1 answer

Howto install log4cxx with conan?

I am starting to experiment with conan. I found this GitHub repository but I am not sure what to do with it. I would like to install log4cxx via conan install.
lanoxx
  • 12,249
  • 13
  • 87
  • 142
0
votes
1 answer

Does Conan install build dependencies when building from source?

E.g. if my package requires gcc to build and gcc is not present on the target system, will it be installed when building my package from source? If so, how do I specify build dependencies for my package? They may be different for different systems.
Sergey Slepov
  • 1,861
  • 13
  • 33
0
votes
1 answer

Different structure in a conan repository in Artifactory

I've noticed a different repository structure for a conan repository in Artifactory. 1. Artifactory Enterprise 6.3.2 Repository Layout: conan-default Repository strucutre: repository_name/conan_username/conan_package_name/version/channel 2.…
nicole
  • 91
  • 10
0
votes
1 answer

Problems to generate executable with ninja. using packages with conan

I have the next problem, when i intent to generate the executable of my application, the system show me the next message : undefined reference to `sum' undefined reference to `rest' undefined reference to `multi' With the case of div, the…
Pony94
  • 1
  • 1
0
votes
0 answers

Cmake can't read file saying it cannot find it, with correct path

I am trying to use conan in a CLion project. Conan generates a conanbuildinfo.cmake file. In this file, it's trying to read another file, generated by conan too, and called conaninfo.txt. It's not able to find it, and cmake prints the following…
souki
  • 1,305
  • 4
  • 23
  • 39
0
votes
1 answer

File selection with conan and cmake

I have a package with 2 variants with the following directory structure pkg pkg_main.h CMakeLists.txt var1 pkg_main.cpp var2 pkg_main.cpp conanfile.py With conan, I'm trying to define an option fileSelection with possible…
nicole
  • 91
  • 10
0
votes
1 answer

Connecting Conan package with ordinary Qt directory

I've studied creating package in the official Conan tutorial. I'd like to create my own package for a static library (CMake-based project). It supports Linux and Windows. But it depends on Qt LTS 5.9x. CMakeLists.txt contains a call to find_package.…
ilya
  • 1,103
  • 14
  • 36
0
votes
1 answer

How to Customize the Conan Visual_Studio Generator Output File

I am generating Visual Studio property files using Conan's visual_studio generator. The resulting output from this generator is "conanbuildinfo.props". Within this properties file, the following optional tag can be added to specify a display-name…
Jeff G
  • 4,470
  • 2
  • 41
  • 76
0
votes
1 answer

Recognize linux distribution in conan

I created a Ncurses conan package for some projects where I use Ncurses. I use a conanfile.py for configuration. Now I have the problem that under Centos terminfo is in /usr/lib and under Debian-based system it is in /lib. Therefor I have to set an…
Thomas Sablik
  • 16,127
  • 7
  • 34
  • 62
0
votes
1 answer

Link Conan packages over local repositories

Is there some way to link Conan packages over local repositories like Bintray (conan-center) ? I read Manipulating Artifacts but I just found Copy and Move features. Regards.
uilianries
  • 3,363
  • 15
  • 28
0
votes
1 answer

Docker - pass username and password for git repository, that is downloaded via conanfile

I have the following problem: I am using Conan and in one of my conanfiles I am downloading from a private repository. That works so far, but when I am using Docker it complains that it doesn't have the username and password for this repository. Is…
CmasterG
  • 155
  • 1
  • 2
  • 9
0
votes
1 answer

conan io : Unknown command 'export-pkg'

I am using conan io to create a package from pre build binaries. I found this post on the conan website: http://docs.conan.io/en/latest/creating_packages/existing_binaries.html but the problem is: Every time I try to use export-pkg command I get an…
Berta_B
  • 23
  • 3
0
votes
1 answer

Conan.io and netbeans - howto setup a project

I'm trying NetBeans as my new IDE for c++. I would love to use conan.io as package manager. My conanfile.py looks like this (from the conan site): class MyConanTestProj(ConanFile): settings = "os", "compiler", "build_type", "arch" requires =…
Wolfgang
  • 320
  • 3
  • 12
0
votes
1 answer

How to get right values from requirements in Conan recipe to be used as CMake parameters?

I'm writing recipe for creating package for rabbitmq-c library. When ENABLE_SSL_SUPPORT option in its CMake script is checked it requires OpenSSL library for its build. As it shown on provided screen paths to Debug and Release versions of…
bobeff
  • 3,543
  • 3
  • 34
  • 62
0
votes
0 answers

Using Conan (and SVN) as a dependence manager for Matlab projects

I'm looking into using Conan.io as a package/dependency manager for simple source-code projects in Matlab/Python. We are a team of around 20 developers (of very different experience levels) with a single SVN server set up, including all our source…
casparjespersen
  • 3,460
  • 5
  • 38
  • 63