Compiling the example: error[E048]: Could not resolve reference to <anything>
#1284
-
Hi all, compiling the
When trying to fix the warning with
The function is available in the {
"name": "simple-test",
"files": [
"simple_program.st"
],
"libraries": [
{
"name": "iec61131std",
"path": "/home/user/rusty/target/release/",
"package": "Static",
"include_path": [
"/home/user/rusty/libs/stdlib/iec61131-st/*.s"
]
}
]
} I get Probably I’m missing only a small detail, can you give me a heads up? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello @timokroeger , To build the standard library we still depend on some extra liking step to link the rust code, so I would recommend using the build script: ./scripts/build --build --release --package which will place the lib along with all includes into a folder called output in your source location. |
Beta Was this translation helpful? Give feedback.
Hello @timokroeger ,
To build the standard library we still depend on some extra liking step to link the rust code, so I would recommend using the build script: ./scripts/build --build --release --package which will place the lib along with all includes into a folder called output in your source location.
IN addition I think you might have a typo in the json file which is causing the Unresolved reference: the source files end with .st not .s