Re: Building breve on Mac OS X

jon klein <[email protected]> Sat, 5 Mar 2005 13:53:31 -0500
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
On Mar 5, 2005, at 1:42 PM, Ignacio Garcia wrote:

> Function Prototype Error: invalid number of arguments
> to internal method "addEvent": expected 3, got 2 at
> line 116 of file "Object.tz"
> Error including file "Object.tz" at line 1 of file
> "Real.tz"
> Error including file "Real.tz" at line 1 of file
> "Mobile.tz"
> Error including file "Mobile.tz" at line 20 of file
> "./demos/Gatherers.tz"
>
> But after checking Object.tz I find that the offending
> line (116 of Object.tz) reads "addEvent(theMethod,
> theTime, 0).", which seems OK(?)

It sounds like you're using the class files from breve 2.1.  You
need to make sure that the environment variable BREVE_CLASS_PATH
is set to the path of the class files included with the source
you're building.

> 2) make OSX_build fails and complains about
>
> /Users/jk/dev/breve/plugins/slDigitizerPlugin: No such
> file or directory
> /Users/jk/dev/breve/plugins/slQTMusicPlugin: No such
> file or directory
> ** BUILD FAILED **
> ** BUILD FAILED **
> make: *** [OSX_build] Error 1
>
> Any suggestions as to what may be going on?

It appears that the location of these plugins is set to an absolute
path for my own development environment (the directory "/Users/jk/dev").
I will fix this in the repository, but in the meantime, you can open
up the Xcode project and change the paths for these plugins so that
it reflects your own source directory.  Or, if you don't need these
plugins for your simulation, you can just deselect them so they're
not included in the project at all.

- jon klein

_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve