cl-raylib
cl-raylib copied to clipboard
Have you managed to compile this for the web?
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.
Sorry, I haven't tried it for web now.
And for the desktop how are you creating the executable?
For sbcl, try the following
- comment the
(main)for examples/mouse.lisp - 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)
@noloop and you can also use asdf:make to build the executable file once you write the .asd file for you project.