[fixed]getCollisionPoint() has gaps at large distances

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.

Re: getCollisionPoint() has gaps at large distances

Postby dixx » Thu Jun 14, 2012 6:40 pm

Great, thank you! Unfortunately I have to sort out some private things first but will try this within the next two days (hopefully).
dixx
 
Posts: 13
Joined: Sat Sep 03, 2011 5:04 pm
Location: Leipzig, Germany

Re: getCollisionPoint() has gaps at large distances

Postby dixx » Sat Jun 16, 2012 1:02 pm

CuteAlien, sorry to bother you again. I did as you mentioned, using TortoiseSVN. But I am not able to compile Irrlicht out of the box. Using GNU Make 3.80 under WinXP command line, I get the following error:
cpp Code: Select all
 
cc -I../../include -Izlib -Ijpeglib -Ilibpng -DIRRLICHT_EXPORTS=1 -MM -MF bzip2/bzlib.d bzip2/bzlib.c
process_begin: CreateProcess((null), cc -I../../include -Izlib -Ijpeglib -Ilibpng -DIRRLICHT_EXPORTS=1 -MM -MF bzip2/bzlib.d bzip2/bzlib.c, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
make: *** [bzip2/bzlib.d] Error 2
 

Did I miss something? btw, this is my first attempt to compile something with make under Windows
dixx
 
Posts: 13
Joined: Sat Sep 03, 2011 5:04 pm
Location: Leipzig, Germany

Re: getCollisionPoint() has gaps at large distances

Postby CuteAlien » Sat Jun 16, 2012 2:18 pm

Maybe easiest solution is to install either Code::Blocks or VisualStudio Express. We have projects files for both in there, so you can just select the target and click on compile.
IRC: #irrlicht on irc.freenode.net
My patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Games with Irrlicht: http://www.irrgheist.com/
News: http://www.reddit.com/r/irrlicht/
User avatar
CuteAlien
Admin
 
Posts: 5359
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: getCollisionPoint() has gaps at large distances

Postby dixx » Sat Jun 16, 2012 2:20 pm

Okay, saw this just a few minutes ago :) VS2k8 did the job.
dixx
 
Posts: 13
Joined: Sat Sep 03, 2011 5:04 pm
Location: Leipzig, Germany

Re: getCollisionPoint() has gaps at large distances

Postby dixx » Sat Jun 16, 2012 3:11 pm

Hmm... compiled, all test project paths changed to this version, new dll copied over, now I get a "Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call..." message. When I try to debug the tester, I get a lot of "warning: HEAP[getCollisionPointWithScalesMesh_Test.exe]:
Invalid Address specified to RtlFreeHeap( 00030000, 0023F71C )" with different addresses. App crashes with <terminated, exit value: -1073741819>getCollisionPointWithScalesMesh_Test.exe.
... you say it works fine on your side, that's good enough for me ;)
dixx
 
Posts: 13
Joined: Sat Sep 03, 2011 5:04 pm
Location: Leipzig, Germany

Re: getCollisionPoint() has gaps at large distances

Postby CuteAlien » Sat Jun 16, 2012 4:21 pm

That looks like a version conflict. Maybe you have still the header-include path set to your previous headers? Or the wrong dll is found (that would give a console warning).
IRC: #irrlicht on irc.freenode.net
My patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Games with Irrlicht: http://www.irrgheist.com/
News: http://www.reddit.com/r/irrlicht/
User avatar
CuteAlien
Admin
 
Posts: 5359
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: getCollisionPoint() has gaps at large distances

Postby dixx » Mon Jun 18, 2012 5:53 pm

Seems that I only have trouble using the DLL from \bin\Win32-VisualStudio, the one from 1.7.2\bin\Win32-gcc runs without problems. Is there a way to compile this one with VS2008Express?
dixx
 
Posts: 13
Joined: Sat Sep 03, 2011 5:04 pm
Location: Leipzig, Germany

Re: getCollisionPoint() has gaps at large distances

Postby CuteAlien » Mon Jun 18, 2012 6:24 pm

Your project is in VS? Then you shouldn't use the one from bin\Win32-gcc (it's the same - just compiled with gcc).
But it sounds like you might link to the wrong library. Check your linker path.
IRC: #irrlicht on irc.freenode.net
My patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Games with Irrlicht: http://www.irrgheist.com/
News: http://www.reddit.com/r/irrlicht/
User avatar
CuteAlien
Admin
 
Posts: 5359
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: getCollisionPoint() has gaps at large distances

Postby dixx » Mon Jun 18, 2012 6:35 pm

I apologize for not being clear. My project is under Eclipse (with MinGW/GCC), so I used the bin\Win32-gcc DLL. I learned from the forum that it seems this DLL could only be compiled from the Irrlicht sources using CodeBlocks, is that correct?
dixx
 
Posts: 13
Joined: Sat Sep 03, 2011 5:04 pm
Location: Leipzig, Germany

Re: getCollisionPoint() has gaps at large distances

Postby CuteAlien » Mon Jun 18, 2012 7:04 pm

Hm, Makefile should also work, but I must admit I didn't try for a while and I think zlib just got updated last week. Maybe that build got broken - I have to test.
IRC: #irrlicht on irc.freenode.net
My patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Games with Irrlicht: http://www.irrgheist.com/
News: http://www.reddit.com/r/irrlicht/
User avatar
CuteAlien
Admin
 
Posts: 5359
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: getCollisionPoint() has gaps at large distances

Postby dixx » Mon Jun 18, 2012 7:20 pm

Cool, thanks! Meanwhile I'll install CodeBlocks and try with it.
dixx
 
Posts: 13
Joined: Sat Sep 03, 2011 5:04 pm
Location: Leipzig, Germany

Re: getCollisionPoint() has gaps at large distances

Postby CuteAlien » Mon Jun 18, 2012 7:39 pm

Ok, I just tried with MinGW (without CodeBlocks). The trick to get the dll build was, in the Makefile:
Replace: -DIRR_COMPILE_WITH_DX9_DEV_PACK with -DNO_IRR_COMPILE_WITH_DIRECT3D_9_ (or set paths to use directx headers - I didn't figure that out for now).
Remove: -Wl,--no-export-all-symbols (not known in gcc mingw it seems)

After that call:
make win32
IRC: #irrlicht on irc.freenode.net
My patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Games with Irrlicht: http://www.irrgheist.com/
News: http://www.reddit.com/r/irrlicht/
User avatar
CuteAlien
Admin
 
Posts: 5359
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: getCollisionPoint() has gaps at large distances

Postby dixx » Mon Jun 18, 2012 7:49 pm

Hm, that did'nt do the trick on my side, Make still has problems with the .d files. However, the CodeBlocks thing worked, I have retested with my app and did not find any gap within 10min of constant running on edges :) So you can close this thread as SOLVED
Many many thanks!
dixx
 
Posts: 13
Joined: Sat Sep 03, 2011 5:04 pm
Location: Leipzig, Germany

Previous

Return to Bug reports

Who is online

Users browsing this forum: No registered users and 1 guest