Skip to content
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

level compiler cannot find std library or something else #325

Open
Kodeekk opened this issue Nov 27, 2023 · 2 comments
Open

level compiler cannot find std library or something else #325

Kodeekk opened this issue Nov 27, 2023 · 2 comments

Comments

@Kodeekk
Copy link

Kodeekk commented Nov 27, 2023

localhost# ./spwn build groupfiller.spwn -i .cargo/bin/libraries/
Parsing ...
Building script ...
———————————————————————————

Error: Unable to find library folder
   ╭─[groupfiller.spwn:1:1]
   │
 1 │ extract obj_props
   · ────────┬────────
   ·         ╰────────── 1: Not found in /root
   ·         │
   ·         ╰────────── 2: Not found in /.l2s
   ·         │
   ·         ╰────────── 3: Not found in .cargo/bin/libraries/
───╯
localhost#

Idk what's going on. Help me if you can:)

@Kodeekk
Copy link
Author

Kodeekk commented Nov 27, 2023

localhost# ./spwn build 1.spwn -i .cargo/bin/libraries/
Parsing ...
Building script ...
———————————————————————————

Error: Unable to find library folder
   ╭─[1.spwn:1:1]
   │
 1 │ $.print("hello")
   · ────────┬───────
   ·         ╰───────── 1: Not found in /root
   ·         │
   ·         ╰───────── 2: Not found in /.l2s
   ·         │
   ·         ╰───────── 3: Not found in .cargo/bin/libraries/
───╯
localhost#

Same problem with different file with only one string...

@SpeckyYT
Copy link
Contributor

if you built it from source, I suggest you to just do cargo run --release build your_spwn_file.spwn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants