lf-lang / lingo

Package manager and build tool for the Lingua Franca coordination language
BSD 2-Clause "Simplified" License
4 stars 1 forks source link

lingo build fails on HelloWorld C because invalid JSON string #36

Closed erlingrj closed 8 months ago

erlingrj commented 11 months ago
Building ...
Running "/home/erling/tools/lingua-franca/build/install/lf-cli/bin/lfc" "--json={\"out\":\"/home/erling/dev/lf/lf-ex/my-synth/target\",\"properties\":{\"no-compile\":false},\"src\":\"/home/erling/dev/lf/lf-ex/my-synth/./src/Main.lf\"}"
Unmatched argument at index 4: 'false'

I think it might be because --no-compile=false is not a valid command line argument. If you want to invoke the target compiler, just dont pass any --no-compile arg

tanneberger commented 10 months ago

This is a huge problem with lfc.

The properties field is getting handled wrong. All the fields in properties are getting treated as command line parameters and not for example not target properties.

lhstrh commented 9 months ago

This is a huge problem with lfc.

The properties field is getting handled wrong. All the fields in properties are getting treated as command line parameters and not for example not target properties.

I will go ahead and address this in https://github.com/lf-lang/lingua-franca/pull/2008.

lhstrh commented 9 months ago

This hinges on https://github.com/lf-lang/lingua-franca/pull/2035 and associated PRs that I'm still working on.

lhstrh commented 8 months ago

Since https://github.com/lf-lang/lingua-franca/pull/2008 has been merged, these problems should be fixed. There was a bug that ignored the output directory, but that is fixed in https://github.com/lf-lang/lingua-franca/pull/2088.