we know that the *.html files are converted to html.h. If we change some *.htmls files, we need to convert the new files to html.h.
How can we do it with html2raw.cpp?
PS: With ‘MinGW’, i tryed to run html2raw.cpp, but get nothing.
html2raw is the source code for a program that converts HTML to raw string that you can embed in the firmware code. You can’t run it directly, you have to compile it:
g++ -o html2raw html2raw.cpp
(or use gcc -o html2raw html2raw.cpp)
Then run ./html2raw
@Ray, thanks a lot. i follow your instruction, and done.
But at the begin, i got some fault message with “ls”. then, i delete the whole line in the code” //sprintf(command, “ls *.html > %s”, LIST_FNAME);” and converte into .exe and run. now everything is ok.