slyrus / opticl

An image processing library for Common Lisp
Other
182 stars 35 forks source link

opticl fails to load on CCL, Allegro #41

Closed 3b closed 2 years ago

3b commented 2 years ago

CCL and Allegro complain about Unbound variable: OPTICL::+NCOMP-RGB+ and Attempt to take the value of the unbound variableOPTICL::+NCOMP-RGB+'., presumably from use of#.+ncomp-rgb+` in https://github.com/slyrus/opticl/blob/master/jpeg.lisp#L33-L38.

+NCOMP-RGB+ is defined as a constant in the same file without eval-when, so is no guaranteed to have a value by the time the #.+ncomp-rgb+ is read.

3b commented 2 years ago

looks like #40 fixes both of those as well

slyrus commented 2 years ago

Should be fixed now. Thanks!