interactive-matter / aJson

aJson is an Arduino library to enable JSON processing with Arduino. It easily enables you to decode, create, manipulate and encode JSON directly from and to data structures.
http://interactive-matter.org/2010/08/ajson-handle-json-with-arduino/
567 stars 136 forks source link

undefined reference to `stringBufferCreate' `stringBufferFree' #92

Open kingsjl opened 6 years ago

kingsjl commented 6 years ago

Arduino:1.8.5 (Windows 10), 开发板:"Arduino/Genuino Uno"

C:\Users\kjl26\AppData\Local\Temp\ccMDpPzx.ltrans2.ltrans.o: In function `aJsonStream::parseString(aJsonObject*) [clone .constprop.22]':

sketch/aJSON.cpp:357: undefined reference to `stringBufferCreate'

sketch/aJSON.cpp:419: undefined reference to `stringBufferFree'

sketch/aJSON.cpp:409: undefined reference to `stringBufferAdd'

sketch/aJSON.cpp:424: undefined reference to `stringBufferToString'

collect2.exe: error: ld returned 1 exit status

exit status 1 为开发板 Arduino/Genuino Uno 编译时出错。

在文件 -> 首选项开启 “编译过程中显示详细输出”选项 这份报告会包含更多信息。