Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urldecode.hh compiler error #55

Open
filosofisto opened this issue Jun 23, 2017 · 1 comment
Open

urldecode.hh compiler error #55

filosofisto opened this issue Jun 23, 2017 · 1 comment

Comments

@filosofisto
Copy link

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?

@matt-42
Copy link
Owner

matt-42 commented Jun 25, 2017

Which version of microhttpd do you have?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants