Skip to content

RabbitMQ package issue #345

Open
Open
@sgerbino

Description

@sgerbino
  • I've read Brief overview section and do understand basic concepts. [Yes]
  • I've read F.A.Q. section and there is no solution to my problem there. [Yes]
  • I've read Code of Conduct, I promise to be polite and will do my best at being constructive. [Yes]
  • I've read Reporting bugs section carefully. [Yes]
  • I've checked that all the hunter_add_package/find_package API used by me in the example is the same as in documentation. [Yes]
  • I'm using latest Hunter URL/SHA1. [Yes]

While trying to use the package rabbitmq-c, CMake is unable to find and link the library. However, Hunter is able to download and build it properly. When testing the example within the Hunter repository I get the following output:

❯ cmake -DCMAKE_BUILD_TYPE=Debug ..
Including HunterGate: /Users/sgerbino/Projects/hunter/gate/cmake/HunterGate.cmake
-- The C compiler identification is AppleClang 12.0.0.12000032
-- The CXX compiler identification is AppleClang 12.0.0.12000032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- [hunter] Calculating Toolchain-SHA1
-- [hunter] Calculating Config-SHA1
-- [hunter] HUNTER_ROOT: /Users/sgerbino/Projects/hunter
-- [hunter] [ Hunter-ID: xxxxxxx | Toolchain-ID: 1341f84 | Config-ID: 035647d ]
-- [hunter] RABBITMQ-C_ROOT: /Users/sgerbino/Projects/hunter/_Base/xxxxxxx/1341f84/035647d/Install (ver.: 0.10.0)
CMake Error at CMakeLists.txt:14 (find_package):
  By not providing "Findrabbitmq-c.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "rabbitmq-c", but CMake did not find one.

  Could not find a package configuration file provided by "rabbitmq-c" with
  any of the following names:

    rabbitmq-cConfig.cmake
    rabbitmq-c-config.cmake

  Add the installation prefix of "rabbitmq-c" to CMAKE_PREFIX_PATH or set
  "rabbitmq-c_DIR" to a directory containing one of the above files.  If
  "rabbitmq-c" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
See also "/Users/sgerbino/Projects/hunter/examples/rabbitmq-c/build/CMakeFiles/CMakeOutput.log".
See also "/Users/sgerbino/Projects/hunter/examples/rabbitmq-c/build/CMakeFiles/CMakeError.log".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions