conan-io / cmake-conan

CMake wrapper for conan C and C++ package manager
MIT License
814 stars 247 forks source link

Not working with conan editable mode #642

Closed pwqbot closed 2 months ago

pwqbot commented 2 months ago

cannot work with editable packages.

$ conan editable list
say/1.0
    Path: /home/wd/dev/github/examples2/tutorial/developing_packages/editable_packages/say/conanfile.py
cpp_common/2024.04.07.0
    Path: /home/wd/dev/exec/cpp_common/conanfile.py
cpp_common/2024.04.15.0
    Path: /home/wd/dev/exec/cpp_common/conanfile.py

(base) wd@memblade3:~/dev/exec/cpp_trading$ mkdir build
(base) wd@memblade3:~/dev/exec/cpp_trading$ cd build/
(base) wd@memblade3:~/dev/exec/cpp_trading/build$ cmake ..
-- No build type selected, default to Debug
-- The C compiler identification is GNU 13.1.0
-- The CXX compiler identification is GNU 13.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMake-Conan: first find_package() found. Installing dependencies with Conan
-- CMake-Conan: Checking if a default profile exists
/home/wd/.conan2/profiles/default
-- CMake-Conan: cmake_system_name=Linux
-- CMake-Conan: cmake_system_processor=x86_64
-- CMake-Conan: CMake compiler=GNU
-- CMake-Conan: CMake compiler version=13.1.0
-- CMake-Conan: [settings] compiler=gcc
-- CMake-Conan: [settings] compiler.version=13
-- Performing Test _CONAN_IS_GNU_LIBSTDCXX
-- Performing Test _CONAN_IS_GNU_LIBSTDCXX - Success
-- Performing Test _CONAN_GNU_LIBSTDCXX_IS_CXX11_ABI
-- Performing Test _CONAN_GNU_LIBSTDCXX_IS_CXX11_ABI - Success
-- CMake-Conan: Creating profile /home/wd/dev/exec/cpp_trading/build/conan_host_profile
-- CMake-Conan: Profile: 
[settings]
arch=x86_64
os=Linux
compiler=gcc
compiler.version=13
compiler.libcxx=libstdc++11
build_type=Debug
[conf]
tools.cmake.cmaketoolchain:generator=Unix Makefiles
tools.build:compiler_executables={"c":"/usr/bin/cc","cpp":"/usr/bin/c++"}

-- CMake-Conan: Installing single configuration Debug
-- CMake-Conan: conan install /home/wd/dev/exec/cpp_trading -of=/home/wd/dev/exec/cpp_trading/build/conan --profile:host=default;--profile:host=/home/wd/dev/exec/cpp_trading/build/conan_host_profile;--profile:build
=default;--build=missing
Using lockfile: '/home/wd/dev/exec/cpp_trading/conan.lock'

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.cppstd=23
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux
[conf]
tools.build:compiler_executables={'c': '/usr/bin/cc', 'cpp': '/usr/bin/c++'}
tools.cmake.cmaketoolchain:generator=Unix Makefiles

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=23
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux

======== Computing dependency graph ========
Graph root
    conanfile.py (cpp_trading/0.0.0): /home/wd/dev/exec/cpp_trading/conanfile.py
Requirements
    argparse/2.9#672db1e97573ed9df006df4cfcd6e049 - Cache
    benchmark/1.8.0#ff63873550d1cb2efc64b2785837c23a - Cache
    boost/1.84.0#6815195f2bf512487e7beb7e43ca31b6 - Cache
    bzip2/1.0.8#53ab4d34e2f090271db541742bd55ef3 - Cache
    concurrentqueue/1.0.4#957c470e9abc81ff3850bbe39fc11135 - Cache
    cpp_common/2024.04.15.0#a4a0096bc6ebdf1415ba116d7d330d21 - Editable
    cppzmq/4.10.0#aee45fb6fdd2acc468ee5f981647a044 - Cache
    fmt/10.0.0#4ec309e7e34f41ee6915d7a60d14fc08 - Cache
    glaze/2.1.6#d5ee57aa90faad7274bea02c00c0bf25 - Cache
    gmp/6.2.1#fff31df55be0980543fbd8d79f71b7dc - Cache
    gtest/1.13.0#a110ad735ec3df8d21666bcbc06161ed - Cache
    hdf5/1.14.1#d0c0d660cce55080ce71654a35e90e3d - Cache
    highfive/2.7.1#b6e6157b125243311c93c532b1c109f7 - Cache
    libbacktrace/cci.20210118#f5d18dee9942ec36058b965afa867e7b - Cache
    libcurl/8.1.2#95191896f5db14765b35c00d96e8ac90 - Cache
    libsodium/1.0.19#67aa05762dcfb3aca47b824f52693c87 - Cache
    magic_enum/0.9.3#4e83997cc627fc6e260374bdbbb6f5bc - Cache
    msgpack-cxx/6.1.0#70fd82b37475fcda2e69db13f9c8ff80 - Cache
    nanobench/4.3.9#7f6b12aefd34c9d91a503256b61714fe - Cache
    openssl/3.1.1#f3ddaee67faeecb40e31fa074ac27de5 - Cache
    parallel-hashmap/1.3.11#08b0dfed82b90ff06f3fa945ce95c3fe - Cache
    range-v3/0.12.0#c40ffa5a82269b873053f008d8511138 - Cache
    spdlog/1.12.0#7558859e394f9340d550ee75e9c55f5c - Cache
    tracy/0.9.1#92290b52b4ccd5bc3fa3241e1bf60fca - Cache
    yaml-cpp/0.8.0#806d7907dc54b7a08e2b684c46636af9 - Cache
    zeromq/4.3.4#02a6f36567e7d32db8daa1b341a3652f - Cache
    zlib/1.3.1#e20364c96c45455608a72543f3a53133 - Cache
Build requirements
    autoconf/2.71#5312af4e8a3f82a7f6454866081de83f - Cache
    automake/1.16.5#27a1996f8e84efd37c1bdacd9c8a5d7b - Cache
    b2/4.10.1#6160f88d57a1e7a84bc7be7b91e5352a - Cache
    cmake/3.27.7#871b7731accc7c1d8af9b63082288218 - Cache
    gnu-config/cci.20210814#1e05eeb4222461c1438295c21dd38dce - Cache
    libtool/2.4.7#45550c309dbf3f03a44ff239e3c58f59 - Cache
    m4/1.4.19#a3288d219f4225c6264a3d5a1dbd5f7d - Cache
    meson/1.2.2#5d9c6c6fe65429648f6aaaa85e8ce47d - Cache
    ninja/1.11.1#de85db1490cc53d3353a536dadf1db50 - Cache
    pkgconf/2.0.2#753885c4722f3d1cf4cb22924ab63881 - Cache
Overrides
    fmt/10.1.1: ['fmt/[10.0.0]']
    boost/1.83.0: ['boost/1.84.0']

======== Computing necessary packages ========
Requirements
    argparse/2.9#672db1e97573ed9df006df4cfcd6e049:da39a3ee5e6b4b0d3255bfef95601890afd80709#3ef19f92dd398e1f1819cd835129dbc2 - Cache
    benchmark/1.8.0#ff63873550d1cb2efc64b2785837c23a:85b9694482e15754c341a9a25c6568c406612c86#f18d2cdcea8c781f37d0694611855360 - Cache
    boost/1.84.0#6815195f2bf512487e7beb7e43ca31b6:a073e5e96c504ff38e50233e848a67b3516a3781#50ae59edac32612dd0e75c1607641835 - Cache
    bzip2/1.0.8#53ab4d34e2f090271db541742bd55ef3:f658a7d5064609a1016f930e03b14f656c1975b8#012acb3f97ee79f61872b3862b14d72c - Cache
    concurrentqueue/1.0.4#957c470e9abc81ff3850bbe39fc11135:da39a3ee5e6b4b0d3255bfef95601890afd80709#d76553f653b5b8bdf7b424d83820fea4 - Cache
    cpp_common/2024.04.15.0#a4a0096bc6ebdf1415ba116d7d330d21:67ca86de5087976d4dadb03345345cd218794a8c - Editable
    cppzmq/4.10.0#aee45fb6fdd2acc468ee5f981647a044:da39a3ee5e6b4b0d3255bfef95601890afd80709#4bf82176431196e152926c902565a1b4 - Cache
    fmt/10.0.0#4ec309e7e34f41ee6915d7a60d14fc08:88c1f250047d89498f19f82c4fb864987eedaa82#2a71ba7946a93d8a34dcf8561eebe1c9 - Cache
    glaze/2.1.6#d5ee57aa90faad7274bea02c00c0bf25:da39a3ee5e6b4b0d3255bfef95601890afd80709#acd9d14cd6da1edb37f7b90dad06577b - Cache
    gmp/6.2.1#fff31df55be0980543fbd8d79f71b7dc:61f6721f2931844c4371f294a778a6a372a43f70#6d98558796a1757a6893c54ffb0e2e48 - Cache
    gtest/1.13.0#a110ad735ec3df8d21666bcbc06161ed:2d8ad73e11d9fdd52609588cdb0990d56778c96a#8b4d67622d459df5bcce8ff884858095 - Cache
    hdf5/1.14.1#d0c0d660cce55080ce71654a35e90e3d:3538d92bc935d9bce6354d1d9da1f31a041a236f#28dd830be091cc16f43d39db2b334305 - Cache
    highfive/2.7.1#b6e6157b125243311c93c532b1c109f7:da39a3ee5e6b4b0d3255bfef95601890afd80709#14d1dcd3361ddce75d6395c02290e0f0 - Cache
    libbacktrace/cci.20210118#f5d18dee9942ec36058b965afa867e7b:38b2cc754fb9d09f09f3ffbd1ad34ef29bbb4b77#7f3c9246712d17c91b4269c0487671c8 - Cache
    libcurl/8.1.2#95191896f5db14765b35c00d96e8ac90:29cd35ed0e36b879e3e71f1b20713b1203301c08#f0b7920c43b24d49f3f61daf1505fd89 - Cache
    libsodium/1.0.19#67aa05762dcfb3aca47b824f52693c87:8af0a9b690046525c444d8d15ffa1537eacca953#476e10996155a26217973a0f9e20cae7 - Cache
    magic_enum/0.9.3#4e83997cc627fc6e260374bdbbb6f5bc:da39a3ee5e6b4b0d3255bfef95601890afd80709#78bd9152e3c1d22c9ffa51e2a37f9ff2 - Cache
    msgpack-cxx/6.1.0#70fd82b37475fcda2e69db13f9c8ff80:da39a3ee5e6b4b0d3255bfef95601890afd80709#521d2af1829c445fd0ba130606258b14 - Cache
    nanobench/4.3.9#7f6b12aefd34c9d91a503256b61714fe:da39a3ee5e6b4b0d3255bfef95601890afd80709#8c63e28d743f5639947f18a1768f5038 - Cache
    openssl/3.1.1#f3ddaee67faeecb40e31fa074ac27de5:b0bca3b71990c9f70582acda06bb4a97b7a16f0f#6ff34c5d5189ca070683ee930ebe1f84 - Cache
    parallel-hashmap/1.3.11#08b0dfed82b90ff06f3fa945ce95c3fe:da39a3ee5e6b4b0d3255bfef95601890afd80709#51a47096fb0132203bb5419b58651174 - Cache
    range-v3/0.12.0#c40ffa5a82269b873053f008d8511138:da39a3ee5e6b4b0d3255bfef95601890afd80709#ecc6172c3cd6694c36d1cd98a702deb0 - Cache
    spdlog/1.12.0#7558859e394f9340d550ee75e9c55f5c:d468342bc164a8e2524480e35a69c69102004e7d#4fcd410f28f66a093e82bb350464cc82 - Cache
    tracy/0.9.1#92290b52b4ccd5bc3fa3241e1bf60fca:c09082123fd4fb7ded6c9aa1a6f092f25d41c5eb#7dc264e7b0725ebfab232e3386348e77 - Cache
    yaml-cpp/0.8.0#806d7907dc54b7a08e2b684c46636af9:977b1d8e3f887b17249b18886fe78e80be3e5946#93e0ce66a2e86bf68683c4ff70d6c61e - Cache
    zeromq/4.3.4#02a6f36567e7d32db8daa1b341a3652f:917ae99e6b684d2576b0de351c59b8a240ef0b07#58fc636a732e947c9b916cd4d71e53bc - Cache
    zlib/1.3.1#e20364c96c45455608a72543f3a53133:38b2cc754fb9d09f09f3ffbd1ad34ef29bbb4b77#fabb6ab6304c7f3b0ae9dfc9979c78ac - Cache
