[plt-scheme] current-library-collection-paths in Embeded MzScheme

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Feb 14 09:31:47 EST 2006

At Tue, 14 Feb 2006 07:24:57 -0700, Chongkai Zhu wrote:
> ======= At 2006-02-12, 18:30:57 Matthew Flatt wrote: =======
> 
> >At Sat, 11 Feb 2006 11:22:00 -0700, Chongkai Zhu wrote:
> >> In C program that embeds MzScheme, by default I can't require any
> >> standard PLT library.
> >> The reason seems to be that (current-library-collection-paths) is empty.
> >
> >If you want the embedding application to find collections in the same
> >way as stand-alone MzScheme, then the application should run
> >
> > (current-library-colelction-paths
> >  (find-library-collection-paths))
> 
> (find-library-collection-paths) returns () or (#<path:C:\Documents and 
> Settings\Chongkai Zhu\Application Data\PLT Scheme\301.5\collects>) on my 
> computer. In both tests, it didn't find "C:\\Program Files\\PLT-FULL-301.5
> \\collects".

I'm not clear on your set-up. Should it have found that directory? If
you have PLTHOME or PLTCOLLECTS set to that path, or if your binary is
in "C:/Program Files/PLT-FULL-301.5", then `find-...' should have found
it.

Matthew



Posted on the users mailing list.