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.

CC3100BOOST: unable to compile getting started with WLAN station using SimpleLink and VisualStudio 2015 and also Atollic (PC Compiler) 7.1.2

Part Number: CC3100BOOST
Other Parts Discussed in Thread: CC3100, CC31XXEMUBOOST, CC3100SDK

I experienced 2 problems:

1. using VisualStudio 2015 a linker error LNK2019: reference to extern symbol __imp_vprintf (in 2 different functions: DEBUG_PRINT and SlStudio_UartOpen)

2. using Atollic: seems that the make file is not correct because Atollic is not able to create a couple of folders and also creating the folders by hands doesn't change.

Is there any update I missed? I have a CC3100BOOST Rev. 3.3

  • Hi Massimo,

    Are you using a certain example from the SimpleLink Studio SDK? Which makefile are you referring to?

    Best regards,
    Sarah
  • Hi Sarah,

    my goal is to define a skeleton application for CC3100BOOST + CC31XXEMUBOOST to develop solution based on CC3100 on a PC to have more comfortable tools and to short development time. I would prefer a solution based on Eclipse to have similar compilers for PC and microcontroller development. I am testing Atollic and so I would like to use it. The solution should be identical to yours or identical as possible, better using external make file so that I will have nothing different on my integration server.

    I am using a Dell notebook, Win7, Atollic 7.1.2, VS2015 Community Edition.

    Yes, I am referring to this example (assuming to have similar folder organization):
    C:\TI\CC3100SDK_1.0.0\cc3100-sdk\platform\simplelinkstudio\example_project_eclipse\getting_started_with_station

    the folder contains .cproject and .project that are Eclipse specific and Makefile

    instead the source code is in:
    C:\TI\CC3100SDK_1.0.0\cc3100-sdk\examples\getting_started_with_wlan_station

    This is the error in Atollic Studio:
    17:49:51 **** Incremental Build of configuration Default for project Getting_started ****
    mingw32-make -f Makefile all
    if not exist gccDebug_out md gccDebug_out endif
    /usr/bin/sh: -c: line 1: syntax error: unexpected end of file
    Makefile:244: recipe for target 'create_folders' failed
    mingw32-make: *** [create_folders] Error 1

    17:49:56 Build Finished (took 4s.899ms)

    Instead these are the problems using VisualStudio 2015:
    C:\TI\CC3100SDK_1.0.0\cc3100-sdk\platform\simplelinkstudio\example_project_vs\getting_started_with_station

    in this case everything should be working immediately, but this is the result building it (sorry for the italian):

    basically it means is not able to find some external symbols: __imp__vprintf and _printf (I think VS adds an underscore as the first character).

    Gravità Codice Descrizione Progetto File Riga Stato eliminazione
    Errore LNK1120 2 esterni non risolti getting_started C:\TI\CC3100SDK_1.0.0\cc3100-sdk\platform\simplelinkstudio\example_project_vs\getting_started_with_station\Debug\getting_started.exe 1
    Avviso C4267 '=': conversione da 'size_t' a 'unsigned char'. Possibile perdita di dati. getting_started c:\ti\cc3100sdk_1.0.0\cc3100-sdk\examples\sls_getting_started_with_wlan_station\main.c 612
    Avviso C4267 'funzione': conversione da 'size_t' a 'short'. Possibile perdita di dati. getting_started c:\ti\cc3100sdk_1.0.0\cc3100-sdk\examples\sls_getting_started_with_wlan_station\main.c 617
    Avviso LNK4075 '/EDITANDCONTINUE' ignorato a causa della specifica di '/OPT:LBR' getting_started C:\TI\CC3100SDK_1.0.0\cc3100-sdk\platform\simplelinkstudio\example_project_vs\getting_started_with_station\main.obj 1
    Avviso LNK4217 simbolo _printf definito localmente importato nella funzione _SlStudio_UartOpen getting_started C:\TI\CC3100SDK_1.0.0\cc3100-sdk\platform\simplelinkstudio\example_project_vs\getting_started_with_station\SimpleLinkStudio.lib(slstudio.obj) 1
    Avviso LNK4049 il simbolo _printf definito localmente è stato importato getting_started C:\TI\CC3100SDK_1.0.0\cc3100-sdk\platform\simplelinkstudio\example_project_vs\getting_started_with_station\SimpleLinkStudio.lib(slosi.obj) 1
    Errore LNK2019 riferimento al simbolo esterno __imp__vprintf non risolto nella funzione _DEBUG_PRINT getting_started C:\TI\CC3100SDK_1.0.0\cc3100-sdk\platform\simplelinkstudio\example_project_vs\getting_started_with_station\SimpleLinkStudio.lib(slstudio.obj) 1
    Errore LNK2019 riferimento al simbolo esterno __imp__sprintf non risolto nella funzione _SlStudio_UartOpen getting_started C:\TI\CC3100SDK_1.0.0\cc3100-sdk\platform\simplelinkstudio\example_project_vs\getting_started_with_station\SimpleLinkStudio.lib(slstudio.obj) 1