Skip to content

fatal error: SimpleAmqpClient/SimpleAmqpClient.h: No such file or directory #319

@ronytigo

Description

@ronytigo

I ran this on Ubuntu:

sudo apt-get install librabbitmq-dev
git clone https://github.com/alanxz/SimpleAmqpClient.git
cd SimpleAmqpClient
mkdir simpleamqpclient-build
cd simpleamqpclient-build
cmake ..
cmake --build .

then in my CMakeLists.txt file I added:
target_link_libraries(my_project PRIVATE SimpleAmqpClient)
then ran cmake .. which ran ok.
added #include <SimpleAmqpClient/SimpleAmqpClient.h> to my cpp file and tried to build with cmake --build .. Got this error:

fatal error: SimpleAmqpClient/SimpleAmqpClient.h: No such file or directory
   15 | #include <SimpleAmqpClient/SimpleAmqpClient.h>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions