vydd/sketch

Error while Compiling

brandflake11 opened this issue · 1 comments

Hello,
I am trying to get sketch working on Artix Linux (Arch Linux without systemd) with sbcl 2.1.1-1. I am having an issue while loading sketch with quicklisp. Here is what the error looks like:

compile-file-error while compiling
   #<cl-source-file "cl-opengl" "gl" "funcs-gl-glcore-gles2">
   [Condition of type uiop/lisp-build:compile-file-error]

Restarts:
 0: [retry] Retry compiling #<cl-source-file "cl-opengl" "gl" "funcs-gl-glcore-gles2">.
 1: [accept] Continue, treating compiling #<cl-source-file "cl-opengl" "gl" "funcs-gl-glcore-gles2"> as having been successful.
 2: [retry] Retry ASDF operation.
 3: [clear-configuration-and-retry] Retry ASDF operation after resetting the configuration.
 4: [retry] Retry ASDF operation.
 5: [clear-configuration-and-retry] Retry ASDF operation after resetting the configuration.
 --more--

Backtrace:
  0: (uiop/lisp-build:check-lisp-compile-results nil t t "~/asdf-action::format-action/" ((#<asdf/lisp-action:compile-op > . #<asdf/lisp-action:cl-source-file "cl-opengl" "gl" "funcs-gl-glcore-gles2">)))
  1: ((sb-pcl::emf asdf/action:perform) #<unused argument> #<unused argument> #<asdf/lisp-action:compile-op > #<asdf/lisp-action:cl-source-file "cl-opengl" "gl" "funcs-gl-glcore-gles2">)
  2: ((lambda nil :in asdf/action:call-while-visiting-action))
  3: ((:method asdf/action:perform-with-restarts :around (t t)) #<asdf/lisp-action:compile-op > #<asdf/lisp-action:cl-source-file "cl-opengl" "gl" "funcs-gl-glcore-gles2">) [fast-method]
  4: ((:method asdf/plan:perform-plan (t)) #<asdf/plan:sequential-plan {10147ADC63}>) [fast-method]
  5: ((flet sb-c::with-it :in sb-c::%with-compilation-unit))
  6: ((:method asdf/plan:perform-plan :around (t)) #<asdf/plan:sequential-plan {10147ADC63}>) [fast-method]
  7: ((:method asdf/operate:operate (asdf/operation:operation asdf/component:component)) #<asdf/lisp-action:load-op > #<asdf/system:system "sketch"> :plan-class nil :plan-options nil) [fast-method]
  8: ((sb-pcl::emf asdf/operate:operate) #<unused argument> #<unused argument> #<asdf/lisp-action:load-op > #<asdf/system:system "sketch"> :verbose nil)
  9: ((lambda nil :in asdf/operate:operate))
 10: ((:method asdf/operate:operate :around (t t)) #<asdf/lisp-action:load-op > #<asdf/system:system "sketch"> :verbose nil) [fast-method]
 11: ((sb-pcl::emf asdf/operate:operate) #<unused argument> #<unused argument> asdf/lisp-action:load-op "sketch" :verbose nil)
 12: ((lambda nil :in asdf/operate:operate))
 13: ((:method asdf/operate:operate :around (t t)) asdf/lisp-action:load-op "sketch" :verbose nil) [fast-method]
 14: (asdf/session:call-with-asdf-session #<function (lambda nil :in asdf/operate:operate) {10147A8F7B}> :override t :key nil :override-cache t :override-forcing nil)
 15: ((lambda nil :in asdf/operate:operate))
 16: (asdf/session:call-with-asdf-session #<function (lambda nil :in asdf/operate:operate) {101479DF6B}> :override nil :key nil :override-cache nil :override-forcing nil)
 17: ((:method asdf/operate:operate :around (t t)) asdf/lisp-action:load-op "sketch" :verbose nil) [fast-method]
 18: (asdf/operate:load-system "sketch" :verbose nil)
 19: (quicklisp-client::call-with-macroexpand-progress #<function (lambda nil :in quicklisp-client::apply-load-strategy) {101479DD3B}>)
 --more--

I think I have all of the dependencies installed needed (I went through 1-by-1 to make sure i have them installed). Is my problem a dependency problem?

Thank you for any help you are able to offer!

I figured out the issue with this: Make sure to use a clean lisp (no packages loaded) when loading the sketch package. I autoload many packages when starting up SBCL, but this caused this error it seems. I hope this helps someone!