Build requirements
Skipped binaries
    autoconf/2.71, automake/1.16.5, b2/4.10.1, cmake/3.27.7, gnu-config/cci.20210814, libtool/2.4.7, m4/1.4.19, meson/1.2.2, ninja/1.11.1, pkgconf/2.0.2

======== Installing packages ========
argparse/2.9: Already installed! (1 of 27)
bzip2/1.0.8: Already installed! (2 of 27)
concurrentqueue/1.0.4: Already installed! (3 of 27)
fmt/10.0.0: Already installed! (4 of 27)
glaze/2.1.6: Already installed! (5 of 27)
gtest/1.13.0: Already installed! (6 of 27)
libbacktrace/cci.20210118: Already installed! (7 of 27)
libsodium/1.0.19: Already installed! (8 of 27)
magic_enum/0.9.3: Already installed! (9 of 27)
nanobench/4.3.9: Already installed! (10 of 27)
parallel-hashmap/1.3.11: Already installed! (11 of 27)
range-v3/0.12.0: Already installed! (12 of 27)
tracy/0.9.1: Already installed! (13 of 27)
yaml-cpp/0.8.0: Already installed! (14 of 27)
zlib/1.3.1: Already installed! (15 of 27)
benchmark/1.8.0: Already installed! (16 of 27)
gmp/6.2.1: Already installed! (17 of 27)
boost/1.84.0: Already installed! (18 of 27)
hdf5/1.14.1: Already installed! (19 of 27)
openssl/3.1.1: Already installed! (20 of 27)
spdlog/1.12.0: Already installed! (21 of 27)
zeromq/4.3.4: Already installed! (22 of 27)
cppzmq/4.10.0: Already installed! (23 of 27)
highfive/2.7.1: Already installed! (24 of 27)
msgpack-cxx/6.1.0: Already installed! (25 of 27)
libcurl/8.1.2: Already installed! (26 of 27)
cpp_common/2024.04.15.0: Rewriting files of editable package 'cpp_common' at '/home/wd/dev/exec/cpp_common/build/Debug/generators'
cpp_common/2024.04.15.0: Calling generate()
cpp_common/2024.04.15.0: Generators folder: /home/wd/dev/exec/cpp_common/build/Debug/generators
cpp_common/2024.04.15.0: Generating aggregated env files
cpp_common/2024.04.15.0: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated:     'cpp_info.names' used in: bzip2/1.0.8, parallel-hashmap/1.3.11, zlib/1.3.1, openssl/3.1.1, tracy/0.9.1, fmt/10.0.0, cppzmq/4.10.0, gtest/1.13.0, boost/1.84.0, hdf5/1.14.1, libcurl/8.1.2, range
-v3/0.12.0, msgpack-cxx/6.1.0, highfive/2.7.1, zeromq/4.3.4, spdlog/1.12.0, gmp/6.2.1
WARN: deprecated:     'cpp_info.build_modules' used in: bzip2/1.0.8, parallel-hashmap/1.3.11, openssl/3.1.1, yaml-cpp/0.8.0, hdf5/1.14.1, msgpack-cxx/6.1.0, highfive/2.7.1, zeromq/4.3.4, cppzmq/4.10.0
WARN: deprecated:     'env_info' used in: bzip2/1.0.8, openssl/3.1.1, boost/1.84.0
WARN: deprecated:     'cpp_info.filenames' used in: msgpack-cxx/6.1.0, boost/1.84.0
WARN: deprecated:     'user_info' used in: boost/1.84.0

======== Finalizing install (deploy, generators) ========
conanfile.py (cpp_trading/0.0.0): Calling generate()
conanfile.py (cpp_trading/0.0.0): Generators folder: /home/wd/dev/exec/cpp_trading/build/conan/build/Debug/generators
conanfile.py (cpp_trading/0.0.0): CMakeDeps necessary find_package() and targets for your CMakeLists.txt
    find_package(cpp_common)
    find_package(gmp)
    target_link_libraries(... cpp_common::cpp_common gmp::gmp)
conanfile.py (cpp_trading/0.0.0): CMakeToolchain generated: conan_toolchain.cmake
conanfile.py (cpp_trading/0.0.0): Preset 'conan-debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset conan-debug' if using CMake>=3.23
conanfile.py (cpp_trading/0.0.0): If your CMake version is not compatible with CMakePresets (<3.23) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/wd/dev/exec/cpp_trading/build/cona
n/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug'
conanfile.py (cpp_trading/0.0.0): CMakeToolchain generated: CMakePresets.json
conanfile.py (cpp_trading/0.0.0): CMakeToolchain generated: ../../../../../CMakeUserPresets.json
conanfile.py (cpp_trading/0.0.0): Generating aggregated env files
conanfile.py (cpp_trading/0.0.0): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
Install finished successfully
-- CMake-Conan: CONAN_GENERATORS_FOLDER=/home/wd/dev/exec/cpp_trading/build/conan/build/Debug/generators
-- CMake-Conan: CONANFILE=/home/wd/dev/exec/cpp_trading/conanfile.py (cpp_trading/0.0.0)
-- Conan: Target declared 'cpp_common::cpp_common'
CMake Error at build/conan/build/Debug/generators/cmakedeps_macros.cmake:67 (message):
  Library 'cpp_common' not found in package.  If 'cpp_common' is a system
  library, declare it with 'cpp_info.system_libs' property
Call Stack (most recent call first):
  build/conan/build/Debug/generators/cpp_common-Target-debug.cmake:23 (conan_package_library_targets)
  build/conan/build/Debug/generators/cpp_commonTargets.cmake:24 (include)
  build/conan/build/Debug/generators/cpp_common-config.cmake:16 (include)
  cmake/conan_provider.cmake:572 (find_package)
  CMakeLists.txt:16 (find_package)

-- Configuring incomplete, errors occurred!

conan install works

(base) wd@memblade3:~/dev/exec/cpp_trading$ conan install .
Using lockfile: '/home/wd/dev/exec/cpp_trading/conan.lock'

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=23
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=23
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux

======== Computing dependency graph ========
Graph root
    conanfile.py (cpp_trading/0.0.0): /home/wd/dev/exec/cpp_trading/conanfile.py
