Skip to content

File for icon not found by lfc #1649

@edwardalee

Description

@edwardalee

The lfc command fails to find an icon file in the same directory as the .lf file.
And example is given here: https://github.com/lf-lang/examples-lingua-franca/blob/main/C/src/rosace/Rosace.lf
That file has this:

@icon("Variables.png")
reactor Variables {}

which displays fine Epoch:
image

However, when I run lfc on the file, I get a warning:

> lfc src/rosace/Rosace.lf 
...
lfc: warning: Icon does not exist.
 --> src/rosace/Rosace.lf:68:7
   |
67 | // Documentation
68 | @icon("Variables.png")
   |       ^^^^^^^^^^^^^^^ Icon does not exist.
   |
69 | reactor Variables {}

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinglfc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions