-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake problem with MQTT examples #103
Comments
The fix is to change the line to:
This fix works only with versions greater than 0.6.0., so we should wait for the 0.7.0 release before we update the example. |
I thought that CI in the playground was running with the latest release, but the MQTT examples fail to build in CI. See https://github.com/lf-lang/playground-lingua-franca/actions/runs/8222781948/job/22484683032 |
This appears to be the case, yes. Actually, #101 switched from the release version to LF master (I think because the updated/new examples did not work with the 0.6.0 release). I don't know how to resolve this. Generally, we should either only merge examples that work with the latest release, or if we want to use master, make sure that all examples are compiled in the LF CI. I just merged lf-lang/lingua-franca#2235, which likely will introduce more errors. It seems like our best bet is releasing 0.7.0 ASAP and then updating the examples quickly. |
I started working on fixes here: #104 I will also push fixes for the syntax updates in lf-lang/lingua-franca#2235 there tomorrow. Feel free to add other fixes as needed. |
In the playground, compiling
examples/C/src/mqtt/MQTTDistributed.lf
now gives the following compile error, which did not occur before. How to fix this? Help please. The error message means nothing to me.The offending line in
pho-extension.cmake
is this:The text was updated successfully, but these errors were encountered: