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:无法使用 SimpleLink 和 VisualStudio 2015以及 Atollic (PC 编译器) 7.1.2编译 WLAN 站入门

Guru**** 2389240 points
Other Parts Discussed in Thread: CC3100BOOST, CC3100, CC31XXEMUBOOST, CC3100SDK
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/595951/cc3100boost-unable-to-compile-getting-started-with-wlan-station-using-simplelink-and-visualstudio-2015-and-also-atollic-pc-compiler-7-1-2

器件型号:CC3100BOOST
主题中讨论的其他部件:ATOLLICCC3100CC31XXEMUBOOSTCC3100SDK

我遇到了2个问题:

使用 VisualStudio 2015时、链接器错误 LNK2019:引用 extern 符号__imp_vprintf (在2个不同函数中:Debug_print 和 SlStudio_UartOpen)

2.使用 Atollic:由于 Atollic 无法创建几个文件夹,而且手动创建文件夹也不会改变,因此 make 文件似乎不正确。

我是否错过了任何更新? 我有 CC3100BOOST 版本3.3

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Massimo、

    您是否正在使用 SimpleLink Studio SDK 中的特定示例? 您指的是哪个 makefile?

    此致、
    Sarah
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Sarah、

    我的目标是为 CC3100BOOST + CC31XXEMUBOOST 定义框架应用、以便在 PC 上开发基于 CC3100的解决方案、从而获得更舒适的工具并缩短开发时间。 我更希望基于 Eclipse 的解决方案具有用于 PC 和微控制器开发的类似编译器。 我正在测试 Atollic、因此我想使用它。 该解决方案应与您的解决方案相同或尽可能完全相同、最好使用外部 make 文件、这样我的集成服务器上就没有什么不同。

    我使用的是戴尔笔记本电脑 Win7 Atollic 7.1.2 VS2015社区版。

    是的、我指的是此示例(假设具有类似的文件夹组织):
    C:\TI\CC3100SDK_1.0.0\cC3100-SDK\platform\simplelinkstudio \example_project_eclipse\getting_started_with _station

    该文件夹包含.cproject 和.project、它们分别是 Eclipse 和 Makefile 文件

    源代码位于:
    C:\TI\CC3100SDK_1.0.0\cC3100-SDK\examples\Getting Started_With _WLAN_station

    这是 Atollic Studio 中的错误:
    17:49:51 ****项目 Getting Started 的配置增量构建默认值****
    mingw32-make -f Makefile 全部
    如果不存在 gccDebug_outMD gccDebug_out endif
    /usr/bin/sh:-c:第1行:语法错误:文件意外结束
    Makefile:244:目标'create_folders'的配方失败
    mingw32-make:***[create_folders]错误1.

    17:49:56构建完成(耗时4S.899ms)

    而是使用 VisualStudio 2015时出现的问题:
    C:\TI\CC3100SDK_1.0.0\cC3100-SDK\platform\simplelinkstudio \example_project_vs\getting_started_with _station

    在这种情况下、所有内容都应立即工作、但这是导致它的结果(很抱歉、是意大利人):

    基本上、这意味着无法找到一些外部符号:__imp__vprintf 和_printf (我认为 VS 会添加下划线作为第一个字符)。

    GravitàCodiceDescribioneProgettoFileRigaStato Elimazione
    勘误表 LNK11202 esterni 非 risoltiGetting StartedC:\TI\CC3100SDK_1.0.0\cC3100-SDK\platform\simplelinkstudio \example_project_vs\Getting Started with station\Debug\getting_started.exe1.
    AvvisoC4267'=':转换为'size_t'一个'unsigned char'。 Persibile Perdita di dati。Getting Startedc:\ti\cC3100sdk_1.0.0\cC3100-SDK\examples\SLS_GETing_started_with _WLAN_station\main.c612
    AvvisoC4267'funzione':转换为'size_t' A 'send'。 Persibile Perdita di dati。Getting Startedc:\ti\cC3100sdk_1.0.0\cC3100-SDK\examples\SLS_GETing_started_with _WLAN_station\main.c617
    AvvisoLNK4075'/EDITANDCONTINUe'忽略特定于'/opt:LBR'Getting StartedC:\TI\CC3100SDK_1.0.0\cC3100-SDK\platform\simplelinkstudio\example_project_vs\Getting Started_with station\main.obj1
    AvvisoLNK4217simbolo _printf 定义至本地 importato nella funzione _SlStudio_UartOpenGetting StartedC:\TI\CC3100SDK_1.0.0\cC3100-SDK\platform\simplelinkstudio \example_project_vs\getting_started_with_station\SimpleLinkStudio.lib (slobj1)
    AvvisoLNK4049IL simbolo _printf 定义至 localmente è stato importatoGetting StartedC:\TI\CC3100SDK_1.0.0 \cc3100-sdk\platform\simplelinkstudio \example_project_vs\getting_started_with_station\SimpleLinkStudio.lib (slosi.obj)1.
    ErroreLNK2019riferimento al simbolo esterno __imp__vprintf non risolto nella funzione _debug_printGetting StartedC:\TI\CC3100SDK_1.0.0\cC3100-SDK\platform\simplelinkstudio \example_project_vs\getting_with_station\SimpleLinkstudio (slob.lib)
    ErroreLNK2019riferimento al simbolo esterno __imp__sprintf 非 risolto nella funzione _SlStudio_UartOpenGetting StartedC:\TI\CC3100SDK_1.0.0\cC3100-SDK\platform\simplelinkstudio \example_project_vs\Getting Started_with_station\SimpleLinkstudio (slobj1)