Official breve 2.4 beta feedback thread

Official breve 2.4 beta feedback thread

Can I download the source code somewhere? I like to compile programs myself (long live Gentoo :D) and I seem to have some wrong versions for the binaries to work (I have libpng.so.3 instead of libpng.so.2).

Official breve 2.4 beta feedback thread

tried to run Creatures.tz but got an error @ line 60: method set-spatial-radius called w/ uninitialized object. NULL instance error....

Oh, and some warnings in outputlog: Quote:warning: unused local variable "nodelist" in method get-connected-nodes of class GADirectedGraphNode
warning: unused class variable "dg" in class VirtualCreatures
warning: unused local variable "low" in method setup-test of class VirtualCreatures
warning: unused local variable "lowest" in method setup-test of class VirtualCreatures
Cannot locate file "breveCreatures.xml" for object dearchive
method "set-spatial-radius" called with uninitialized object
... error in file "/Applications/breve/breve.app/Contents/Resources/demos/Physics-Examples/Creatures.tz" at line 60

IIRC, some of those I remember from trying to run Creatures in 2.3

Official breve 2.4 beta feedback thread

Rxke wrote:tried to run Creatures.tz but got an error @ line 60: method set-spatial-radius called w/ uninitialized object. NULL instance error....

Oops! You've stumbled upon some code that shouldn't have been included in the beta! Delete the spatial-radius line in Creatures.tz... and forget that you ever saw it ;).

- jon

Official breve 2.4 beta feedback thread

eeeeeeh? Saw what? Oooh a green Mini!

:wink: (thanks, fixed it)

Official breve 2.4 beta feedback thread

menetto wrote:Can I download the source code somewhere? I like to compile programs myself (long live Gentoo :D) and I seem to have some wrong versions for the binaries to work (I have libpng.so.3 instead of libpng.so.2).

There is a breve CVS as well as downloadable nightly snapshots of the code here:
http://www.spiderland.org/breve/download.php

(not sure if this is in sync with the 2.4 betas though)

?bug? under linux

hi i tried to execute this code in the beta

@use Object.
@use Stationary.
@use Control.
@use Mobile.
@use Terrain.


Controller Capture_the_flag.

Control: Capture_the_flag {
        +variables:
            team1(list).
            red_flag(object).
            terrain (object).
        
        + to init:
        height_at_flag (int).
        #first a new terrain needs to be setup 
        terrain = new Terrain.
        terrain generate.
        # with-ruggedness .15 with-height 15.3.
        print (terrain get-height at-x 0 at-y 0).
        #print height_at_flag.
        height_at_flag = terrain get-height-in-world at-x 0 at-z 0.
        print height_at_flag.
        red_flag = new Stationary.
        red_flag register with-shape  (new PolygonCone init-with radius .06 sides 3 height .5) at-location (0, 0, 0).  
}

the program terminates givung this error:
freeglut ERROR: Function <glutBitmapCharacter> called without first calling 'glutInit'.

under breve 2.3 it works.

i am using Ubuntu 6.04 with fglrx and Xgl.

Konrad

Mess

Breve is having difficulty running this fairly trivial test program. Cannot figure out what's wrong with it because it closes the IDE on failure or gives cryptic and inappropriate errors (maybe).

Click here for the relevant screenshot

Here is the file, tester.tz

Official breve 2.4 beta feedback thread

Quote:gives cryptic and inappropriate errors (maybe).

Not so cryptic ;)

It says (last error in your screenshot)
line 16 near "+" ...

It should be + to init:
and
+ to iterate:

Official breve 2.4 beta feedback thread

PowerMacX wrote:Quote:gives cryptic and inappropriate errors (maybe).Not so cryptic ;)I verified that the the latest March breveIDE 2.4 beta build for Linux does just crash immediately, briefly showing a dialog that says parser error (although it flashes by awful quickly) (Using a ThinkPad running Ubuntu Dapper Flight 6.)

Granted, the fix is "to init" and "to iterate", but the point remains that the Linux build's immediate behavior resulting from the errors differs than the Mac breveIDE build in a bad way... the crashing part, that is.

Cannot open multiple tz files...

Problem: After opening one .tz file, opening another results in the breveIDE crashing.
Software: breveIDE 2.4 beta 27-Mar-2006 (Linux)
Affected Test Systems:
- Ubuntu Dapper Flight 6, IBM ThinkPad R51
- Ubuntu 5.10, HP dx2000
Steps to reproduce (an example):
1. Open breveIDE
2. Demos > PatchLife.tz
3. Demos > DLA.tz
** breveIDE crashes
Notes: The February Linux breveIDE 2.4 beta build does not crash. The Mac breveIDE 2.4 beta 27-Mar-2006 does not exhibit this unwanted behavior.

Status: Resolved (as tested in the 2.4 beta 05-Apr-2006 Linux release)

How does one repeatedly accept uploads?

