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

How to manage cross-platform binary package with conan?

I'm trying to develop a conan package for OpenCV pre-built binaries according to our specs. I need these to be available for Windows and Linux but am at a loss on best practices to structure the conan file. How should I package both binaries? Should…
ruipacheco
  • 15,025
  • 19
  • 82
  • 138
0
votes
1 answer

Integrate CLion with conan test

I followed the example https://github.com/lasote/conan-gtest-example to add GTest to my project via conan. Moreoever I followed these instructions https://docs.conan.io/en/latest/integrations/ide/clion.html to set up conan within CLion. The two…
Soccertrash
  • 1,830
  • 3
  • 28
  • 48
0
votes
0 answers

How to link cmake file with Boost conan libraries?

Hello I try to link my cmake file with the lib boost, so I installed conan on Windows project(TestLink) set(CMAKE_CXX_STANDARD 17) include(./conanbuildinfo.cmake) conan_basic_setup() LINK_DIRECTORIES ( TestLink ./lib ) add_executable( …
CharlesRA
  • 375
  • 2
  • 8
0
votes
0 answers

Runtime issue when compiling a DLL with Conan/CMake that is not present when compiling directly with Visual Studio 2017. Is it possible to solve it?

I want to use a DLL build with the help of Conan/CMake (with the Visual Studio 2017 compiler). Unfortunatly it's impiossible to link the DLL with another projet without installing the Visual C++ redistribuables whereas it is possible with a DLL…
programerC
  • 11
  • 2
0
votes
1 answer

Building Poco C++ libraries with Conan profiles for Android

I am trying to use Poco C++ Libraries in the project and I ran into some problems when building for Android. I am using Conan C++ package manager as a base but I included Poco sources into the project and including its subdirectory into project's…
Boštjan Biber
  • 444
  • 3
  • 12
0
votes
1 answer

Create default files for conan without install

I'm creating a docker image as a build environment where I can mount a project and build it. For build I use cmake and conan. The dockerfile of this image: FROM alpine:3.9 RUN ["apk", "add", "--no-cache", "gcc", "g++", "make", "cmake", "python3",…
Thomas Sablik
  • 16,127
  • 7
  • 34
  • 62
0
votes
1 answer

How to restrict cmake commands based on which target is built

I have a cmake project which produces several executables. I want to package each executable in seperate Docker containers, so inside the Dockefile, I only built the target that I need: RUN mkdir build \ && cd build \ && cmake /app/project…
kutschkem
  • 7,826
  • 3
  • 21
  • 56
0
votes
0 answers

Is there a way to (re)use 'requries' from the project being packaged?

I have create a conan package for my libraries and noticed that I need to duplicate requires list for the library and for the package recipe. I wonder if there is a better way of doing it. I am building conan packages for exising libraries. Say I…
AbbysSoul
  • 393
  • 1
  • 7
0
votes
1 answer

Bincrafters modular Conan packages and the cmake_find_package generator

I have run into an issue using the 1.69.0 version of Boost conan packages built by bincrafters. I do not have problems using other conan packages like libcurl and zlib. I have written a conanfile.txt like…
Cinder Biscuits
  • 4,880
  • 31
  • 51
0
votes
1 answer

Android Studio + conan native code debugging

I have recently switched from ndk-build to cmake build system in Android Studio (I'm using version 3.2.1) and, since I have dependencies in my C++ code to some third party libraries, I've decided to switch to conan C++ package manager to simplify my…
0
votes
1 answer

consuming conan latest version

We are working on integration of conan package management into our pipeline. Our conan package are store in Artifactory. The convention of our version numbers looks like this: Minor.Major.Patch-BuildVerison As we know, for consuming the latest…
Yos
  • 41
  • 1
  • 6
0
votes
1 answer

Upload Build using CURL

I've been trying to find a way to upload builds to artifactory using CURL. I know that we can easily send packages, but i can't find info on sending builds that will land here: Artifactory Build Browser Thanks !
0
votes
1 answer

CMake & QT5 & Conan // CMAKE_AUTOUIC not generating ui header files

I've tried solution given in this thread: CMake & QT5 - QT5_WRAP_UI not generating ui header files but nothing changes. Here is my first CMakeLists.txt (at the root of the project, which calls the second one) cmake_minimum_required (VERSION…
Zodiac
  • 1
  • 3
0
votes
0 answers

Undefined Reference to Boost Archive using Conan and Cmake

First I have setup my project with the following command and files at the root: conan install ./ && cmake…
Romain-p
  • 518
  • 2
  • 9
  • 26
0
votes
1 answer

conan user cmd generates Invalid server response

I installed Artifactory Community Edition for C/C++ 6.3.3 on windows 7 and created a conan reposotory. on the same machine I do have conan 1.7.3. I added the repository to the list of remotes λ conan remote add test…
bechir
  • 11
  • 4