Missing MIME_table from brand-new project
Posted: Wed Jul 17, 2013 12:51 pm
I created a new NetBurner executable project in NBEclipse 2.6 and chose WebServer as the only project option. Without changing anything else, the new project will not build:
Is comphtml supposed to generate MIME_table? If I look in C:\nburn\examples\Web\TicTacToe\htmldata.cpp, I see:
That is not in the htmldata.cpp in the Release directory for my new project (attached). Is there something else I need to do first?
Thanks
Code: Select all
C:\nburn/lib/NetBurner.a(htmldecomp.o): In function `SendHeaderResponse(char*, int)':
C:\nburn\system/htmldecomp.cpp:340: undefined reference to `MIME_table'
C:\nburn/lib/NetBurner.a(htmldecomp.o): In function `SendFullResponse(char*, int)':
C:\nburn\system/htmldecomp.cpp:301: undefined reference to `MIME_table'
Code: Select all
const char * MIME_table[2]={
"image/gif",
"text/html",
};
Thanks