swarm-support
[Top][All Lists]
Advanced

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

Re: howto use lispArchiver for library objects


From: Marcus G. Daniels
Subject: Re: howto use lispArchiver for library objects
Date: 22 May 2001 08:00:53 -0600
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7

>>>>> "DK" == Daniel Kottow <address@hidden> writes:

DK> i just moved all my classes to a library, so i could just write
DK> mains which instantiate the library classes i want.
DK> unfortunately, this does not seem so straightforward because the
DK> lispAppArchiver complains at run-time, saying he doesnt know the
DK> library classes when trying to instatiate them from a scheme file:

DK> *** event raised for error: InvalidArgument *** function:
DK> lispIn(), file: defobj.m, line: 306
DK> type `ModelSwarm' not found*** execution terminating due to error
DK> Symbol.m:173 -[Error(c) _raiseEvent:] Aborted

There should be a -DAPPNAME=foobar when compiling your `main';
-D should be in the compile command.

initSwarm is actually a macro, and APPNAME gets propagated to the
underlying _initSwarm_ function.  The APPNAME is what determines
what .scm file is used.  (A file of the same name with the .scm suffix.)

When you look at the APPNAME.scm file, you should see an expression
for your ModelSwarm with parameters that make sense.  If not, move
aside that file and try again.


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]