Those were single builds. But yeah, I also see the crash. I examined more and found out that Newton together with GCC -O3 optimization doesn't get well along.. So I lowered optimization flags a bit, and now everything works. At least what I've tested - tutorial samples provided with Newton.
Try these dll's. First the normal one, and if it doesn't work so well, then try one in alternative directory: http://www.box.net/shared/h4qvhiefix
Guys here is a previews of the new feacture comming in line now
This is all checked in, in the latest SVN, I still have a few problems here and there but nothing really big and I think I can have it prefected some time this weekend.
Julio, what switches did you used to compile Newton with GCC on Widnows? I'm trying to build drop-in replacement for VS build using latest MinGW, but without much luck.
Delfi wrote:i get exact same issue with these two dlls, i can send you test build of the game so you can experiment if you need to debug it.
That's really strange. I tested this dll + Newton tutorial demos on three different PC's (Phenom II, Core i3, Core i5), and it was working fine. On what CPU are you running it? If you can, you can send your test build, but I have strong feeling it will run fine on my PC
I hate GDB, but it looks like I will need to use this (in)famous tool.
I had problems with SSE code on GCC, so I forced single precision, after replacing newton build made by VS to one made by GCC I got nice fresh crash. That may be due to run-time libraries. OK. I need to compile everything is GCC, then I will be able to debug.
I will come back to this problem in my spare time.
Delfi wrote:i get exact same issue with these two dlls, i can send you test build of the game so you can experiment if you need to debug it.
That's really strange. I tested this dll + Newton tutorial demos on three different PC's (Phenom II, Core i3, Core i5), and it was working fine. On what CPU are you running it? If you can, you can send your test build, but I have strong feeling it will run fine on my PC
It would crash in newtonsetworldsize. i was running it on a core 2 quad q8400 x4 cores or something like that (i don't know exact model).
How can you call it before NewtonCreate? Those two functions require NewtonWorld pointer as first argument. If you don't create NewtonWorld, what are you passing to them?