系统:在 Windows Server 上运行 VMPlayer。一台 VM 正在播放 IBM Infosphere Streams (3.2) QuickStart Edition 和其他 MessageSight(1.1) 虚拟设备的映像。
使用 MQTTSource Operator 时出现以下编译错误
1. "make: *** No rule to make target `/home/streamsadmin/sdk/clients/c/include/MQTTAsync.h', needed by `build/operator/mqttStream.o'. Stop.
2. CDISP0141E ERROR: The compilation of the generated code failed."
sdk 路径是 IBM MessageSight 的 SDK。我正在尝试使用 MQTT 运算符将流与 MessageSight 连接。SDK有问题还是我的代码有问题?请在下面找到代码。
composite MQTTtestApp {
graph
(stream<blob demoData> mqttStream;stream<rstring errorMessage> myErrorStream) = MQTTSource()
{
param
serverURI : "192.168.206.130:1883";
topics : ["DemoMessagingPolicy"];
format: block;
output
myErrorStream : errorMessage = getError();
}
stream<rstring dataSchema> ParsedMsg = Parse(mqttStream)
{
param
format :csv;
}
() as myMessageSink = FileSink(ParsedMsg)
{
param
file : "data.csv";
format : csv;
}