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

chickadee looks for turbo-jpeg 3.0.1, when 3.1.0 is installed #332

Open
dannyob opened this issue Dec 30, 2024 · 0 comments
Open

chickadee looks for turbo-jpeg 3.0.1, when 3.1.0 is installed #332

dannyob opened this issue Dec 30, 2024 · 0 comments

Comments

@dannyob
Copy link

dannyob commented Dec 30, 2024

I'm unsure what has the dependency on turbo-jpeg, but the minimal chickadee install of:

(define (draw alpha)
  (draw-text "Hello, world!" (vec2 64.0 240.0)))
chickadee play hello-world.scm

produces this backtrace

Backtrace:
In ice-9/psyntax.scm:
  1243:36 19 (expand-top-sequence (#<syntax:image.scm:22:0 (define…>) …)
  1235:19 18 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
   259:10 17 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
In ice-9/eval.scm:
   293:34 16 (_ #<module (#{ g1398}#) 119a14780>)
In ice-9/boot-9.scm:
   3431:4 15 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
  3444:24 14 (_)
   222:29 13 (map1 (((chickadee graphics color)) ((chickadee # #)) …))
   222:29 12 (map1 (((chickadee graphics pixbuf)) ((chickadee # …)) …))
   222:17 11 (map1 (((chickadee image jpeg)) ((chickadee image #)) …))
  3349:17 10 (resolve-interface (chickadee image jpeg) #:select _ # _ …)
In ice-9/threads.scm:
    399:8  9 (_ _)
In ice-9/boot-9.scm:
  3275:13  8 (_)
In ice-9/threads.scm:
    399:8  7 (_ _)
In ice-9/boot-9.scm:
  3564:20  6 (_)
   2858:4  5 (save-module-excursion #<procedure 107e11510 at ice-9/b…>)
  3584:26  4 (_)
In unknown file:
           3 (primitive-load-path "chickadee/image/jpeg" #<procedure…>)
In ice-9/eval.scm:
   626:19  2 (_ #<directory (chickadee image jpeg) 119a143c0>)
   293:34  1 (_ #<directory (chickadee image jpeg) 119a143c0>)
In ice-9/boot-9.scm:
   2029:7  0 (error _ . _)

ice-9/boot-9.scm:2029:7: In procedure error:
could not find library ("/opt/homebrew/Cellar/jpeg-turbo/3.0.1/lib/libturbojpeg")

Sticking in a symlink from /opt/homebrew/Cellar/jpeg-turbo/3.0.1 to /opt/homebrew/Cellar/jpeg-turbo/3.1.0 seems to be an okay workaround.

Thanks for all your work!

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

1 participant