[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

extending AND embedding it



Hi, all!

I need to both extend and embed mzscheme using C.

i compiled the embedding code and the extending code separately, the first
includeing "scheme.h" and the second "escheme.h"  and they works
fine.


If i do "(load-extension "...")" from the command line it goes ok, but i can't
neither

scheme_load_extension("...",e);

nor 

scheme_eval("(load-extension \"...\"",e);

If i try i only get

load-extension: couldn't open
"foobar.so" (foobar.so: undefined symbol: scheme_true)

I am using the  version "102"  of mzscheme under Linux.

TIA

Giorgio Marzano