qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Stitcher <astitc...@redhat.com>
Subject Re: Building client - missing cmake files
Date Fri, 22 Apr 2016 21:04:00 GMT

i think this is because the Ubuntu qpid package doesn't install the
file: [/usr/lib/cmake/Qpid/QpidConfig.cmake] (or the appropriate
directory on Ubuntu)

The Fedora package does install this file, which is why your
find_package(Qpid) does work. Are you sure you've installed the
developer package probably qpid-dev or libqpid-dev? If you have
installed the developer package then this is an issue in the Ubuntu
package, which needs to provide this file for cmake to find the


On Fri, 2016-04-22 at 11:42 +0200, Tomáš Šoltys wrote:
> Hi,
> I'm developing a client based on Qpid C++ library.
> My CMakeLists.txt contain following line:
> find_package (Qpid REQUIRED)
> It works fine of Fedora 23 but on Ubuntu cmake fails with following
> error:
> ---------------------------------------------------------------------
>   CMake Error at qpid-messaging/src/CMakeLists.txt:2 (find_package):
>   By not providing "FindQpid.cmake" in CMAKE_MODULE_PATH this project
> has
>   asked CMake to find a package configuration file provided by
> "Qpid", but
>   CMake did not find one.
>   Could not find a package configuration file provided by "Qpid" with
> any
> of
>   the following names:
>     QpidConfig.cmake
>     qpid-config.cmake
>   Add the installation prefix of "Qpid" to CMAKE_PREFIX_PATH or set
>   "Qpid_DIR" to a directory containing one of the above files.  If
> "Qpid"
>   provides a separate development package or SDK, be sure it has been
>   installed.
> ---------------------------------------------------------------------
> Am I doing something wrong? How should I edit my CMakeLists.txt to
> include
> and link Qpid C++ client libraries?
> Thanks,
> Tomas

To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org

View raw message