This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error including http/client header files -- even after setting the include settings of the project



I have successully built and ran the HTTP client demo, and got a response from a server. However now I'm trying to add some HTTP client functionality into my own project and I am stuck at a very strange build problem.

In my code I have the three following includes, copying from the HTTP client demo:

#include <http/client/httpcli.h>
#include <http/client/common.h>
#include "jsmn.h"


I'm aware that jsmn.h is something seperate. If I ctrl+click any of the above include statements, code composer successfuly opens the header file, proving that it knows where the files are.

However the issue arises in that when I include the http files, I get the following error:

#35 #error directive: No or unrecognized network configuration specified

It further states that this error message is being outputted by network.h which is a file that gets included from the above http includes.

My question is, how can I correctly include the http client header files into my project, and have it build successfully so that I may begin http client development?

Thank you.