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.

Problems compiling the CCS5 version of the Simple HTTP Web Server Application

Other Parts Discussed in Thread: MSP430FR5735, MSP-EXP430FR5739

I wonder if you can help me? I am trying get the webserver demo running for the FRAM MSP430FR5735 board with the CC3000 module but I can’t get the standard code to compile.

Here is what I have done:

1)    I downloaded the CC3000+FRAM Simple HTTP Web Server Application code from the Ti website (http://processors.wiki.ti.com/index.php/CC3000_Wi-Fi_Downloads) .

2)   I unzipped & copied the code to my C:\ti\ folder where I created a directory called ‘Webserver’.

3)   I opened up CSS5 and started a new project based on the MSP430FR5735 with the ‘blinky’ application. I compiled this application and everything was ok.

4)   I then excluded ‘blinky’ from the build

5)   I then imported the ‘demo.c’ file from the webserver directory into the project structure.

 

When I try and build the project I get a lot of errors thrown that it can’t find some (or most) of the included files (e.g. #include "wlan.h", #include "cc3000.h",#include "strlib.h".....).

If I change the include path to all of the locations that the flagged problems are located (which seems a very laborious task – is there a better way of doing this??)  I still get problems that the project can’t build:

 

Description         Resource  Path              Location    Type

#171 expected a declaration                   webserv                            line 103, external location: C:\lib\CC3000HostDriver\evnt_handler.h         C/C++ Problem

#171 expected a declaration                   webserv                            line 103, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\evnt_handler.h            C/C++ Problem

#171 expected a declaration                   webserv                            line 116, external location: C:\lib\CC3000HostDriver\evnt_handler.h         C/C++ Problem

#171 expected a declaration                   webserv                            line 116, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\evnt_handler.h            C/C++ Problem

#171 expected a declaration                   webserv                            line 131, external location: C:\lib\CC3000HostDriver\evnt_handler.h         C/C++ Problem

#171 expected a declaration                   webserv                            line 131, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\evnt_handler.h            C/C++ Problem

#171 expected a declaration                   webserv                            line 145, external location: C:\lib\CC3000HostDriver\evnt_handler.h         C/C++ Problem

#171 expected a declaration                   webserv                            line 145, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\evnt_handler.h            C/C++ Problem

#171 expected a declaration                   webserv                            line 157, external location: C:\lib\CC3000HostDriver\evnt_handler.h         C/C++ Problem

#171 expected a declaration                   webserv                            line 157, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\evnt_handler.h            C/C++ Problem

#171 expected a declaration                   webserv                            line 223, external location: C:\lib\CC3000HostDriver\hci.h        C/C++ Problem

#171 expected a declaration                   webserv                            line 223, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h   C/C++ Problem

#171 expected a declaration                   webserv                            line 237, external location: C:\lib\CC3000HostDriver\hci.h        C/C++ Problem

#171 expected a declaration                   webserv                            line 237, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h   C/C++ Problem

#171 expected a declaration                   webserv                            line 250, external location: C:\lib\CC3000HostDriver\hci.h        C/C++ Problem

#171 expected a declaration                   webserv                            line 250, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h   C/C++ Problem

#171 expected a declaration                   webserv                            line 264, external location: C:\lib\CC3000HostDriver\hci.h        C/C++ Problem

#171 expected a declaration                   webserv                            line 264, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h   C/C++ Problem

#171 expected a declaration                   webserv                            line 277, external location: C:\lib\CC3000HostDriver\hci.h        C/C++ Problem

#171 expected a declaration                   webserv                            line 277, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h   C/C++ Problem

#171 expected a declaration                   webserv                            line 291, external location: C:\lib\CC3000HostDriver\hci.h        C/C++ Problem

#171 expected a declaration                   webserv                            line 291, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h   C/C++ Problem

#171 expected a declaration                   webserv                            line 305, external location: C:\lib\CC3000HostDriver\hci.h        C/C++ Problem

#171 expected a declaration                   webserv                            line 305, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h   C/C++ Problem

#171 expected a declaration                   webserv                            line 71, external location: C:\lib\CC3000HostDriver\netapp.h  C/C++ Problem

#171 expected a declaration                   webserv                            line 71, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\netapp.h            C/C++ Problem

#171 expected a declaration                   webserv                            line 89, external location: C:\lib\CC3000HostDriver\evnt_handler.h            C/C++ Problem

#171 expected a declaration                   webserv                            line 89, external location: C:\lib\CC3000HostDriver\netapp.h  C/C++ Problem

#171 expected a declaration                   webserv                            line 89, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\evnt_handler.h            C/C++ Problem

#171 expected a declaration                   webserv                            line 89, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\netapp.h            C/C++ Problem

#760 variable "hci_evnt_hdr_t" is not a type name                  webserv                            line 56, external location: C:\lib\CC3000HostDriver\evnt_handler.h            C/C++ Problem

#760 variable "hci_evnt_hdr_t" is not a type name                  webserv                            line 56, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\evnt_handler.h      C/C++ Problem

#760 variable "netapp_pingreport_args_t" is not a type name                 webserv                            line 195, external location: C:\lib\CC3000HostDriver\netapp.h            C/C++ Problem

#760 variable "netapp_pingreport_args_t" is not a type name                 webserv                            line 195, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\netapp.h                    C/C++ Problem

#760 variable "tNetappIpconfigRetArgs" is not a type name                   webserv                            line 237, external location: C:\lib\CC3000HostDriver\netapp.h            C/C++ Problem

#760 variable "tNetappIpconfigRetArgs" is not a type name                   webserv                            line 237, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\netapp.h                    C/C++ Problem

#760 variable "tNetappIpconfigRetArgs" is not a type name                   webserv                            line 94, external location: C:\ti\Webserver\source\apps\MSP-EXP430FR5739\webserver\webserver\cc3000.h                C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 107, external location: C:\lib\CC3000HostDriver\evnt_handler.h           C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 107, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\evnt_handler.h      C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 122, external location: C:\lib\CC3000HostDriver\evnt_handler.h           C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 122, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\evnt_handler.h      C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 136, external location: C:\lib\CC3000HostDriver\evnt_handler.h           C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 136, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\evnt_handler.h      C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 148, external location: C:\lib\CC3000HostDriver\evnt_handler.h           C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 148, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\evnt_handler.h      C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 160, external location: C:\lib\CC3000HostDriver\evnt_handler.h           C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 160, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\evnt_handler.h      C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 228, external location: C:\lib\CC3000HostDriver\hci.h            C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 228, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h     C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 241, external location: C:\lib\CC3000HostDriver\hci.h            C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 241, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h     C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 255, external location: C:\lib\CC3000HostDriver\hci.h            C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 255, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h     C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 268, external location: C:\lib\CC3000HostDriver\hci.h            C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 268, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h     C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 282, external location: C:\lib\CC3000HostDriver\hci.h            C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 282, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h     C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 296, external location: C:\lib\CC3000HostDriver\hci.h            C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 296, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h     C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 310, external location: C:\lib\CC3000HostDriver\hci.h            C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 310, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\hci.h     C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 79, external location: C:\lib\CC3000HostDriver\netapp.h            C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 79, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\netapp.h                    C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 94, external location: C:\lib\CC3000HostDriver\evnt_handler.h            C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 94, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\evnt_handler.h      C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 95, external location: C:\lib\CC3000HostDriver\netapp.h            C/C++ Problem

#78-D this declaration has no storage class or type specifier                  webserv                            line 95, external location: C:\ti\Webserver\source\lib\CC3000HostDriver\netapp.h                    C/C++ Problem

 

Do you have any idea on where I am going wrong… am I importing the files/project incorrectly.

I am now completely out of ideas so any guidance on where I am going wrong & the best way to import existing projects into CCS5 will be appreciated.

Many thank.

Michael