• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » SimpleLink™ Wi-Fi® » Problems compiling the CCS5 version of the Simple HTTP Web Server Application
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

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

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

This question is answered
Mike Dalby
Posted by Mike Dalby
on Aug 02 2012 07:01 AM
Prodigy160 points

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

cc3000 basic wifi CC3000 WiFi Driver
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • schneiderham
    Posted by schneiderham
    on Aug 02 2012 10:14 AM
    Expert1305 points

    Hi Michael,

    I suggest that you import the project so that you get all the dependencies and settings correct.

    Instructions:

    Open CCS5

    File->import

    select Code Composer Studio -> Existing CCS/CCE Eclipse Projects.

    Click next and then Browse to the project source folder you downloaded.

    Select all the projects in Discovered Projects: list and click finish

    This will import everything including project options and libraries.

    Good luck

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mike Dalby
    Posted by Mike Dalby
    on Aug 02 2012 11:11 AM
    Prodigy160 points

     Hi Thanks for the information.... I tried that and I still get errors (Please see the screen grab)

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • schneiderham
    Posted by schneiderham
    on Aug 02 2012 12:01 PM
    Verified Answer
    Verified by Aaron L
    Expert1305 points

    Hi,

    I was going off of general knowledge. I have never worked with this example before so I downloaded the source from http://www.ti.com/lit/zip/swrc246 

    and there is no CCS project files; just IAR.  

    Does anyone know if CCS is supported for this demo?

    You can download http://www.ti.com/lit/zip/swrc235 which is the homeautomation project.  It has CCS support.  So you can try that and then use it as a CCS project reference for creating the HTTP demo.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mike Dalby
    Posted by Mike Dalby
    on Aug 03 2012 03:57 AM
    Prodigy160 points

    It looks like the link on the download page still calls off just the IAR version (http://processors.wiki.ti.com/index.php/CC3000_Wi-Fi_Downloads) for the web server

     

    I think I got the version for the CCS compiler from the E2E forum link …

    http://e2e.ti.com/support/low_power_rf/f/851/p/187337/675485.aspx#675485

    [Note: I have tried to compile this and it still doesn’t import & compile properly]

     

    Towards the bottom of the page there was the following post from a Ti Employee with a link to a new CCS version of the web server demo–

     

    Posted by Pedro5084  

    onJun 20, 2012 11:11 PM

    •                        
    • Prodigy670 points
    • Hi Paul,
    • We are pending finalization of the patch programmer license, the patch will improve the first time configuration, but is not required to run the attached package, which includes the new version of the web server. It has a new host driver, and one of the added features is to send the TX complete after all packets have been acknowledged. This feature is utilized in the web server and will wait for tx completion after sending all the html pages, before closing the socket.
    • 2728.CC3000_FRAM_webserver_2_0_16.zip
    • Pedro
    cc3000
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use