Hello,
From the terminal it works:
g++ -I /usr/include/ main.cpp -o example2 /usr/lib/x86_64-linux-gnu/libboost_regex.a
I know the way is somewhere in the direction of Project -> Build Options ... but then I am not shure ... The problem ist the library direction (/usr/lib...) ... I tried -> Search Directories and Pre/Post build Steps. I guess Linker Settings is /usr/include. But if works without any additional linker settings if no libboost_yx is needed.
Could anybody give me a hint?
Thanks
hermann