MQTTSource Operator compilation error in IBM Infosphere Streams -


system : running vmplayer on windows server. 1 vm playing image of ibm infosphere streams (3.2) quickstart edition , other messagesight(1.1) virtual appliance.

when using mqttsource operator following compilation error

   1. "make: *** no rule make target `/home/streamsadmin/sdk/clients/c/include/mqttasync.h', needed `build/operator/mqttstream.o'. stop. 2. cdisp0141e error: compilation of generated code failed." 

the sdk path sdk of ibm messagesight. trying connetc streams messagesight using mqtt operator. problem sdk or code? please find code below.

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;      }       () mymessagesink = filesink(parsedmsg)      {          param              file : "data.csv";              format : csv;      } 

in version of operator, need following code compile:

1) download mqtt client , have installed on vm. see link details: http://www-01.ibm.com/support/knowledgecenter/sscrju_3.2.0/com.ibm.swg.im.infosphere.streams.messaging-toolkit.doc/doc/msgtoolkit-reqs.html?lang=en

2) set streams_messaging_mqtt_home environment variable. environment should point install location of mqtt client

there newer version of mqtt operators easier set up. in new version, mqtt client included part of package. therefore, no longer need install client separately, or set environment variable.

see project details. http://ibmstreams.github.io/streamsx.messaging/


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -