[plt-scheme] scheme inside c++
i tried to do this:
http://www.godpatterns.com/article/embedding-scheme-in-c/
on mac osx,
and compiled like this:
g++ blah.cpp -I/coding/PLT\ Scheme\ v4.1.4/include/ /coding/PLT\ Scheme\
v4.1.4/lib/PLT_MzScheme.framework/PLT_MzScheme
and then set this:
export DYLD_LIBRARY_PATH=/coding/PLT\ Scheme\
v4.1.4/lib/PLT_MzScheme.framework/
and then got an un-smiley face back from my mac:
./a.out #f::0: compile: unbound identifier (and no #%app syntax transformer
is bound) at: + in: (+ 1 1)
Seg fault (internal error) at 0x4
Bus error
--------
anyone mess around with this before? bear in mind i don't really use my mac
for much more than surfing the web. I think if I get another, I'll format
it with linux.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090317/a10f93d4/attachment.html>