Search:

Type: Posts; User: jak888

Search: Search took 0.00 seconds.

  1. Replies
    20
    Views
    17,726

    OK, thank you so much for trying it out! I...

    OK, thank you so much for trying it out!

    I have follow up questions: Why does it have to be compiled in two steps? Why are you using g++ for the second part?
  2. Replies
    20
    Views
    17,726

    I tried putting the dll in the same folder, but...

    I tried putting the dll in the same folder, but the result did not change. I also tried the library in the same directory and linked it from there, to the same result.
    Renaming also did not work.
    ...
  3. Replies
    20
    Views
    17,726

    Sorry about that! Both of these give me the...

    Sorry about that!

    Both of these give me the cannot find error. Which makes sense as those files do not exist. Should I have them?
  4. Replies
    20
    Views
    17,726

    Which other two are you referring to? -l...

    Which other two are you referring to?

    -l paho-mqtt3c.dll --> cannot find
    -l paho-mqtt3c.lib --> cannot find
    -l paho-mqtt3c --> undefined reference MQTTClient_Create
    -l paho-mqtt3cs.dll -->...
  5. Replies
    20
    Views
    17,726

    Hi Tim, thanks for the tip! I have tried that...

    Hi Tim,

    thanks for the tip! I have tried that before and it's the same error: cannot find -lpaho-mqtt3c.dll
  6. Replies
    20
    Views
    17,726

    If I add the .lib extension I get an error:...

    If I add the .lib extension I get an error: cannot find -lpaho-mqtt3c.lib

    Thanks for all your input so far! it's been good getting some confirmation that I'm not completely wrong in what I tried.
  7. Replies
    20
    Views
    17,726

    Yeah, basically it complains about all the...

    Yeah, basically it complains about all the functions. I've tried linking the different files before, with no change in result. As far as I understand it the ...a libs are for the asynchronous...
  8. Replies
    20
    Views
    17,726

    Here goes: C:\Users\Pete\Documents\MQTT on...

    Here goes:


    C:\Users\Pete\Documents\MQTT on C\Examples>gcc MQTT.c -L"C:/Users/Pete/Documents/MQTT on C/Examples/Paho/lib" -lpaho-mqtt3c...
  9. Replies
    20
    Views
    17,726

    Problem linking to external library

    Hello all,

    I've been having issues trying to compile the basic example for thepaho MQTT library. I've asked this question on stackoverflow before, where it hasn't gotten any traction, so I'm...
Results 1 to 9 of 9