How do you include external libraries in cling? (POCO)

Hello all,

I wish to use an external library within the cling interpreter.

I have built POCO library. I have positively confirmed it is fully functional within Visual Studio… POCO is ready. I’ll be using it to make a very simple HTTP Request.

I have compiled binaries folder, lib folder, and 2 include directories I will need. How can I get these dependencies to be compiled in the cling interpreter?

cling $ .I /path/to/POCO/include/
cling $.L /location/of/libPOCO.so
cling $ #include <POCO.h>

Or

> cling -I /path/to/POCO/include/ -L/location/of/ -lPOCO
cling $ #include <POCO.h>
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.