CopernicaMarketingSoftware / AMQP-CPP

C++ library for asynchronous non-blocking communication with RabbitMQ
Apache License 2.0
864 stars 334 forks source link

Missing type definitions (BUG) missing header file importing lines. #499

Closed Corgile closed 1 year ago

Corgile commented 1 year ago

OS: ubuntu 2004 AMQP installing:

CMake project, reporting errors after hit "run" button in CLion

image

this is my cmakelists.txt

image

It is probably an internal error, because these header files provided by AMQP library do not refer to other header files. In fact, I tried to modify these files manually, and the compilation still failed after adding the necessary header files.

image

after manually fix

image

this is my code

image

Please fix this, thank you very much

EmielBruijntjes commented 1 year ago

Please send in the smallest possible program to reproduce this issue. Not as image, but as source code that can be copy/pasted (or so) so that I can run it myself.