Hacker News new | past | comments | ask | show | jobs | submit login

Sketch looks fun and intuitive. I'm looking forward to experimenting with it! :)

I'm very close to being able to run the examples, but I'm seeing the following issue when running `(ql:quickload :sketch)`: "debugger invoked on a LOAD-SYSTEM-DEFINITION-ERROR in thread #<THREAD "main thread" RUNNING {10039CE893}>: Error while trying to load definition for system st atic-vectors from pathname /home/peter/quicklisp/dists/quicklisp/software/static-vectors-1.6/static-vectors.asd: COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "cffi-toolchain" "toolchain" "asdf-compat">"

Any idea why that might be happening? AFAIK, I've installed the appropriate dependencies. I'm running Debian 8, Linux 3.16.0-4-amd64 and SBCL 1.2.4.




Thanks!

Static-vectors, on which Sketch depends, needs to have a working C toolchain (C compiler, linker, etc.) installed. Maybe that's the problem here?

If you do have the toolchain installed, and can call the compiler with "cc", then maybe sbcl's PATH is wrong. You can try copying your env PATH to .sbclrc:

(require :sb-posix) (sb-posix:setenv "PATH" YOUR-PATH-STRING 1)


Thanks for following-up.

I've got gcc 4.9.2 installed and tried adding both my $PATH and the path to gcc to .sbclrc using the above, to no avail.

Maybe I'm doing something incorrectly? (Quite possible, as I haven't used CL in a few years.)

https://gist.github.com/ethagnawl/0af37c12cf2bd1b8063c


I think PATH should only contain folders, not the full path to your binary. But now I'm not sure if even that would help. It would be the best if you could join #lispgames or #lisp on freenode so we can debug it in realtime. We might even find someone there who has more experience with cffi.


OK. I'll check out #lispgames either tonight or tomorrow.

Thanks, again, for your help!




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: