Closed PMehrfeld closed 5 years ago
Thanks for the report. It's supposed to work with VS 2017. I just checked the current master on my Windows 7 machine using Dymola 2020 and VS 2017 as compiler, and it worked.
The problem that probably hit you there is that the remote MQTT test server ("test.mosquitto.org") to which the example tries to build up a connection is not always responsive. Please try several times whether the problem persits.
The example should work with GCC under Linux, but I've not tested it with MinGW under Windows and it is possible that the needed binary dependencies (DLLs) which are usually generated by @beutlich using Visual Studio don't work with MinGW.
Cannot reproduce. Works as expected in my environment, being
Please check your firewall settings. I used to have issues with disabled ports on my former business machine. But in that case the error message was rather explicit, that no connection could be created.
Thanks both @bernhard-thiele and @beutlich: After additionally installing VS 2015 and switching back to VS 2017 in the Dymola compiler settings, it works also with VS 2017...
Maybe, the VS 2017 installer, distributed by our IT division, does not install all required components of VS, which are delivered with the older VS 2015 installer.
Sorry for bothering you, but since the simulation stopped without any error indication, I first addressed the issue tracker of this project.
Problem
I tested the example
Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT
on two machines with the following configuration:The example crashed with following error in the translation tab:
Step GCC
As a conclusion I tried with GCC compiler (32-bit GCC version 4.8.1, 64-bit GCC version 4.9.2).
I received the following error:
Step VS 2015
This works.
Question
Is it a general issue that VS 2017 seems not to be fully supported?
Is it planned to be supported for MQTT?