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

Unable to build the module #1

Open
PoloWlg opened this issue Jul 3, 2024 · 4 comments
Open

Unable to build the module #1

PoloWlg opened this issue Jul 3, 2024 · 4 comments

Comments

@PoloWlg
Copy link

PoloWlg commented Jul 3, 2024

While running ./compile.sh, got this error:

 [6/13] Building Main
trace: .> LEAN_PATH=././.lake/build/lib DYLD_LIBRARY_PATH=././.lake/build/lib /Users/paulwaligora/.elan/toolchains/leanprover--lean4---v4.9.0/bin/lean ././././Main.lean -R ./././. -o ././.lake/build/lib/Main.olean -i ././.lake/build/lib/Main.ilean -c ././.lake/build/ir/Main.c --json
error: ././././Main.lean:10:5: unexpected token '/'; expected '_', 'rec', identifier or term
error: Lean exited with code 1
Some builds logged failures:
- Main
error: build failed
cp: .lake/build/bin/leancal: No such file or directory
@gaetanserre
Copy link
Owner

I did not try on macOS yet. Could you provide the content of the Main.lean file?

@gaetanserre
Copy link
Owner

Nevermind, it should work now (see #6ab883c).

@PoloWlg
Copy link
Author

PoloWlg commented Jul 3, 2024

Thanks for your responsiveness, the build is working, however I got a new error:

Build completed successfully.
cp: cannot overwrite directory ./leancal with non-directory .lake/build/bin/leancal

@gaetanserre
Copy link
Owner

That's weird. Could you provide the output of ls -la in the root directory of the repo?

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