In file included from /home/eduardo/C/SiliconWebAPI/include/silicon/backends/mhd.hh:27:
/home/eduardo/C/SiliconWebAPI/include/silicon/backends/urldecode.hh:35:22: error: use of undeclared identifier 'MHD_http_unescape'
content.resize(MHD_http_unescape(&content[0]));
^
In file included from hello_world.cc:2:
/home/eduardo/C/SiliconWebAPI/include/silicon/backends/mhd.hh:486:15: error: use of undeclared identifier
'MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY'
flags = MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY;
^
/home/eduardo/C/SiliconWebAPI/include/silicon/backends/mhd.hh:540:36: error: use of undeclared identifier 'MHD_FEATURE_SSL'
if (MHD_is_feature_supported(MHD_FEATURE_SSL) == MHD_NO)
Trying to compile helloworld sample in OpenSUSE, with command:
clang++ -std=c++14 -I /home/eduardo/C/SiliconWebAPI/include -I /home/eduardo/C/microhttpd/include hello_world.cc -lmicrohttpd -o hello_world
I got these error:
In file included from /home/eduardo/C/SiliconWebAPI/include/silicon/backends/mhd.hh:27: /home/eduardo/C/SiliconWebAPI/include/silicon/backends/urldecode.hh:35:22: error: use of undeclared identifier 'MHD_http_unescape' content.resize(MHD_http_unescape(&content[0])); ^ In file included from hello_world.cc:2: /home/eduardo/C/SiliconWebAPI/include/silicon/backends/mhd.hh:486:15: error: use of undeclared identifier 'MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY' flags = MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY; ^ /home/eduardo/C/SiliconWebAPI/include/silicon/backends/mhd.hh:540:36: error: use of undeclared identifier 'MHD_FEATURE_SSL' if (MHD_is_feature_supported(MHD_FEATURE_SSL) == MHD_NO)
Some idea?