[plt-scheme] more fun requiring c extensions

From: Bruce Hauman (bhauman at cs.wcu.edu)
Date: Tue Mar 2 17:15:20 EST 2004

I am having difficulty understanding this behavior

In an mzscheme top level this works:

(load-extension "sdl.so")
(require sdl)

Yet in a module declaration like this

(module check-sdl mzscheme
   (load-extension "sdl.so")
   (require sdl)
  )

produces this error -
require: unknown module: sdl

I am using swig with -declaremodule

Happy Texas Independence Day!

Bruce




Posted on the users mailing list.