How do you repeatedly accept-uploads ? I wrote two pieces of code to be a "sender" = tester.tz and "reciever" = testerB.tz.
They can be found at...
http://breveCluster.nmu.edu/files/demos/tester.tz
http://breveCluster.nmu.edu/files/demos/testerB.tz

I would like for the process to happen on a continued basis but it don't, me dumb. Sloth need smart computer.
C.

thx power mac

thanx to the power macker
C.

Official breve 2.4 beta feedback thread

The crashing problems of the recent Windows and Linux betas should be fixed now. In addition, movie export on Windows should be working -- again!

http://www.spiderland.org/breve_2.4_betas/

- jon

Official breve 2.4 beta feedback thread

I'm having problems building the svn checkout, revision 633 on linux:

rm: cannot remove `lib/libbreve.a': Unknown file or directory
make: *** [lib/libbreve.a] Error 1

The last compiling revision is 631, so the error has to be introduced in revision 632. There a change was made at Makefile.in, where on line 97 a line was added to delete the file lib/libbreve.a which doesn't exist at that moment. I'm using GNU make 3.8 . Putting the line at the end of the section about lib/libbreve.a also does the trick, but since I'm not very familiar with automake/autoconf I don't know how valid this move is.

If I compile it with one of those tricks, I still have problems with my plugin. The file slBrevePluginAPI.h is taken from the latest svn revision.

This is the message:

cannot convert type "(null)" to type "pointer"
error in assignment
... error in file "EvoSimController.tz" at line 54
NULL pointer passed as argument 0 to internal function deleteGA
... error in file "EvoSimController.tz" at line 44

Jan

Official breve 2.4 beta feedback thread

unstable physics crash.

just thourght i would say in my present simulatoin sometimes two objects with physics enabled can occupy the same space, which causes the simulatoin to go "mad" but about 60% of the time windows crashe's and when i restart windows it crash's again. no error warnings or anything just fine fine fine , object crashes then screen goes black and computer restarts. just throught i would tell you , shouldnt be too much of a problem becouse objects shouldnt collide like that but still maybe a possible problem.

2.4b sort order

The sort order changes from 2.3 to 2.4b. Try running the following code on both version. 2.3 prints the list sorted in ascending order, 2.4b in descending.

@include "Control.tz"

Controller HelloWorld.

Control : HelloWorld {
    + variables:
        l (list).
    
    + to init:
        l = { 1,3,5,7,2,4,6,8 }.
        sort l with by-val.
        print l.
        
    + to iterate:
	super iterate.

    + to by-val of a (int) to b (int):
        if a < b: return -1.
        if a == b: return 0.
        if a > b: return  1.
    
}

    

David

Official breve 2.4 beta feedback thread

menetto wrote:

cannot convert type "(null)" to type "pointer"
error in assignment
... error in file "EvoSimController.tz" at line 54
NULL pointer passed as argument 0 to internal function deleteGA
... error in file "EvoSimController.tz" at line 44

In breve 2.4, you cannot pass a NULL pointer to an internal or plugin function. This is a precaution to prevent crashes due to uninitialized objects. You should test the pointer for NULL in your steve code before passing it to an internal function.

For the record, I think the current subversion plugin header is not fully functional.

- jon

Re: 2.4b sort order

djstates wrote:The sort order changes from 2.3 to 2.4b. Try running the following code on both version. 2.3 prints the list sorted in ascending order, 2.4b in descending.

Thanks -- fixed in svn and will be available in the next build.

- jon

Official breve 2.4 beta feedback thread

breve_2.4b.dmg 20-Apr-2006 16:49 12M
Creaturesdemo sez:
Quote:
error in file Creatures.tz @ 134
cannot convert type 'object' to type 'list'
conversion error

line 134 sez: body set-root to (parser parse from ((i get-genome) get-root)).

output log sez:

Quote:Error (-9998) opening new sound stream!
warning: unused local variable "nodelist" in method get-connected-nodes of class GADirectedGraphNode
warning: unused class variable "dg" in class VirtualCreatures
warning: unused local variable "low" in method setup-test of class VirtualCreatures
warning: unused local variable "lowest" in method setup-test of class VirtualCreatures
Cannot locate file "breveCreatures.xml" for object dearchive
cannot convert type "object" to type "list"
error in assignment
... error in file "DirectedGraph.tz" at line 242
cannot convert type "object" to type "list"
error in assignment

(lots of times)

...

... error in file "DirectedGraph.tz" at line 242
method "get-genome" called with uninitialized object
Error evaluating keyword "from" for method "parse"
Error evaluating keyword "to" for method "set-root"
... error in file "/Volumes/AliasDisk/breve/breve.app/Contents/Resources/demos/Physics-Examples/Creatures.tz" at line 134
method "destroy-connected-objects" called with uninitialized object
... error in file "DirectedGraph.tz" at line 217

(multiple times)

I'm comparing the files, creatures.tz and DirectedGraph.tz seem to be the same, :?

Official breve 2.4 beta feedback thread

oh, and superwalker made breve crash. 'vanilla' Walker runs fine.

I can send a crashreport if wanted.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.