Requirements
    argparse/2.9#672db1e97573ed9df006df4cfcd6e049 - Cache
    benchmark/1.8.0#ff63873550d1cb2efc64b2785837c23a - Cache
    boost/1.84.0#6815195f2bf512487e7beb7e43ca31b6 - Cache
    bzip2/1.0.8#53ab4d34e2f090271db541742bd55ef3 - Cache
    concurrentqueue/1.0.4#957c470e9abc81ff3850bbe39fc11135 - Cache
    cpp_common/2024.04.15.0#a4a0096bc6ebdf1415ba116d7d330d21 - Editable
    cppzmq/4.10.0#aee45fb6fdd2acc468ee5f981647a044 - Cache
    fmt/10.0.0#4ec309e7e34f41ee6915d7a60d14fc08 - Cache
    glaze/2.1.6#d5ee57aa90faad7274bea02c00c0bf25 - Cache
    gmp/6.2.1#fff31df55be0980543fbd8d79f71b7dc - Cache
    gtest/1.13.0#a110ad735ec3df8d21666bcbc06161ed - Cache
    hdf5/1.14.1#d0c0d660cce55080ce71654a35e90e3d - Cache
    highfive/2.7.1#b6e6157b125243311c93c532b1c109f7 - Cache
    libbacktrace/cci.20210118#f5d18dee9942ec36058b965afa867e7b - Cache
    libcurl/8.1.2#95191896f5db14765b35c00d96e8ac90 - Cache
    libsodium/1.0.19#67aa05762dcfb3aca47b824f52693c87 - Cache
    magic_enum/0.9.3#4e83997cc627fc6e260374bdbbb6f5bc - Cache
    msgpack-cxx/6.1.0#70fd82b37475fcda2e69db13f9c8ff80 - Cache
    nanobench/4.3.9#7f6b12aefd34c9d91a503256b61714fe - Cache
    openssl/3.1.1#f3ddaee67faeecb40e31fa074ac27de5 - Cache
    parallel-hashmap/1.3.11#08b0dfed82b90ff06f3fa945ce95c3fe - Cache
    range-v3/0.12.0#c40ffa5a82269b873053f008d8511138 - Cache
    spdlog/1.12.0#7558859e394f9340d550ee75e9c55f5c - Cache
    tracy/0.9.1#92290b52b4ccd5bc3fa3241e1bf60fca - Cache
    yaml-cpp/0.8.0#806d7907dc54b7a08e2b684c46636af9 - Cache
    zeromq/4.3.4#02a6f36567e7d32db8daa1b341a3652f - Cache
    zlib/1.3.1#e20364c96c45455608a72543f3a53133 - Cache
Build requirements
    autoconf/2.71#5312af4e8a3f82a7f6454866081de83f - Cache
    automake/1.16.5#27a1996f8e84efd37c1bdacd9c8a5d7b - Cache
    b2/4.10.1#6160f88d57a1e7a84bc7be7b91e5352a - Cache
    cmake/3.27.7#871b7731accc7c1d8af9b63082288218 - Cache
    gnu-config/cci.20210814#1e05eeb4222461c1438295c21dd38dce - Cache
    libtool/2.4.7#45550c309dbf3f03a44ff239e3c58f59 - Cache
    m4/1.4.19#a3288d219f4225c6264a3d5a1dbd5f7d - Cache
    meson/1.2.2#5d9c6c6fe65429648f6aaaa85e8ce47d - Cache
    ninja/1.11.1#de85db1490cc53d3353a536dadf1db50 - Cache
    pkgconf/2.0.2#753885c4722f3d1cf4cb22924ab63881 - Cache
Overrides
    fmt/10.1.1: ['fmt/[10.0.0]']
    boost/1.83.0: ['boost/1.84.0']

======== Computing necessary packages ========
Requirements
    argparse/2.9#672db1e97573ed9df006df4cfcd6e049:da39a3ee5e6b4b0d3255bfef95601890afd80709#3ef19f92dd398e1f1819cd835129dbc2 - Cache
    benchmark/1.8.0#ff63873550d1cb2efc64b2785837c23a:0e7b467cdbe153a1949db45ae7a6fb63af70a06a#32c7c2a387a69efea3fd7ececacc68c0 - Cache
    boost/1.84.0#6815195f2bf512487e7beb7e43ca31b6:fc270a01a4ded03fb995840820c7faf23c4f7f78#67ff15f0cfb3105c4453302ed4c281be - Cache
    bzip2/1.0.8#53ab4d34e2f090271db541742bd55ef3:432d7695adc526147073285e155d2ca0340bc76d#e1cd97294bff1b642615e850f063ea43 - Cache
    concurrentqueue/1.0.4#957c470e9abc81ff3850bbe39fc11135:da39a3ee5e6b4b0d3255bfef95601890afd80709#d76553f653b5b8bdf7b424d83820fea4 - Cache
    cpp_common/2024.04.15.0#a4a0096bc6ebdf1415ba116d7d330d21:be476cb3f3359fd807600fde22a72bc4c0a9a629 - Editable
    cppzmq/4.10.0#aee45fb6fdd2acc468ee5f981647a044:da39a3ee5e6b4b0d3255bfef95601890afd80709#4bf82176431196e152926c902565a1b4 - Cache
    fmt/10.0.0#4ec309e7e34f41ee6915d7a60d14fc08:4b957bd87f4125c0fe7b94a15a733b7255d3d084#c782d7130dfdf64f4540d4673e19e9e2 - Cache
    glaze/2.1.6#d5ee57aa90faad7274bea02c00c0bf25:da39a3ee5e6b4b0d3255bfef95601890afd80709#acd9d14cd6da1edb37f7b90dad06577b - Cache
    gmp/6.2.1#fff31df55be0980543fbd8d79f71b7dc:2528b0eae0c47f287036a4f28706c28883915f04#22c65638c82e8065f2680501be24c657 - Cache
    gtest/1.13.0#a110ad735ec3df8d21666bcbc06161ed:f575dce8ea239b77e26d5bbadf382b0058126487#79e0d6a04933fb891990cf21fd3eb7c7 - Cache
    hdf5/1.14.1#d0c0d660cce55080ce71654a35e90e3d:84b680d4520a396fc64cdd67e90f0244743e3a58#98a97675fbb0b83207a8794c283e51d7 - Cache
    highfive/2.7.1#b6e6157b125243311c93c532b1c109f7:da39a3ee5e6b4b0d3255bfef95601890afd80709#14d1dcd3361ddce75d6395c02290e0f0 - Cache
    libbacktrace/cci.20210118#f5d18dee9942ec36058b965afa867e7b:c81087b06d1a5beef0ad711fc32d45f7a425a8f3#164329a8f38e5bdb71f80f95a337b799 - Cache
    libcurl/8.1.2#95191896f5db14765b35c00d96e8ac90:3ca4a516e308ef4108d06f2ea5f1fa96ea20c2ef#1ad601b06346fe64df7fecd00e5ed72f - Cache
    libsodium/1.0.19#67aa05762dcfb3aca47b824f52693c87:bcfae6fb9224c94d23dba638948d07f79afbda69#082527c672a818ce50c6c62962c7964d - Cache
    magic_enum/0.9.3#4e83997cc627fc6e260374bdbbb6f5bc:da39a3ee5e6b4b0d3255bfef95601890afd80709#78bd9152e3c1d22c9ffa51e2a37f9ff2 - Cache
    msgpack-cxx/6.1.0#70fd82b37475fcda2e69db13f9c8ff80:da39a3ee5e6b4b0d3255bfef95601890afd80709#521d2af1829c445fd0ba130606258b14 - Cache
    nanobench/4.3.9#7f6b12aefd34c9d91a503256b61714fe:da39a3ee5e6b4b0d3255bfef95601890afd80709#8c63e28d743f5639947f18a1768f5038 - Cache
    openssl/3.1.1#f3ddaee67faeecb40e31fa074ac27de5:8ae950068e9956b826b6b316832987eeb214c307#dd39472e68129717bcf3f248ea61bb98 - Cache
    parallel-hashmap/1.3.11#08b0dfed82b90ff06f3fa945ce95c3fe:da39a3ee5e6b4b0d3255bfef95601890afd80709#51a47096fb0132203bb5419b58651174 - Cache
    range-v3/0.12.0#c40ffa5a82269b873053f008d8511138:da39a3ee5e6b4b0d3255bfef95601890afd80709#ecc6172c3cd6694c36d1cd98a702deb0 - Cache
    spdlog/1.12.0#7558859e394f9340d550ee75e9c55f5c:16142344f948461a04bae8665f024daed1c7c888#422d1201701c7477cff6d74f2c7cdf16 - Cache
    tracy/0.9.1#92290b52b4ccd5bc3fa3241e1bf60fca:aca815adc560a44ce513e247be698bdf4a634113#499e30f798f8a80e0d1870233f13352d - Cache
    yaml-cpp/0.8.0#806d7907dc54b7a08e2b684c46636af9:4b45763d7e991e78ae4e5ddc6855437d163e666a#528576f9b8f0d7621a29c30fed44838b - Cache
    zeromq/4.3.4#02a6f36567e7d32db8daa1b341a3652f:0e81ec7215c2fda65d4723e16278f3e4c3ace036#55d66de5ea5b9daa48a3e6f5fd17018a - Cache
    zlib/1.3.1#e20364c96c45455608a72543f3a53133:c81087b06d1a5beef0ad711fc32d45f7a425a8f3#dc0d0136beab0bbfd09e29f71a7a146b - Cache
Build requirements
Skipped binaries
    autoconf/2.71, automake/1.16.5, b2/4.10.1, cmake/3.27.7, gnu-config/cci.20210814, libtool/2.4.7, m4/1.4.19, meson/1.2.2, ninja/1.11.1, pkgconf/2.0.2

