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.

CC2541使用IAR,将库配置由CLIB改为DLIB后,报错。



修改之后,出现如下提示:

Incompatible runtime models. Module att_client specifies that '__SystemLibary' must be 'CLib', but module CSTR has the value 'DLib'

字面意思,应该是att_client这个模块指定必须要用'CLib'

问题:

1.我有些代码需要用的DLIB中的函数,我该怎么办才可以用DLIB的库函数,比如

  <string.h>中

    strcasecmp();strncasecmp();..等等

  <strarg.h>中

     va_copy();等

  <stdio.h>

    snprintf();vsnprintf();等

2.我还没尝试att_services,是不是它也必须要CLib才行啊?