problem developing http server
Posted: Fri Feb 10, 2017 5:31 pm
Hi,
I'd like to serve up an html page, my server works fine with simple pages but when I try to use svg I get errors compiling and the build failed.
How should I define html the page properly?
Thanks
Rob
I'd like to serve up an html page, my server works fine with simple pages but when I try to use svg I get errors compiling and the build failed.
Code: Select all
const static char http_index_html[] =
"<html><body><svg width=100% height=100% viewbox="0 0 200 200" id="svg"><rect .... etc
Code: Select all
/home/rob/esp32/workspace/myapp/main/./main.c:87:53: error: expected ',' or ';' before numeric constant
"<html><body><svg width=100% height=100% viewbox="0 0 200 200" id="svg"><rect .... etc
^
Thanks
Rob