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

conan dependency conflict when importing package hdf5/1.10.6 which depends on zlib/1.2.11

I try to add the package hdf5/1.10.6 in my application. I've got the following error. [build] ERROR: Conflict in hdf5/1.10.6 [build] Requirement zlib/1.2.11 conflicts with already defined zlib/1.2.11@conan/stable [build] To change it,…
user3691191
  • 547
  • 1
  • 10
  • 20
0
votes
1 answer

How to change host_name in Conan io server before launch the container?

I am running conan io server in a docker container. I am trying to access the server from another docker container. Both containers are running on same network. As far as I understood from documentation I have to change in server.conf…
user12640668
0
votes
0 answers

How do I properly use pre-compiled headers in a library?

I am working with a codebase containing classes shared between multiple projects. Until now those classes had simply been stored in common folders and referenced in-place. In the interest of versioning these dependencies, I've started grouping…
Joe Schrag
  • 855
  • 8
  • 23
0
votes
1 answer

Multiple conanfile.py management

Let's say I have 2 different conanfile.py in a project and I'm calling conan install two times to install their dependencies. I'm having trouble while adding them to cmake. If I use basic setup…
Sirdavos
  • 75
  • 1
  • 9
0
votes
1 answer

Indexing PQXX in CLION

I found an adjacent question regarding pqxx with CLion. cmake_minimum_required(VERSION 3.15) project(pqxx_test) set(CMAKE_CXX_STANDARD 17) set(CMAKE_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_EXPORT_COMPILE_COMMANDS 1) if(NOT…
Karlson
  • 2,958
  • 1
  • 21
  • 48
0
votes
0 answers

Connection issue from host machine to conan-repository in docker container

I'm using artifactory conan-repository to keep my binary files and this repository is running as a container in my machine. I installed conan-client to my host machine and created a binary, uploaded it to my local artifactory and tested it via…
Sirdavos
  • 75
  • 1
  • 9
0
votes
1 answer

How to find .pc files for pkg-config via Conan and CMake

How can I make pkg-config find both dependencies installed via Conan AND dependencies that are not in Conan? My target package is built using CMake and finds its dependencies using pkg-config with pkg_check_modules(). One of the dependencies…
hrantzsch
  • 353
  • 2
  • 7
0
votes
0 answers

Jfrog C++ Setup Conan packages

I have to upload the C++ Conan Packages 10gb in to JFrog Community edition[CE] jfrog will defaultly support the packages or have to integrate with PostgreSQL Server.
0
votes
0 answers

Does Conan support non-compiled packages?

I have a group of class files which are shared by several of our projects. We would like to start refactoring these classes, so I am starting by building a Conan package to allow us to version them. The sticky part is that they do not build on…
Joe Schrag
  • 855
  • 8
  • 23
0
votes
1 answer

Conan.io during compile step or already on checkout

I am evaluating conan.io for my C++ project. Am I understanding correctly that conan dependencies are executed/resolved as part of the the build system? The documentation states: Also Conan works with any build system. In the documentation, CMake …
Daniel Stephens
  • 2,371
  • 8
  • 34
  • 86
0
votes
1 answer

Building libjpeg-turbo with conan fails on windows

I am trying to build libjpeg-turbo package with conan on Windows: conan install libjpeg-turbo/1.5.2@bincrafters/stable But it fails with: libjpeg-turbo/1.5.2@bincrafters/stable: Not found in local cache, looking in…
Michał Walenciak
  • 4,257
  • 4
  • 33
  • 61
0
votes
1 answer

Missing user and channel fields in google-benchmark conan package

I am trying to install the google benchmark library using the C++ package manager Conan. However, the user and channel fields seem to be missing from the conan-center. I also get an error if I try to search for the library on the…
Touloudou
  • 2,079
  • 1
  • 17
  • 28
0
votes
0 answers

Conan - Don't know how to make vcvarsall.bat

I'm currently trying to use boost_system 1.69.0 as a dependency in a project using the conan package manager. I have a completely up to date windows 10 professional version with entirely up to date python, visual studio 2019, Microsoft MPI, and…
Siech0
  • 471
  • 6
  • 12
0
votes
1 answer

How to fire circle-ci build in one repo when pushing in another repository

I'm still playing around with github/circle-ci and conan. I've got a repository "fcdk", which is a simple C++ library. I've another repository "fcdk-conan" which contain the conan's recipe to build the first repository (fcdk). This second repository…
Gojita
  • 490
  • 4
  • 10
0
votes
0 answers

Conan package losing file rights

I'm creating a package from a precompiled library (Zip file). The Zip file have a file named codegen which have executable rights (-rwxr-xr-x). But when I check the conan package I have only read rights (-rw-r--r--). I checked the copy methode from…
Nil
  • 1