you should provide the compiler the include path of "picohttp.hpp" with -I.
g++ main.cpp -I /aaa/bbb/ ./build/libpicohttp.a -o main
replace /aaa/bbb/ with the path of picohttp