======== Installing packages ========
argparse/2.9: Already installed! (1 of 27)
bzip2/1.0.8: Already installed! (2 of 27)
concurrentqueue/1.0.4: Already installed! (3 of 27)
fmt/10.0.0: Already installed! (4 of 27)
glaze/2.1.6: Already installed! (5 of 27)
gtest/1.13.0: Already installed! (6 of 27)
libbacktrace/cci.20210118: Already installed! (7 of 27)
libsodium/1.0.19: Already installed! (8 of 27)
magic_enum/0.9.3: Already installed! (9 of 27)
nanobench/4.3.9: Already installed! (10 of 27)
parallel-hashmap/1.3.11: Already installed! (11 of 27)
range-v3/0.12.0: Already installed! (12 of 27)
tracy/0.9.1: Already installed! (13 of 27)
yaml-cpp/0.8.0: Already installed! (14 of 27)
zlib/1.3.1: Already installed! (15 of 27)
benchmark/1.8.0: Already installed! (16 of 27)
gmp/6.2.1: Already installed! (17 of 27)
boost/1.84.0: Already installed! (18 of 27)
hdf5/1.14.1: Already installed! (19 of 27)
openssl/3.1.1: Already installed! (20 of 27)
spdlog/1.12.0: Already installed! (21 of 27)
zeromq/4.3.4: Already installed! (22 of 27)
cppzmq/4.10.0: Already installed! (23 of 27)
highfive/2.7.1: Already installed! (24 of 27)
msgpack-cxx/6.1.0: Already installed! (25 of 27)
libcurl/8.1.2: Already installed! (26 of 27)
cpp_common/2024.04.15.0: Rewriting files of editable package 'cpp_common' at '/home/wd/dev/exec/cpp_common/build/Release/generators'
cpp_common/2024.04.15.0: Calling generate()
cpp_common/2024.04.15.0: Generators folder: /home/wd/dev/exec/cpp_common/build/Release/generators
cpp_common/2024.04.15.0: Generating aggregated env files
cpp_common/2024.04.15.0: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated:     'cpp_info.names' used in: boost/1.84.0, parallel-hashmap/1.3.11, openssl/3.1.1, msgpack-cxx/6.1.0, zeromq/4.3.4, libcurl/8.1.2, hdf5/1.14.1, gtest/1.13.0, tracy/0.9.1, spdlog/1.12.0, highfive/
2.7.1, zlib/1.3.1, range-v3/0.12.0, bzip2/1.0.8, gmp/6.2.1, cppzmq/4.10.0, fmt/10.0.0
WARN: deprecated:     'cpp_info.build_modules' used in: msgpack-cxx/6.1.0, parallel-hashmap/1.3.11, openssl/3.1.1, zeromq/4.3.4, yaml-cpp/0.8.0, highfive/2.7.1, hdf5/1.14.1, bzip2/1.0.8, cppzmq/4.10.0
WARN: deprecated:     'env_info' used in: boost/1.84.0, openssl/3.1.1, bzip2/1.0.8
WARN: deprecated:     'cpp_info.filenames' used in: boost/1.84.0, msgpack-cxx/6.1.0
WARN: deprecated:     'user_info' used in: boost/1.84.0

======== Finalizing install (deploy, generators) ========
conanfile.py (cpp_trading/0.0.0): Calling generate()
conanfile.py (cpp_trading/0.0.0): Generators folder: /home/wd/dev/exec/cpp_trading/build/Release/generators
conanfile.py (cpp_trading/0.0.0): CMakeDeps necessary find_package() and targets for your CMakeLists.txt
    find_package(cpp_common)
    find_package(gmp)
    target_link_libraries(... cpp_common::cpp_common gmp::gmp)
conanfile.py (cpp_trading/0.0.0): CMakeToolchain generated: conan_toolchain.cmake
conanfile.py (cpp_trading/0.0.0): Preset 'conan-release' added to CMakePresets.json. Invoke it manually using 'cmake --preset conan-release' if using CMake>=3.23
conanfile.py (cpp_trading/0.0.0): If your CMake version is not compatible with CMakePresets (<3.23) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/wd/dev/exec/cpp_trading/build/Rele
ase/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
conanfile.py (cpp_trading/0.0.0): CMakeToolchain generated: CMakePresets.json
conanfile.py (cpp_trading/0.0.0): CMakeToolchain generated: ../../../CMakeUserPresets.json
conanfile.py (cpp_trading/0.0.0): Generating aggregated env files
conanfile.py (cpp_trading/0.0.0): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
Install finished successfully
(base) wd@memblade3:~/dev/exec/cpp_trading$ cmake  --preset conan-release
Preset CMake variables:

  CMAKE_BUILD_TYPE="Release"
  CMAKE_POLICY_DEFAULT_CMP0091="NEW"
  CMAKE_TOOLCHAIN_FILE:FILEPATH="/home/wd/dev/exec/cpp_trading/build/Release/generators/conan_toolchain.cmake"

-- Using Conan toolchain: /home/wd/dev/exec/cpp_trading/build/Release/generators/conan_toolchain.cmake
-- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC)
-- Conan toolchain: C++ Standard 23 with extensions OFF
-- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
-- The C compiler identification is GNU 13.1.0
-- The CXX compiler identification is GNU 13.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMake-Conan: first find_package() found. Installing dependencies with Conan
-- CMake-Conan: Checking if a default profile exists
/home/wd/.conan2/profiles/default
-- CMake-Conan: cmake_system_name=Linux
-- CMake-Conan: cmake_system_processor=x86_64
-- CMake-Conan: CMake compiler=GNU
-- CMake-Conan: CMake compiler version=13.1.0
-- CMake-Conan: [settings] compiler=gcc
-- CMake-Conan: [settings] compiler.version=13
-- Performing Test _CONAN_IS_GNU_LIBSTDCXX
-- Performing Test _CONAN_IS_GNU_LIBSTDCXX - Success
-- Performing Test _CONAN_GNU_LIBSTDCXX_IS_CXX11_ABI
-- Performing Test _CONAN_GNU_LIBSTDCXX_IS_CXX11_ABI - Success
-- CMake-Conan: Creating profile /home/wd/dev/exec/cpp_trading/build/Release/conan_host_profile
-- CMake-Conan: Profile: 
[settings]
arch=x86_64
os=Linux
compiler=gcc
compiler.version=13
compiler.cppstd=23
compiler.libcxx=libstdc++11
build_type=Release
[conf]
tools.cmake.cmaketoolchain:generator=Unix Makefiles
tools.build:compiler_executables={"c":"/usr/bin/cc","cpp":"/usr/bin/c++"}

-- CMake-Conan: Installing single configuration Release
-- CMake-Conan: conan install /home/wd/dev/exec/cpp_trading -of=/home/wd/dev/exec/cpp_trading/build/Release/conan --profile:host=default;--profile:host=/home/wd/dev/exec/cpp_trading/build/Release/conan_host_profile
;--profile:build=default;--build=missing
Using lockfile: '/home/wd/dev/exec/cpp_trading/conan.lock'

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=23
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux
[conf]
tools.build:compiler_executables={'c': '/usr/bin/cc', 'cpp': '/usr/bin/c++'}
tools.cmake.cmaketoolchain:generator=Unix Makefiles

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=23
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux

======== Computing dependency graph ========
Graph root
    conanfile.py (cpp_trading/0.0.0): /home/wd/dev/exec/cpp_trading/conanfile.py
Requirements
    argparse/2.9#672db1e97573ed9df006df4cfcd6e049 - Cache
    benchmark/1.8.0#ff63873550d1cb2efc64b2785837c23a - Cache
    boost/1.84.0#6815195f2bf512487e7beb7e43ca31b6 - Cache
    bzip2/1.0.8#53ab4d34e2f090271db541742bd55ef3 - Cache
    concurrentqueue/1.0.4#957c470e9abc81ff3850bbe39fc11135 - Cache
    cpp_common/2024.04.15.0#a4a0096bc6ebdf1415ba116d7d330d21 - Editable
    cppzmq/4.10.0#aee45fb6fdd2acc468ee5f981647a044 - Cache
    fmt/10.0.0#4ec309e7e34f41ee6915d7a60d14fc08 - Cache
    glaze/2.1.6#d5ee57aa90faad7274bea02c00c0bf25 - Cache
    gmp/6.2.1#fff31df55be0980543fbd8d79f71b7dc - Cache
    gtest/1.13.0#a110ad735ec3df8d21666bcbc06161ed - Cache
    hdf5/1.14.1#d0c0d660cce55080ce71654a35e90e3d - Cache
    highfive/2.7.1#b6e6157b125243311c93c532b1c109f7 - Cache
    libbacktrace/cci.20210118#f5d18dee9942ec36058b965afa867e7b - Cache
    libcurl/8.1.2#95191896f5db14765b35c00d96e8ac90 - Cache
    libsodium/1.0.19#67aa05762dcfb3aca47b824f52693c87 - Cache
    magic_enum/0.9.3#4e83997cc627fc6e260374bdbbb6f5bc - Cache
    msgpack-cxx/6.1.0#70fd82b37475fcda2e69db13f9c8ff80 - Cache
    nanobench/4.3.9#7f6b12aefd34c9d91a503256b61714fe - Cache
    openssl/3.1.1#f3ddaee67faeecb40e31fa074ac27de5 - Cache
    parallel-hashmap/1.3.11#08b0dfed82b90ff06f3fa945ce95c3fe - Cache
    range-v3/0.12.0#c40ffa5a82269b873053f008d8511138 - Cache
    spdlog/1.12.0#7558859e394f9340d550ee75e9c55f5c - Cache
    tracy/0.9.1#92290b52b4ccd5bc3fa3241e1bf60fca - Cache
    yaml-cpp/0.8.0#806d7907dc54b7a08e2b684c46636af9 - Cache
    zeromq/4.3.4#02a6f36567e7d32db8daa1b341a3652f - Cache
    zlib/1.3.1#e20364c96c45455608a72543f3a53133 - Cache
Build requirements
    autoconf/2.71#5312af4e8a3f82a7f6454866081de83f - Cache
    automake/1.16.5#27a1996f8e84efd37c1bdacd9c8a5d7b - Cache
    b2/4.10.1#6160f88d57a1e7a84bc7be7b91e5352a - Cache
    cmake/3.27.7#871b7731accc7c1d8af9b63082288218 - Cache
    gnu-config/cci.20210814#1e05eeb4222461c1438295c21dd38dce - Cache
    libtool/2.4.7#45550c309dbf3f03a44ff239e3c58f59 - Cache
    m4/1.4.19#a3288d219f4225c6264a3d5a1dbd5f7d - Cache
    meson/1.2.2#5d9c6c6fe65429648f6aaaa85e8ce47d - Cache
    ninja/1.11.1#de85db1490cc53d3353a536dadf1db50 - Cache
    pkgconf/2.0.2#753885c4722f3d1cf4cb22924ab63881 - Cache
