Skip to main content
0 votes
0 answers
18 views

So, I have this in a CMakeLists.txt: cmake_minimum_required(VERSION 3.19) project(MyHello LANGUAGES CXX) find_package(deal.II 9.4.2 CONFIG REQUIRED) find_package(Boost REQUIRED) find_package(TBB ...
Paulo Carvalho's user avatar
2 votes
0 answers
49 views

In WSL (Ubuntu 24.04), when using Conan to create a package that links pybind11/3.0.1, the resulting executable in the test_package fails to run. Even if the executable doesn't directly call any ...
AzusaYu's user avatar
  • 21
0 votes
0 answers
100 views

I am building a package that depends on two tools: toola and toolb. These tools may depend on different CMake packages. In my package recipe, the tool dependencies are declared as: tool_requires = ( ...
Pavlo Rudenko's user avatar
0 votes
0 answers
116 views

When using a single configuration environment of UnixMakeFiles, and Conan 1.x, it was easy to specify a build type in the Conan profile, and use the packages in cmake using cmake generator and the ...
Gil's user avatar
  • 11
1 vote
1 answer
130 views

I want to build from source Conan 2 packages with LTO using GCC and Unix Makefiles generator. I'm building packages with conan install . --build=missing. LTO (Link Time Optimization) can be enabled in ...
Igor Mikushkin's user avatar
0 votes
1 answer
262 views

I have the following Conan default profile: [settings] build_type=Debug arch=x86_64 compiler=gcc compiler.cppstd=gnu23 compiler.libcxx=libstdc++11 compiler.version=14 os=Linux [conf] tools.build:...
Igor Mikushkin's user avatar
2 votes
1 answer
121 views

I'd like conan install . --build=missing to print the underlying compiler commands when building from source. Increasing the verbosity level (e.g. -vvv) doesn't help. I suspect I need to pass ...
Igor Mikushkin's user avatar
0 votes
0 answers
21 views

After switching to Conan 2, I faced the following problem: Conan 2 does not export the conaninfo.cmake file, and in order to use CMake, I need to use presets or a toolchain file that works as expected ...
Argishti Ayvazyan's user avatar
3 votes
1 answer
203 views

I am using Conan (version 2.15.1) to install Boost in a Debian Bullseye Docker container. I am able to do that successfully with the command conan install --build "*" . (build everything ...
Sam Herrmann's user avatar
  • 7,036
0 votes
0 answers
266 views

I am new to conan, I am trying to integrate it to my project through a conanfile.py My conanFile.py is this from conan import ConanFile from conan.tools.cmake import cmake_layout class ProjectName(...
chrisake's user avatar
1 vote
0 answers
52 views

I have problem with using libraries for C++ using Conan2 and Cmake in Linux. Files are: CMakeList.txt in root: cmake_minimum_required(VERSION 3.5) set(CMAKE_CXX_COMPILER "/usr/bin/clang++") ...
ProMike's user avatar
  • 185
1 vote
1 answer
129 views

I am using Conan2 to resolve external dependencies. I add them via find_ package in my CMakeLists.txt. My own project binaries created by cmake --build ... have their run path's set by cmake pointing ...
Patrick Fromberg's user avatar
0 votes
1 answer
179 views

We use Artifactory for C/C++ packages, which we store on a remote repository on Artifactory using Conan. I want to achieve that Conan packages generated by a pipeline build are uploaded anonymously. ...
zombieanfuehrer's user avatar
0 votes
0 answers
195 views

I'm updating a Conan recipe of a library of mine. This library now requires a relatively new version of CMake to run. How do I "tell" Conan - or at least, the PR action checkers on github....
einpoklum's user avatar
  • 137k
0 votes
0 answers
151 views

I'm installing dependencies with Conan 2.0, specified in my conanfile.py. I don't want the cmake config files set INTERFACE_LINK_DIRECTORIES on any of the targets. As a first step I tried to disable ...
tamas.kenez's user avatar
  • 7,879

15 30 50 per page