标签: c mqtt
我正在使用Dev C ++工具。我收到错误undefined reference to 'MQTTClient_create'。
undefined reference to 'MQTTClient_create'
源文件(.c)的部分代码
MQTTClient_create(&client, ADDRESS, CLIENTID, MQTTCLIENT_PERSISTENCE_NONE, NULL); conn_opts.keepAliveInterval = 20; conn_opts.cleansession = 1;