Hi Felix, I found some weird behavior, but maybe you can explain it. If I replace my simple gui program with something even simpler, for example (display "hello world") (newline), and then compile and run it (with -R bb still enabled) it shows me _no_ output. Would you know why?
Cheers, Mark > Replace "-uses" with "-R". > > > cheers, > felix > > > On 6/12/07, Mark Voortman <[EMAIL PROTECTED]> wrote: >> 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 >> > _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