Overrides
    fmt/10.1.1: ['fmt/[10.0.0]']
    boost/1.83.0: ['boost/1.84.0']

======== Computing necessary packages ========
Requirements
    argparse/2.9#672db1e97573ed9df006df4cfcd6e049:da39a3ee5e6b4b0d3255bfef95601890afd80709#3ef19f92dd398e1f1819cd835129dbc2 - Cache
    benchmark/1.8.0#ff63873550d1cb2efc64b2785837c23a:0e7b467cdbe153a1949db45ae7a6fb63af70a06a#32c7c2a387a69efea3fd7ececacc68c0 - Cache
    boost/1.84.0#6815195f2bf512487e7beb7e43ca31b6:fc270a01a4ded03fb995840820c7faf23c4f7f78#67ff15f0cfb3105c4453302ed4c281be - Cache
    bzip2/1.0.8#53ab4d34e2f090271db541742bd55ef3:432d7695adc526147073285e155d2ca0340bc76d#e1cd97294bff1b642615e850f063ea43 - Cache
    concurrentqueue/1.0.4#957c470e9abc81ff3850bbe39fc11135:da39a3ee5e6b4b0d3255bfef95601890afd80709#d76553f653b5b8bdf7b424d83820fea4 - Cache
    cpp_common/2024.04.15.0#a4a0096bc6ebdf1415ba116d7d330d21:be476cb3f3359fd807600fde22a72bc4c0a9a629 - Editable
    cppzmq/4.10.0#aee45fb6fdd2acc468ee5f981647a044:da39a3ee5e6b4b0d3255bfef95601890afd80709#4bf82176431196e152926c902565a1b4 - Cache
    fmt/10.0.0#4ec309e7e34f41ee6915d7a60d14fc08:4b957bd87f4125c0fe7b94a15a733b7255d3d084#c782d7130dfdf64f4540d4673e19e9e2 - Cache
    glaze/2.1.6#d5ee57aa90faad7274bea02c00c0bf25:da39a3ee5e6b4b0d3255bfef95601890afd80709#acd9d14cd6da1edb37f7b90dad06577b - Cache
    gmp/6.2.1#fff31df55be0980543fbd8d79f71b7dc:2528b0eae0c47f287036a4f28706c28883915f04#22c65638c82e8065f2680501be24c657 - Cache
    gtest/1.13.0#a110ad735ec3df8d21666bcbc06161ed:f575dce8ea239b77e26d5bbadf382b0058126487#79e0d6a04933fb891990cf21fd3eb7c7 - Cache
    hdf5/1.14.1#d0c0d660cce55080ce71654a35e90e3d:84b680d4520a396fc64cdd67e90f0244743e3a58#98a97675fbb0b83207a8794c283e51d7 - Cache
    highfive/2.7.1#b6e6157b125243311c93c532b1c109f7:da39a3ee5e6b4b0d3255bfef95601890afd80709#14d1dcd3361ddce75d6395c02290e0f0 - Cache
    libbacktrace/cci.20210118#f5d18dee9942ec36058b965afa867e7b:c81087b06d1a5beef0ad711fc32d45f7a425a8f3#164329a8f38e5bdb71f80f95a337b799 - Cache
    libcurl/8.1.2#95191896f5db14765b35c00d96e8ac90:3ca4a516e308ef4108d06f2ea5f1fa96ea20c2ef#1ad601b06346fe64df7fecd00e5ed72f - Cache
    libsodium/1.0.19#67aa05762dcfb3aca47b824f52693c87:bcfae6fb9224c94d23dba638948d07f79afbda69#082527c672a818ce50c6c62962c7964d - Cache
    magic_enum/0.9.3#4e83997cc627fc6e260374bdbbb6f5bc:da39a3ee5e6b4b0d3255bfef95601890afd80709#78bd9152e3c1d22c9ffa51e2a37f9ff2 - Cache
    msgpack-cxx/6.1.0#70fd82b37475fcda2e69db13f9c8ff80:da39a3ee5e6b4b0d3255bfef95601890afd80709#521d2af1829c445fd0ba130606258b14 - Cache
    nanobench/4.3.9#7f6b12aefd34c9d91a503256b61714fe:da39a3ee5e6b4b0d3255bfef95601890afd80709#8c63e28d743f5639947f18a1768f5038 - Cache
    openssl/3.1.1#f3ddaee67faeecb40e31fa074ac27de5:8ae950068e9956b826b6b316832987eeb214c307#dd39472e68129717bcf3f248ea61bb98 - Cache
    parallel-hashmap/1.3.11#08b0dfed82b90ff06f3fa945ce95c3fe:da39a3ee5e6b4b0d3255bfef95601890afd80709#51a47096fb0132203bb5419b58651174 - Cache
    range-v3/0.12.0#c40ffa5a82269b873053f008d8511138:da39a3ee5e6b4b0d3255bfef95601890afd80709#ecc6172c3cd6694c36d1cd98a702deb0 - Cache
    spdlog/1.12.0#7558859e394f9340d550ee75e9c55f5c:16142344f948461a04bae8665f024daed1c7c888#422d1201701c7477cff6d74f2c7cdf16 - Cache
    tracy/0.9.1#92290b52b4ccd5bc3fa3241e1bf60fca:aca815adc560a44ce513e247be698bdf4a634113#499e30f798f8a80e0d1870233f13352d - Cache
    yaml-cpp/0.8.0#806d7907dc54b7a08e2b684c46636af9:4b45763d7e991e78ae4e5ddc6855437d163e666a#528576f9b8f0d7621a29c30fed44838b - Cache
    zeromq/4.3.4#02a6f36567e7d32db8daa1b341a3652f:0e81ec7215c2fda65d4723e16278f3e4c3ace036#55d66de5ea5b9daa48a3e6f5fd17018a - Cache
    zlib/1.3.1#e20364c96c45455608a72543f3a53133:c81087b06d1a5beef0ad711fc32d45f7a425a8f3#dc0d0136beab0bbfd09e29f71a7a146b - Cache
Build requirements
Skipped binaries
    autoconf/2.71, automake/1.16.5, b2/4.10.1, cmake/3.27.7, gnu-config/cci.20210814, libtool/2.4.7, m4/1.4.19, meson/1.2.2, ninja/1.11.1, pkgconf/2.0.2

======== Installing packages ========
argparse/2.9: Already installed! (1 of 27)
bzip2/1.0.8: Already installed! (2 of 27)
concurrentqueue/1.0.4: Already installed! (3 of 27)
fmt/10.0.0: Already installed! (4 of 27)
glaze/2.1.6: Already installed! (5 of 27)
gtest/1.13.0: Already installed! (6 of 27)
libbacktrace/cci.20210118: Already installed! (7 of 27)
libsodium/1.0.19: Already installed! (8 of 27)
magic_enum/0.9.3: Already installed! (9 of 27)
nanobench/4.3.9: Already installed! (10 of 27)
parallel-hashmap/1.3.11: Already installed! (11 of 27)
range-v3/0.12.0: Already installed! (12 of 27)
tracy/0.9.1: Already installed! (13 of 27)
yaml-cpp/0.8.0: Already installed! (14 of 27)
zlib/1.3.1: Already installed! (15 of 27)
benchmark/1.8.0: Already installed! (16 of 27)
gmp/6.2.1: Already installed! (17 of 27)
boost/1.84.0: Already installed! (18 of 27)
hdf5/1.14.1: Already installed! (19 of 27)
openssl/3.1.1: Already installed! (20 of 27)
spdlog/1.12.0: Already installed! (21 of 27)
zeromq/4.3.4: Already installed! (22 of 27)
cppzmq/4.10.0: Already installed! (23 of 27)
highfive/2.7.1: Already installed! (24 of 27)
msgpack-cxx/6.1.0: Already installed! (25 of 27)
libcurl/8.1.2: Already installed! (26 of 27)
cpp_common/2024.04.15.0: Rewriting files of editable package 'cpp_common' at '/home/wd/dev/exec/cpp_common/build/Release/generators'
cpp_common/2024.04.15.0: Calling generate()
cpp_common/2024.04.15.0: Generators folder: /home/wd/dev/exec/cpp_common/build/Release/generators
cpp_common/2024.04.15.0: Generating aggregated env files
cpp_common/2024.04.15.0: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated:     'cpp_info.names' used in: fmt/10.0.0, bzip2/1.0.8, highfive/2.7.1, libcurl/8.1.2, msgpack-cxx/6.1.0, gmp/6.2.1, parallel-hashmap/1.3.11, hdf5/1.14.1, openssl/3.1.1, tracy/0.9.1, range-v3/0.12.
0, cppzmq/4.10.0, zlib/1.3.1, spdlog/1.12.0, zeromq/4.3.4, boost/1.84.0, gtest/1.13.0
WARN: deprecated:     'cpp_info.build_modules' used in: bzip2/1.0.8, highfive/2.7.1, msgpack-cxx/6.1.0, yaml-cpp/0.8.0, parallel-hashmap/1.3.11, hdf5/1.14.1, openssl/3.1.1, cppzmq/4.10.0, zeromq/4.3.4
WARN: deprecated:     'env_info' used in: openssl/3.1.1, bzip2/1.0.8, boost/1.84.0
WARN: deprecated:     'cpp_info.filenames' used in: msgpack-cxx/6.1.0, boost/1.84.0
WARN: deprecated:     'user_info' used in: boost/1.84.0

======== Finalizing install (deploy, generators) ========
conanfile.py (cpp_trading/0.0.0): Calling generate()
conanfile.py (cpp_trading/0.0.0): Generators folder: /home/wd/dev/exec/cpp_trading/build/Release/conan/build/Release/generators
conanfile.py (cpp_trading/0.0.0): CMakeDeps necessary find_package() and targets for your CMakeLists.txt
    find_package(cpp_common)
    find_package(gmp)
    target_link_libraries(... cpp_common::cpp_common gmp::gmp)
conanfile.py (cpp_trading/0.0.0): CMakeToolchain generated: conan_toolchain.cmake
conanfile.py (cpp_trading/0.0.0): Preset 'conan-release' added to CMakePresets.json. Invoke it manually using 'cmake --preset conan-release' if using CMake>=3.23
conanfile.py (cpp_trading/0.0.0): If your CMake version is not compatible with CMakePresets (<3.23) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/wd/dev/exec/cpp_trading/build/Rele
ase/conan/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
conanfile.py (cpp_trading/0.0.0): CMakeToolchain generated: CMakePresets.json
conanfile.py (cpp_trading/0.0.0): CMakeToolchain generated: ../../../../../../CMakeUserPresets.json
conanfile.py (cpp_trading/0.0.0): Generating aggregated env files
conanfile.py (cpp_trading/0.0.0): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
Install finished successfully
-- CMake-Conan: CONAN_GENERATORS_FOLDER=/home/wd/dev/exec/cpp_trading/build/Release/conan/build/Release/generators
-- CMake-Conan: CONANFILE=/home/wd/dev/exec/cpp_trading/conanfile.py (cpp_trading/0.0.0)
-- Conan: Target declared 'cpp_common::cpp_common'
-- CMake-Conan: find_package(phmap) found, 'conan install' already ran
-- Conan: Target declared 'phmap'
-- CMake-Conan: find_package(spdlog) found, 'conan install' already ran
-- Conan: Component target declared 'spdlog::spdlog'
-- CMake-Conan: find_package(fmt) found, 'conan install' already ran
-- Conan: Component target declared 'fmt::fmt'
-- CMake-Conan: find_package(CURL) found, 'conan install' already ran
-- Conan: Component target declared 'CURL::libcurl'
-- CMake-Conan: find_package(OpenSSL) found, 'conan install' already ran
-- Conan: Component target declared 'OpenSSL::Crypto'
-- Conan: Component target declared 'OpenSSL::SSL'
-- Conan: Target declared 'openssl::openssl'
-- CMake-Conan: find_package(ZLIB) found, 'conan install' already ran
-- Conan: Target declared 'ZLIB::ZLIB'
-- Conan: Including build module from '/home/wd/.conan2/p/opens39e23172c3321/p/lib/cmake/conan-official-openssl-variables.cmake'
-- CMake-Conan: find_package(yaml-cpp) found, 'conan install' already ran
-- Conan: Target declared 'yaml-cpp::yaml-cpp'
-- CMake-Conan: find_package(GTest) found, 'conan install' already ran
-- Conan: Component target declared 'GTest::gtest'
-- Conan: Component target declared 'GTest::gtest_main'
-- Conan: Component target declared 'GTest::gmock'
-- Conan: Component target declared 'GTest::gmock_main'
-- Conan: Target declared 'gtest::gtest'
-- CMake-Conan: find_package(glaze) found, 'conan install' already ran
-- Conan: Target declared 'glaze::glaze'
-- CMake-Conan: find_package(range-v3) found, 'conan install' already ran
-- Conan: Component target declared 'range-v3::range-v3-meta'
-- Conan: Component target declared 'range-v3::range-v3-concepts'
-- Conan: Target declared 'range-v3::range-v3'
-- CMake-Conan: find_package(HighFive) found, 'conan install' already ran
-- Conan: Target declared 'HighFive'
-- CMake-Conan: find_package(HDF5) found, 'conan install' already ran
-- Conan: Component target declared 'hdf5::hdf5'
-- Conan: Component target declared 'hdf5::hdf5_cpp'
-- Conan: Component target declared 'hdf5::hdf5_hl'
-- Conan: Component target declared 'hdf5::hdf5_hl_cpp'
-- Conan: Target declared 'HDF5::HDF5'
-- Conan: Including build module from '/home/wd/.conan2/p/hdf5d614302cd8a64/p/lib/cmake/conan-official-hdf5-variables.cmake'
-- CMake-Conan: find_package(Tracy) found, 'conan install' already ran
-- Conan: Component target declared 'Tracy::TracyClient'
-- CMake-Conan: find_package(argparse) found, 'conan install' already ran
-- Conan: Target declared 'argparse::argparse'
-- CMake-Conan: find_package(concurrentqueue) found, 'conan install' already ran
-- Conan: Target declared 'concurrentqueue::concurrentqueue'
-- CMake-Conan: find_package(magic_enum) found, 'conan install' already ran
-- Conan: Target declared 'magic_enum::magic_enum'
-- CMake-Conan: find_package(cppzmq) found, 'conan install' already ran
-- Conan: Target declared 'cppzmq'
-- CMake-Conan: find_package(ZeroMQ) found, 'conan install' already ran
-- Conan: Component target declared 'libzmq-static'
-- CMake-Conan: find_package(libsodium) found, 'conan install' already ran
-- Conan: Target declared 'libsodium::libsodium'
-- CMake-Conan: find_package(msgpack) found, 'conan install' already ran
-- Conan: Target declared 'msgpack-cxx'
-- CMake-Conan: find_package(Boost) found, 'conan install' already ran
-- Conan: Component target declared 'Boost::diagnostic_definitions'
-- Conan: Component target declared 'Boost::disable_autolinking'
-- Conan: Component target declared 'Boost::dynamic_linking'
-- Conan: Component target declared 'Boost::headers'
-- Conan: Component target declared 'Boost::boost'
-- Conan: Component target declared 'boost::_libboost'
-- Conan: Component target declared 'Boost::atomic'
-- Conan: Component target declared 'Boost::container'
-- Conan: Component target declared 'Boost::context'
-- Conan: Component target declared 'Boost::date_time'
-- Conan: Component target declared 'Boost::exception'
-- Conan: Component target declared 'Boost::math'
-- Conan: Component target declared 'Boost::math_c99'
-- Conan: Component target declared 'Boost::math_c99f'
-- Conan: Component target declared 'Boost::math_c99l'
-- Conan: Component target declared 'Boost::math_tr1'
-- Conan: Component target declared 'Boost::math_tr1f'
-- Conan: Component target declared 'Boost::math_tr1l'
-- Conan: Component target declared 'Boost::program_options'
-- Conan: Component target declared 'Boost::regex'
-- Conan: Component target declared 'Boost::serialization'
-- Conan: Component target declared 'Boost::stacktrace'
-- Conan: Component target declared 'Boost::stacktrace_addr2line'
-- Conan: Component target declared 'Boost::stacktrace_backtrace'
-- Conan: Component target declared 'Boost::stacktrace_basic'
-- Conan: Component target declared 'Boost::stacktrace_noop'
-- Conan: Component target declared 'Boost::system'
-- Conan: Component target declared 'Boost::test'
-- Conan: Component target declared 'Boost::test_exec_monitor'
-- Conan: Component target declared 'Boost::timer'
-- Conan: Component target declared 'Boost::url'
-- Conan: Component target declared 'Boost::wserialization'
-- Conan: Component target declared 'Boost::chrono'
-- Conan: Component target declared 'Boost::cobalt'
-- Conan: Component target declared 'Boost::coroutine'
-- Conan: Component target declared 'Boost::filesystem'
-- Conan: Component target declared 'Boost::json'
-- Conan: Component target declared 'Boost::nowide'
-- Conan: Component target declared 'Boost::prg_exec_monitor'
-- Conan: Component target declared 'Boost::random'
-- Conan: Component target declared 'Boost::thread'
-- Conan: Component target declared 'Boost::type_erasure'
-- Conan: Component target declared 'Boost::unit_test_framework'
-- Conan: Component target declared 'Boost::wave'
-- Conan: Component target declared 'Boost::contract'
-- Conan: Component target declared 'Boost::fiber'
-- Conan: Component target declared 'Boost::fiber_numa'
-- Conan: Component target declared 'Boost::graph'
-- Conan: Component target declared 'Boost::iostreams'
-- Conan: Component target declared 'Boost::locale'
-- Conan: Component target declared 'Boost::log'
-- Conan: Component target declared 'Boost::log_setup'
-- Conan: Target declared 'boost::boost'
-- CMake-Conan: find_package(BZip2) found, 'conan install' already ran
-- Conan: Target declared 'BZip2::BZip2'
-- Conan: Including build module from '/home/wd/.conan2/p/bzip205be4d7f665b2/p/lib/cmake/conan-official-bzip2-variables.cmake'
-- CMake-Conan: find_package(libbacktrace) found, 'conan install' already ran
-- Conan: Target declared 'libbacktrace::libbacktrace'
-- CMake-Conan: find_package(GMP) found, 'conan install' already ran
-- Conan: Component target declared 'gmp::libgmp'
-- Conan: Component target declared 'gmp::gmpxx'
-- Conan: Target declared 'gmp::gmp'
-- Configuring done (3.7s)
-- Generating done (0.4s)
-- Build files have been written to: /home/wd/dev/exec/cpp_trading/build/Release
memsharded commented 2 months ago

Hi @pwqbot

Thanks for your question.

Library 'cpp_common' not found in package. If 'cpp_common' is a system library, declare it with 'cpp_info.system_libs' property

Please note the difference in the profiles. In the cmake-conan case, it is a Debug profile.

In the conan install . case it is a Release profile.

Have you built your cpp_common package in editable mode both for Debug and Release? Can you try to use the cmake-conan first approach, but make sure it is a release build with -DCMAKE_BUILD_TYPE=Release?

pwqbot commented 2 months ago

Hi @pwqbot

Thanks for your question.

