if you just simply add a new cmake target: add_executable(…..) and add target_link_libraries(your_target shogun::shogun)
all the required dependencies and flags will be set correctly. ta viktor > On 1 Mar 2020, at 02:10, Ahmed Khalifa via shogun-list > <shogun-list@shogun-toolbox.org> wrote: > > Hello guys, > So as per the document, I should run the example using something like gcc > cartree.cpp -o native_example -I/path/to/headers -lshogun > -L/path/to/libshogun. > However, when I do use it I get this huge wall of text, that I have no idea > what it means, could it be that /path/to/headers makes no sense? > https://pastebin.com/ppg6jkt6 > > I have followed the steps on install.md minus the whole Python,R interfaces > thing cause I wanted to just make sure the cpp code runs first > And speaking of, I didn't run make build_cpp_meta_examples cause it seemed to > be taking plenty of time, and it was already 3 am, could this be the reason? > Thanks, > Ahmed