Hello folks,

I finally managed to install fltk and the bb egg. Now I want to compile a
simple program statically, but I can't get it to work. This is the
program:

(bb:init)
(define w (bb:make-widget 'window 200 100))
(bb:group
 w
 (lambda ()
   (let ([lbl (bb:make-widget 'label 200 100)])
     (set! (bb:property lbl 'box) 'engraved-box)
     (set! (bb:property lbl 'text-size) 32)
     (set! (bb:property lbl 'text-font) 'times-bold-italic)
     (set! (bb:property lbl 'text) "Hello, World") ) ) )
(bb:show w)
(bb:run)

which is saved in gui.scm. I invoke the compiler with this command: csc
-static-extensions gui.scm -uses bb. It then complains about an undefined
reference to _C_bb_toplevel. I tried a couple of other commands but
nothing seems to work. Any help is welcome.

Thanks,
Mark




_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to