How to install C++ lib Duckx?

Viewed 228

I want to use this lib DuckX. I followed tutorial,

git clone https://github.com/amiremohamadi/DuckX.git
cd DuckX
mkdir build
cd build
cmake ..
cmake --build .

It went on without any error. However, when I entered sample directory and execute g++ sample1.cpp -lduckx, it got the following error message,

sample1.cpp:1:10: fatal error: duckx.hpp: No such file or directory
 #include "duckx.hpp"
          ^~~~~~~~~~~
compilation terminated.

I wonder how I can successfully use this lib. Could you please tell me what I can do to make the program use this lib. Thanks.

0 Answers
Related