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

Have you managed to compile this for the web? #11

Open
noloop opened this issue Mar 23, 2021 · 4 comments
Open

Have you managed to compile this for the web? #11

noloop opened this issue Mar 23, 2021 · 4 comments

Comments

@noloop
Copy link

noloop commented Mar 23, 2021

I'm thinking of using your system to speed up writing, but I'm afraid that I won't be able to compile it for the web, have you tried this before?

Because in the past I tried compile ECL together with emscripten and I couldn't this.

@longlene
Copy link
Owner

Sorry, I haven't tried it for web now.

@noloop
Copy link
Author

noloop commented Mar 30, 2021

And for the desktop how are you creating the executable?

@longlene
Copy link
Owner

longlene commented Apr 1, 2021

For sbcl, try the following

  1. comment the (main) for examples/mouse.lisp
  2. load mouse.lisp and save to an executable
(load "mouse.lisp")
(sb-ext:save-lisp-and-die "mouse" :compression t :toplevel (lambda () (raylib-user::main) 0) :executable t)

@longlene
Copy link
Owner

longlene commented Apr 1, 2021

@noloop and you can also use asdf:make to build the executable file once you write the .asd file for you project.

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