downloading AMQP-CPP-4.3.23 release and unzip with tar
in AMQP-CPP-4.3.23/build, i did cmake .. -DAMQP-CPP_LINUX_TCP=ON and make, sudo make install
also, I installed boost through apt.
similarly, I installed RabbitMQ-c with cmake.., make and make install
CMake project, reporting errors after hit "run" button in CLion
this is my cmakelists.txt
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.
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.
OS: ubuntu 2004 AMQP installing:
cmake .. -DAMQP-CPP_LINUX_TCP=ON
and make, sudo make installCMake project, reporting errors after hit "run" button in CLion
this is my cmakelists.txt
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.
after manually fix
this is my code
Please fix this, thank you very much