This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Dear Spencer, Thank you for pointing out inaccuracies in the tutorials, which is sort of inherited from an *extremely* old version of Guile. The solution for you is to take out the -lgh (as you have already done), since the gh_ interface is now a part of libguile and not an add-on. And you should also include #include <guile/gh.h> instead of just <gh.h>. And finally you should take out the line that says gh_enter() since that is no longer necessary. If you do these things, the example should compile for you. Thanks to your feedback, I have corrected these mistakes in the tutorial and committed the fix. Tomorrow's snapshot should have a correct learn0.c in it, as well as correct compiling instructions! Spencer> can't get a simple guile program running to show my Spencer> friends, I'll be forced to use c instead....:( Oooh, that would be dreadful, wouldn't it? Actually most of us Guile-ers believe that a well-tempered mix of C and Scheme code is the way to go. PS: I presume you are aware of the caveats regaring Guile docs, right? None of us has made time to work on them in a long time, and they are out of synch, although some parts are OK. PPS: please submit more documentation nits -- it will motivate me to fix things up.