roijac wrote:
TRocket wrote:
roijac wrote:
nice progress guys!
i get sometimes seg faults, but most projects are working
keep going!
if this helps, here is an error message i get on some files:Code:
itchy: /build/buildd/cairo-1.12.2/src/cairo-pattern.c:187: _cairo_pattern_set_error: Assertion `status < CAIRO_STATUS_LAST_STATUS' failed. Aborted (core dumped)What os are you using?
i'm using windows with slashes
jk, linux
macs use slashes too... :p
have you tried with the latest commit? I've moved all the GUI(cairo) stuff around...
Offline
amcerbu wrote:
We might be able to do it with an array of function pointers, each member representing one block (just putting out an idea -- I don't like the idea of a huge switch statement). I was thinking that each bytecode value could represent an index in that array of function pointers, and we could call the appropriate function by feeding it the current byte value.
Any thoughts?
Offline
still
Itchy++ v0.0(dev) Scratch Project Info Size: 7612 Is Object Object Size: 68 Is Object Object Size: 2158 Unknown field ID: 6 Unknown field ID: 0 Unknown field ID: 0 Unknown field ID: 0 Unknown field ID: 6 Unknown field ID: 0 Unknown field ID: 6 Unknown field ID: 0 Unknown field ID: 6 Unknown field ID: 0 Unknown field ID: 6 Unknown field ID: 0 Unknown field ID: 6 Unknown field ID: 0 Unknown field ID: 0 Unknown field ID: 0 Unknown field ID: 6 Unknown field ID: 0 Unknown field ID: 6 Unknown field ID: 0 Unknown field ID: 0 Unknown field ID: 0 Unknown field ID: 6 Unknown field ID: 0 Read time: 17ms itchy: /build/buildd/cairo-1.12.2/src/cairo-pattern.c:187: _cairo_pattern_set_error: Assertion `status < CAIRO_STATUS_LAST_STATUS' failed. Aborted (core dumped)
(just realized full output may help..)
Offline
Oh. *facepalm* I spent 20 minutes trying to figure out why something was reading too many bytes. It turns out that id 6 hasn't been implemented yet.
... case 5: // SmallInteger16 length = 2; data = new char[length]; this->stream->readBlockR(data, length); break; // long int stuff to come <----- See the problem? xD case 8: // Float length = 8; data = new char[length]; this->stream->readBlockR(data, length); break; ...
Offline
MathWizz wrote:
Oh. *facepalm* I spent 20 minutes trying to figure out why something was reading too many bytes. It turns out that id 6 hasn't been implemented yet.
Code:
... case 5: // SmallInteger16 length = 2; data = new char[length]; this->stream->readBlockR(data, length); break; // long int stuff to come <----- See the problem? xD case 8: // Float length = 8; data = new char[length]; this->stream->readBlockR(data, length); break; ...
Id 6 is LargePositiveInteger, should I implement it and LargeNegativeInteger
Last edited by pwiter (2012-10-07 16:36:10)
Offline
amcerbu wrote:
amcerbu wrote:
We might be able to do it with an array of function pointers, each member representing one block (just putting out an idea -- I don't like the idea of a huge switch statement). I was thinking that each bytecode value could represent an index in that array of function pointers, and we could call the appropriate function by feeding it the current byte value.
Any thoughts?
sounds good...
Offline
MathWizz wrote:
pwiter wrote:
TRocket wrote:
hmm, for me it doesn't seem to render the sprites at all?
You need a project with more than 1 sprite, it prints all but one.
I'd like to see this actually happen...
Opps, it got fixed, sorry about that.
Offline
gzip, maybe?
Offline
Sure. Wanna join the Play Puppy team? (look at my sig)
Offline
TRocket wrote:
has anyone managed to compile for windows yet?
I'm currently trying to on windows 2000...
2000 . .. .... ........ ................ ................................ ................................................................ ................................................................................................................................ ................................................................................................................................................................................................................................................................
Offline
MathWizz wrote:
TRocket wrote:
has anyone managed to compile for windows yet?
I'm currently trying to on windows 2000...Code:
2000 . .. .... ........ ................ ................................ ................................................................ ................................................................................................................................ ................................................................................................................................................................................................................................................................
NT 5.0 FTW
Just realised win2000 is actually older than me
Offline
TRocket wrote:
MathWizz wrote:
TRocket wrote:
has anyone managed to compile for windows yet?
I'm currently trying to on windows 2000...Code:
2000 . .. .... ........ ................ ................................ ................................................................ ................................................................................................................................ ................................................................................................................................................................................................................................................................NT 5.0 FTW
Just realised win2000 is actually older than me
Lol, that means your under 12(I'm 12).
Where did you get the cairo stuff for windows?
Last edited by pwiter (2012-10-12 18:00:15)
Offline
pwiter wrote:
TRocket wrote:
MathWizz wrote:
Code:
2000 . .. .... ........ ................ ................................ ................................................................ ................................................................................................................................ ................................................................................................................................................................................................................................................................NT 5.0 FTW
Just realised win2000 is actually older than meLol, that means your under 12(I'm 12).
Where did you get the cairo stuff for windows?
Yep, I'm 12
I got the stuff from here
Offline
TRocket wrote:
pwiter wrote:
TRocket wrote:
NT 5.0 FTW
Just realised win2000 is actually older than meLol, that means your under 12(I'm 12).
Where did you get the cairo stuff for windows?Yep, I'm 12
I got the stuff from here
Thx.
Offline
TRocket wrote:
I've managed to build for windows!
Screenshot:
http://i.imgur.com/K8rL8.png
As you can see from the picture I was using a windows 2000 VM I will upload the files soon!
EDIT: download here
Hmm, you seen to be missing some dlls.
Offline
pwiter wrote:
TRocket wrote:
I've managed to build for windows!
Screenshot:
http://i.imgur.com/K8rL8.png
As you can see from the picture I was using a windows 2000 VM I will upload the files soon!
EDIT: download hereHmm, you seen to be missing some dlls.
which ones?
Offline
TRocket wrote:
pwiter wrote:
TRocket wrote:
I've managed to build for windows!
Screenshot:
http://i.imgur.com/K8rL8.png
As you can see from the picture I was using a windows 2000 VM I will upload the files soon!
EDIT: download hereHmm, you seen to be missing some dlls.
which ones?
libfontconfig-1.dll, xmlparse.dll, and xmltok.dll.
Not sure if my system is missing them or what because I can't find them in the cairo and SDL files.
Last edited by pwiter (2012-10-13 10:29:00)
Offline