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: Daniel Kottow
Subject: Re: howto use lispArchiver for library objects
Date: Tue, 22 May 2001 16:08:37 +0200

"Marcus G. Daniels" wrote:
> 
> >>>>> "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.

i think there is an misunderstanding. my .scm file is found by the
archiver. if i misplace it on purpose i get:

*** event raised for error: InvalidOperation
*** function: main(), file: main.m, line: 26
Can't find the modelSwarm parameters*** execution terminating due to
error
Symbol.m:173 -[Error(c) _raiseEvent:]
Aborted

actually, all my compilation options for the app (which before included
all library classes) stayed the same. i just took out the files of the
lib. 
i think somehow it is the object type ObserverSwarm which is not found.

dk

-- 
Daniel Kottow                                   
address@hidden
Security and Testing Technology                  http://www.ipk.fhg.de
Production Technology Centre                     Pascalstr. 8 - 9
Fraunhofer-Institut IPK Berlin                   D - 10587 Berlin

                  ==================================
   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]