My Webserver does not work - resource undeclared

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

I wanted to test the webserver and followed the txt in the resources dir.

But I get the following error:

error: 'resources_apps_DIR_"appname"_DIR_"filename"_html' undeclared (first use in this function)

When I change the html file "top_web_page_top.html" into top.html in the appliance demo. Modify the makefile and http-page-database i get the same error.

Can someone give me a hint ?

0 Likes
1 Reply
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hi,

When the the "_top_web_page_top_html" in appliance.c file changed to "_top_htm", the .../resources/apps/appliance/top_web_page_top.html file needs to be renamed to .../resources/apps/appliance/top.html.

Also update the "$(NAME)_RESOURCES  := apps/appliance/top_web_page_top.html \" in .../apps/demo/appliance/appliance.mk to "$(NAME)_RESOURCES  := apps/appliance/top.html \".

Seyhan

0 Likes