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 #10008-D cannot find file

Other Parts Discussed in Thread: CC3200SDK

Hi

I am using CCS 6.0.1.00040 .I am trying to built the example from       https://2lemetry.atlassian.net/wiki/display/KB/Connecting+to+ThingFabric+with+a+Texas+Instruments+CC3200

i made the git clone as described and imported the project and built it,got error for gpio_if.c,i2c_if.c,uart_if.c similar like this

gmake: *** No rule to make target `C:/ti/CC3200SDK/cc3200-sdk/example/common/uart_if.c', needed by `uart_if.obj'.

as i checked it the path specified is wrong ,TI now adds a version number to the CC3200SDK install location - e.g. CC3200SDK_1.0.0
so the thingfabric project needs to be updated to reflect this.I changed the path as needed by right clicking the project and Properties->resource,
changed the CC3200SDK_INSTALL variable to C:\ti\CC3200SDK_1.0.0\cc3200sdk.

Now i built it and got following errors

#20 identifier "UINT8" is undefined    main.c    /thingfabric    line 494    C/C++ Problem

#20 identifier "SL_NETAPP_HTTPPOSTTOKENVALUE" is undefined    main.c    /thingfabric    line 492    C/C++ Problem

#20 identifier "ptr" is undefined    main.c    /thingfabric    line 495    C/C++ Problem

#20 identifier "UINT8" is undefined    main.c    /thingfabric    line 495    C/C++ Problem

#20 identifier "SL_NETAPP_HTTPGETTOKENVALUE" is undefined    main.c    /thingfabric    line 443    C/C++ Problem

#20 identifier "SL_NETAPP_IP_LEASED" is undefined    main.c    /thingfabric    line 285    C/C++ Problem

#20 identifier "ptr" is undefined    main.c    /thingfabric    line 445    C/C++ Problem

#20 identifier "UINT8" is undefined    main.c    /thingfabric    line 445    C/C++ Problem

#20 identifier "SL_NETAPP_IPV4_ACQUIRED" is undefined    main.c    /thingfabric    line 274    C/C++ Problem

#20 identifier "SL_WLAN_SMART_CONFIG_START_EVENT" is undefined    main.c    /thingfabric    line 238    C/C++ Problem

so i checked it,this implies it can't find something from the simplelink device library but that identifier isn't defined anywhere in the cc3200-sdk directory. Looks like my SDK is newer than that used for this sample code and that some of the identifiers have changed, e.g. SL_NETAPP_HTTPGETTOKENVALUE is now SL_NETAPP_HTTPGETTOKENVALUE_EVENT henceforth i changed all the identifiers to match of SDK 1.0.0.

again i built it,this what i got!!


#10008-D cannot find file "simplelink.a"    main.c    /thingfabric         C/C++ Problem
#10008-D cannot find file "driverlib.a"    main.c    /thingfabric         C/C++ Problem
#10010 errors encountered during linking; "thingfabric.out" not built    main.c    /thingfabric         C/C++ Problem

<a href="file:/C:/ti/ccsv6/tools/compiler/dmed/HTML/10234.html">#10234-D</a>  unresolved symbols remain    main.c    /thingfabric         C/C++ Problem

i need help what do i do now?What causes the error?



  • I have not personally downloaded and built this application, but I can try to help you get past your build errors.

    You seem to be on the right track since you have already fixed some of the issues. For the remaining error: cannot find file "simplelink.a", "driverlib.a" I suspect you would need to first build those libraries (by importing and building the respective projects from the SDK). For eg for simplelink, import the project in C:\ti\CC3200SDK_1.0.0\cc3200-sdk\simplelink\ccs and build it. The SDK Users Guide should also have information on importing and building these projects.

    Let us know if this helps you get past the linking error.

  • yes you are right, i solved this by importing and build both driverlib and simplelink from sdk and build my project.I got no errors.Thanks for your help.