Hi, all
Need some help. I followed instructions from website to install MQTT connector plugin in Developer Studio. And select “Greenhouse” sample. Then tried to build it and got a lot of errors as below. Do you know what’s wrong?
D:\workspace\Test1\Target_GCC_Debug/…\src/entry_point.c:42: undefined reference to av_table_pushInt' D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:43: undefined reference to
av_table_pushInt’
D:\workspace\Test1\Target_GCC_Debug/…\src/entry_point.c:46: undefined reference to av_mqtt_publishTable' D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:47: undefined reference to
av_table_reset’
src\entry_point.o: In function readMeasures': D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:65: undefined reference to
av_table_pushInt’
D:\workspace\Test1\Target_GCC_Debug/…\src/entry_point.c:68: undefined reference to av_table_pushDouble' D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:71: undefined reference to
av_table_pushDouble’
D:\workspace\Test1\Target_GCC_Debug/…\src/entry_point.c:74: undefined reference to av_table_pushInt' src\entry_point.o: In function
uploadMeasures’:
D:\workspace\Test1\Target_GCC_Debug/…\src/entry_point.c:89: undefined reference to av_mqtt_publishTable' D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:90: undefined reference to
av_table_reset’
src\entry_point.o: In function stopApplication': D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:117: undefined reference to
av_table_close’
D:\workspace\Test1\Target_GCC_Debug/…\src/entry_point.c:118: undefined reference to av_table_close' D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:119: undefined reference to
av_mqtt_disconnect’
src\entry_point.o: In function serverCallback': D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:242: undefined reference to
av_mqtt_publishData’
D:\workspace\Test1\Target_GCC_Debug/…\src/entry_point.c:247: undefined reference to av_mqtt_publishData' D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:252: undefined reference to
av_mqtt_publishData’
D:\workspace\Test1\Target_GCC_Debug/…\src/entry_point.c:257: undefined reference to av_mqtt_publishData' D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:262: undefined reference to
av_mqtt_publishData’
D:\workspace\Test1\Target_GCC_Debug/…\src/entry_point.c:275: undefined reference to av_mqtt_publishAck' src\entry_point.o: In function
startApplication’:
D:\workspace\Test1\Target_GCC_Debug/…\src/entry_point.c:329: undefined reference to av_mqtt_connect' D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:343: undefined reference to
av_table_init’
D:\workspace\Test1\Target_GCC_Debug/…\src/entry_point.c:355: undefined reference to `av_table_init’
collect2.exe: error: ld returned 1 exit status