Library 'cpp_common' not found in package. If 'cpp_common' is a system library, declare it with 'cpp_info.system_libs' property

Please note the difference in the profiles. In the cmake-conan case, it is a Debug profile.

In the conan install . case it is a Release profile.

Have you built your cpp_common package in editable mode both for Debug and Release? Can you try to use the cmake-conan first approach, but make sure it is a release build with -DCMAKE_BUILD_TYPE=Release?

sure

(base) wd@memblade3:~/dev/exec/cpp_trading/build$ cmake .. -DCMAKE_BUILD_TYPE=Release
-- CMake-Conan: first find_package() found. Installing dependencies with Conan
-- CMake-Conan: Checking if a default profile exists
/home/wd/.conan2/profiles/default
-- CMake-Conan: cmake_system_name=Linux
-- CMake-Conan: cmake_system_processor=x86_64
-- CMake-Conan: CMake compiler=GNU
-- CMake-Conan: CMake compiler version=13.1.0
-- CMake-Conan: [settings] compiler=gcc
-- CMake-Conan: [settings] compiler.version=13
-- CMake-Conan: Creating profile /home/wd/dev/exec/cpp_trading/build/conan_host_profile
-- CMake-Conan: Profile: 
[settings]
arch=x86_64
os=Linux
compiler=gcc
compiler.version=13
compiler.cppstd=23
compiler.libcxx=libstdc++11
build_type=Release
[conf]
tools.cmake.cmaketoolchain:generator=Unix Makefiles
tools.build:compiler_executables={"c":"/usr/bin/cc","cpp":"/usr/bin/c++"}

-- CMake-Conan: Installing single configuration Release
-- CMake-Conan: conan install /home/wd/dev/exec/cpp_trading -of=/home/wd/dev/exec/cpp_trading/build/conan --profile:host=default;--profile:host=/home/wd/dev/exec/cpp_trading/build/conan_host_profile;--profile:build
=default;--build=missing
Using lockfile: '/home/wd/dev/exec/cpp_trading/conan.lock'

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=23
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux
[conf]
tools.build:compiler_executables={'c': '/usr/bin/cc', 'cpp': '/usr/bin/c++'}
tools.cmake.cmaketoolchain:generator=Unix Makefiles

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=23
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux

======== Computing dependency graph ========
Graph root
    conanfile.py (cpp_trading/0.0.0): /home/wd/dev/exec/cpp_trading/conanfile.py
Requirements
    argparse/2.9#672db1e97573ed9df006df4cfcd6e049 - Cache
    benchmark/1.8.0#ff63873550d1cb2efc64b2785837c23a - Cache
    boost/1.84.0#6815195f2bf512487e7beb7e43ca31b6 - Cache
    bzip2/1.0.8#53ab4d34e2f090271db541742bd55ef3 - Cache
    concurrentqueue/1.0.4#957c470e9abc81ff3850bbe39fc11135 - Cache
    cpp_common/2024.05.15.0#46d6a0ceff87338d563f67c2e986906d - Cache
    cppzmq/4.10.0#aee45fb6fdd2acc468ee5f981647a044 - Cache
    fmt/10.0.0#4ec309e7e34f41ee6915d7a60d14fc08 - Cache
    glaze/2.1.6#d5ee57aa90faad7274bea02c00c0bf25 - Cache
    gmp/6.2.1#fff31df55be0980543fbd8d79f71b7dc - Cache
    gtest/1.13.0#a110ad735ec3df8d21666bcbc06161ed - Cache
    hdf5/1.14.1#d0c0d660cce55080ce71654a35e90e3d - Cache
    highfive/2.7.1#b6e6157b125243311c93c532b1c109f7 - Cache
    libbacktrace/cci.20210118#f5d18dee9942ec36058b965afa867e7b - Cache
    libcurl/8.1.2#95191896f5db14765b35c00d96e8ac90 - Cache
    libsodium/1.0.19#67aa05762dcfb3aca47b824f52693c87 - Cache
    magic_enum/0.9.3#4e83997cc627fc6e260374bdbbb6f5bc - Cache
    msgpack-cxx/6.1.0#70fd82b37475fcda2e69db13f9c8ff80 - Cache
    nanobench/4.3.9#7f6b12aefd34c9d91a503256b61714fe - Cache
    openssl/3.1.1#f3ddaee67faeecb40e31fa074ac27de5 - Cache
    parallel-hashmap/1.3.11#08b0dfed82b90ff06f3fa945ce95c3fe - Cache
    range-v3/0.12.0#c40ffa5a82269b873053f008d8511138 - Cache
    spdlog/1.12.0#7558859e394f9340d550ee75e9c55f5c - Cache
    tracy/0.9.1#92290b52b4ccd5bc3fa3241e1bf60fca - Cache
    yaml-cpp/0.8.0#806d7907dc54b7a08e2b684c46636af9 - Cache
    zeromq/4.3.4#02a6f36567e7d32db8daa1b341a3652f - Cache
    zlib/1.3.1#e20364c96c45455608a72543f3a53133 - Cache
Build requirements
    autoconf/2.71#5312af4e8a3f82a7f6454866081de83f - Cache
    automake/1.16.5#27a1996f8e84efd37c1bdacd9c8a5d7b - Cache
    b2/4.10.1#6160f88d57a1e7a84bc7be7b91e5352a - Cache
    cmake/3.27.7#871b7731accc7c1d8af9b63082288218 - Cache
    gnu-config/cci.20210814#1e05eeb4222461c1438295c21dd38dce - Cache
    libtool/2.4.7#45550c309dbf3f03a44ff239e3c58f59 - Cache
    m4/1.4.19#a3288d219f4225c6264a3d5a1dbd5f7d - Cache
    meson/1.2.2#5d9c6c6fe65429648f6aaaa85e8ce47d - Cache
    ninja/1.11.1#de85db1490cc53d3353a536dadf1db50 - Cache
    pkgconf/2.0.2#753885c4722f3d1cf4cb22924ab63881 - Cache
Overrides
    fmt/10.1.1: ['fmt/[10.0.0]']
    boost/1.83.0: ['boost/1.84.0']

======== Computing necessary packages ========
Requirements
    argparse/2.9#672db1e97573ed9df006df4cfcd6e049:da39a3ee5e6b4b0d3255bfef95601890afd80709#3ef19f92dd398e1f1819cd835129dbc2 - Cache
    boost/1.84.0#6815195f2bf512487e7beb7e43ca31b6:fc270a01a4ded03fb995840820c7faf23c4f7f78#67ff15f0cfb3105c4453302ed4c281be - Cache
    bzip2/1.0.8#53ab4d34e2f090271db541742bd55ef3:432d7695adc526147073285e155d2ca0340bc76d#e1cd97294bff1b642615e850f063ea43 - Cache
    concurrentqueue/1.0.4#957c470e9abc81ff3850bbe39fc11135:da39a3ee5e6b4b0d3255bfef95601890afd80709#d76553f653b5b8bdf7b424d83820fea4 - Cache
    cpp_common/2024.05.15.0#46d6a0ceff87338d563f67c2e986906d:be476cb3f3359fd807600fde22a72bc4c0a9a629#ada2897a2c9a220e5c304b8fc453b886 - Download (contek)
    cppzmq/4.10.0#aee45fb6fdd2acc468ee5f981647a044:da39a3ee5e6b4b0d3255bfef95601890afd80709#4bf82176431196e152926c902565a1b4 - Cache
    fmt/10.0.0#4ec309e7e34f41ee6915d7a60d14fc08:4b957bd87f4125c0fe7b94a15a733b7255d3d084#c782d7130dfdf64f4540d4673e19e9e2 - Cache
    glaze/2.1.6#d5ee57aa90faad7274bea02c00c0bf25:da39a3ee5e6b4b0d3255bfef95601890afd80709#acd9d14cd6da1edb37f7b90dad06577b - Cache
    gmp/6.2.1#fff31df55be0980543fbd8d79f71b7dc:2528b0eae0c47f287036a4f28706c28883915f04#22c65638c82e8065f2680501be24c657 - Download (contek)
    gtest/1.13.0#a110ad735ec3df8d21666bcbc06161ed:f575dce8ea239b77e26d5bbadf382b0058126487#79e0d6a04933fb891990cf21fd3eb7c7 - Cache
    hdf5/1.14.1#d0c0d660cce55080ce71654a35e90e3d:84b680d4520a396fc64cdd67e90f0244743e3a58#98a97675fbb0b83207a8794c283e51d7 - Cache
    highfive/2.7.1#b6e6157b125243311c93c532b1c109f7:da39a3ee5e6b4b0d3255bfef95601890afd80709#14d1dcd3361ddce75d6395c02290e0f0 - Cache
    libbacktrace/cci.20210118#f5d18dee9942ec36058b965afa867e7b:c81087b06d1a5beef0ad711fc32d45f7a425a8f3#164329a8f38e5bdb71f80f95a337b799 - Cache
    libcurl/8.1.2#95191896f5db14765b35c00d96e8ac90:3ca4a516e308ef4108d06f2ea5f1fa96ea20c2ef#1ad601b06346fe64df7fecd00e5ed72f - Cache
    libsodium/1.0.19#67aa05762dcfb3aca47b824f52693c87:bcfae6fb9224c94d23dba638948d07f79afbda69#082527c672a818ce50c6c62962c7964d - Cache
    magic_enum/0.9.3#4e83997cc627fc6e260374bdbbb6f5bc:da39a3ee5e6b4b0d3255bfef95601890afd80709#78bd9152e3c1d22c9ffa51e2a37f9ff2 - Cache
    msgpack-cxx/6.1.0#70fd82b37475fcda2e69db13f9c8ff80:da39a3ee5e6b4b0d3255bfef95601890afd80709#521d2af1829c445fd0ba130606258b14 - Cache
    openssl/3.1.1#f3ddaee67faeecb40e31fa074ac27de5:8ae950068e9956b826b6b316832987eeb214c307#dd39472e68129717bcf3f248ea61bb98 - Cache
    parallel-hashmap/1.3.11#08b0dfed82b90ff06f3fa945ce95c3fe:da39a3ee5e6b4b0d3255bfef95601890afd80709#51a47096fb0132203bb5419b58651174 - Cache
    range-v3/0.12.0#c40ffa5a82269b873053f008d8511138:da39a3ee5e6b4b0d3255bfef95601890afd80709#ecc6172c3cd6694c36d1cd98a702deb0 - Cache
    spdlog/1.12.0#7558859e394f9340d550ee75e9c55f5c:16142344f948461a04bae8665f024daed1c7c888#422d1201701c7477cff6d74f2c7cdf16 - Cache
    tracy/0.9.1#92290b52b4ccd5bc3fa3241e1bf60fca:aca815adc560a44ce513e247be698bdf4a634113#499e30f798f8a80e0d1870233f13352d - Cache
    yaml-cpp/0.8.0#806d7907dc54b7a08e2b684c46636af9:4b45763d7e991e78ae4e5ddc6855437d163e666a#528576f9b8f0d7621a29c30fed44838b - Cache
    zeromq/4.3.4#02a6f36567e7d32db8daa1b341a3652f:0e81ec7215c2fda65d4723e16278f3e4c3ace036#55d66de5ea5b9daa48a3e6f5fd17018a - Cache
    zlib/1.3.1#e20364c96c45455608a72543f3a53133:c81087b06d1a5beef0ad711fc32d45f7a425a8f3#dc0d0136beab0bbfd09e29f71a7a146b - Cache
Build requirements
Skipped binaries
    benchmark/1.8.0, nanobench/4.3.9, autoconf/2.71, automake/1.16.5, b2/4.10.1, cmake/3.27.7, gnu-config/cci.20210814, libtool/2.4.7, m4/1.4.19, meson/1.2.2, ninja/1.11.1, pkgconf/2.0.2

======== Installing packages ========

-------- Downloading 2 packages --------
gmp/6.2.1: Retrieving package 2528b0eae0c47f287036a4f28706c28883915f04 from remote 'contek' 
gmp/6.2.1: Package installed 2528b0eae0c47f287036a4f28706c28883915f04
gmp/6.2.1: Downloaded package revision 22c65638c82e8065f2680501be24c657
cpp_common/2024.05.15.0: Retrieving package be476cb3f3359fd807600fde22a72bc4c0a9a629 from remote 'contek' 
cpp_common/2024.05.15.0: Package installed be476cb3f3359fd807600fde22a72bc4c0a9a629
cpp_common/2024.05.15.0: Downloaded package revision ada2897a2c9a220e5c304b8fc453b886
argparse/2.9: Already installed! (1 of 25)
bzip2/1.0.8: Already installed! (2 of 25)
concurrentqueue/1.0.4: Already installed! (3 of 25)
fmt/10.0.0: Already installed! (4 of 25)
glaze/2.1.6: Already installed! (5 of 25)
gtest/1.13.0: Already installed! (6 of 25)
libbacktrace/cci.20210118: Already installed! (7 of 25)
libsodium/1.0.19: Already installed! (8 of 25)
magic_enum/0.9.3: Already installed! (9 of 25)
parallel-hashmap/1.3.11: Already installed! (10 of 25)
range-v3/0.12.0: Already installed! (11 of 25)
tracy/0.9.1: Already installed! (12 of 25)
yaml-cpp/0.8.0: Already installed! (13 of 25)
zlib/1.3.1: Already installed! (14 of 25)
boost/1.84.0: Already installed! (16 of 25)
hdf5/1.14.1: Already installed! (17 of 25)
openssl/3.1.1: Already installed! (18 of 25)
spdlog/1.12.0: Already installed! (19 of 25)
zeromq/4.3.4: Already installed! (20 of 25)
cppzmq/4.10.0: Already installed! (21 of 25)
highfive/2.7.1: Already installed! (22 of 25)
msgpack-cxx/6.1.0: Already installed! (23 of 25)
libcurl/8.1.2: Already installed! (24 of 25)
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated:     'cpp_info.names' used in: spdlog/1.12.0, boost/1.84.0, zeromq/4.3.4, gmp/6.2.1, gtest/1.13.0, highfive/2.7.1, zlib/1.3.1, range-v3/0.12.0, msgpack-cxx/6.1.0, libcurl/8.1.2, fmt/10.0.0, hdf5/1.
14.1, openssl/3.1.1, tracy/0.9.1, cppzmq/4.10.0, bzip2/1.0.8, parallel-hashmap/1.3.11
WARN: deprecated:     'cpp_info.build_modules' used in: zeromq/4.3.4, yaml-cpp/0.8.0, highfive/2.7.1, msgpack-cxx/6.1.0, cppzmq/4.10.0, hdf5/1.14.1, parallel-hashmap/1.3.11, bzip2/1.0.8, openssl/3.1.1
WARN: deprecated:     'env_info' used in: boost/1.84.0, bzip2/1.0.8, openssl/3.1.1
WARN: deprecated:     'cpp_info.filenames' used in: boost/1.84.0, msgpack-cxx/6.1.0
WARN: deprecated:     'user_info' used in: boost/1.84.0

======== Finalizing install (deploy, generators) ========
conanfile.py (cpp_trading/0.0.0): Calling generate()
conanfile.py (cpp_trading/0.0.0): Generators folder: /home/wd/dev/exec/cpp_trading/build/conan/build/Release/generators
conanfile.py (cpp_trading/0.0.0): CMakeDeps necessary find_package() and targets for your CMakeLists.txt
    find_package(cpp_common)
    find_package(gmp)
    target_link_libraries(... cpp_common::cpp_common gmp::gmp)
conanfile.py (cpp_trading/0.0.0): CMakeToolchain generated: conan_toolchain.cmake
conanfile.py (cpp_trading/0.0.0): Preset 'conan-release' added to CMakePresets.json. Invoke it manually using 'cmake --preset conan-release' if using CMake>=3.23
conanfile.py (cpp_trading/0.0.0): If your CMake version is not compatible with CMakePresets (<3.23) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/wd/dev/exec/cpp_trading/build/cona
n/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
conanfile.py (cpp_trading/0.0.0): CMakeToolchain generated: CMakePresets.json
conanfile.py (cpp_trading/0.0.0): CMakeToolchain generated: ../../../../../CMakeUserPresets.json
conanfile.py (cpp_trading/0.0.0): Generating aggregated env files
conanfile.py (cpp_trading/0.0.0): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
Install finished successfully
-- CMake-Conan: CONAN_GENERATORS_FOLDER=/home/wd/dev/exec/cpp_trading/build/conan/build/Release/generators
-- CMake-Conan: CONANFILE=/home/wd/dev/exec/cpp_trading/conanfile.py (cpp_trading/0.0.0)
-- Conan: Target declared 'cpp_common::cpp_common'
CMake Error at build/conan/build/Debug/generators/cmakedeps_macros.cmake:67 (message):
  Library 'cpp_common' not found in package.  If 'cpp_common' is a system
  library, declare it with 'cpp_info.system_libs' property
Call Stack (most recent call first):
  build/conan/build/Debug/generators/cpp_common-Target-debug.cmake:23 (conan_package_library_targets)
  build/conan/build/Debug/generators/cpp_commonTargets.cmake:24 (include)
  build/conan/build/Debug/generators/cpp_common-config.cmake:16 (include)
  cmake/conan_provider.cmake:572 (find_package)
  CMakeLists.txt:16 (find_package)

-- Configuring incomplete, errors occurred!
memsharded commented 2 months ago

But that is doing something different. Please check the logs:

cpp_common/2024.05.15.0#46d6a0ceff87338d563f67c2e986906d - Cache (NOT EDITABLE)

And then

cpp_common/2024.05.15.0#46d6a0ceff87338d563f67c2e986906d:be476cb3f3359fd807600fde22a72bc4c0a9a629#ada2897a2c9a220e5c304b8fc453b886 - Download (contek) (NOT EDITABLE)

So it doesn't seem we are in the same case.

By the way, this is not correct:

cpp_common/2024.04.07.0 Path: /home/wd/dev/exec/cpp_common/conanfile.py cpp_common/2024.04.15.0 Path: /home/wd/dev/exec/cpp_common/conanfile.py

It is not possible to have 2 different versions of the same package in the same location. You need to do 2 different checkouts of the cpp_common, in 2 different folders to be able to point 2 different versions of it as editable.

pwqbot commented 2 months ago

But that is doing something different. Please check the logs:

cpp_common/2024.05.15.0#46d6a0ceff87338d563f67c2e986906d - Cache (NOT EDITABLE)

And then

cpp_common/2024.05.15.0#46d6a0ceff87338d563f67c2e986906d:be476cb3f3359fd807600fde22a72bc4c0a9a629#ada2897a2c9a220e5c304b8fc453b886 - Download (contek) (NOT EDITABLE)

So it doesn't seem we are in the same case.

By the way, this is not correct:

cpp_common/2024.04.07.0 Path: /home/wd/dev/exec/cpp_common/conanfile.py cpp_common/2024.04.15.0 Path: /home/wd/dev/exec/cpp_common/conanfile.py

It is not possible to have 2 different versions of the same package in the same location. You need to do 2 different checkouts of the cpp_common, in 2 different folders to be able to point 2 different versions of it as editable.

Thanks, I find the problems is my build dir is build/debug, after rename to build/Debug it works.

memsharded commented 2 months ago

Thanks, I find the problems is my build dir is build/debug, after rename to build/Debug it works.

Sounds good, thanks for following up and the feedback. I am closing the ticket as solved then, don't hesitate to open new tickets for any further question.