Page 2 of 2

Re: Problem with equalsByUlp since Irrlicht 1.8

Posted: Mon Nov 19, 2012 8:57 pm
by Memorial76
Allright, I'll try to make a small example project using it. Thanks

Re: Problem with equalsByUlp since Irrlicht 1.8

Posted: Wed Dec 05, 2012 1:48 pm
by Memorial76
It's done, sorry for the delay.

It's available here
I've written a small example project and packed it in .7z.
All files are commented so that it should be quite understandable.

Please do not hesitate to correct, suggest or feedback

Thank you all for your interest.

Re: Problem with equalsByUlp since Irrlicht 1.8

Posted: Wed Dec 05, 2012 2:48 pm
by CuteAlien
*sigh* I don't care about the files and comments. I only care about any example to reproduce this problem which compiles!!!
And now you have created a complex project with a .sln file... which depends on the other files which you removed by now and some IrrGerap.vcxproj which never existed (or which you at least never checked in).

reproducible... I just need a _complete_ project to have that bug ... now I have again something which I can't use.

Please before this continues ad infinitum... do test it next time in a new folder - not the one you use on your harddisk. So such problems are found before I download for the 4th time to find an example which I can't use to reproduce the compile errror.

I still appreciate you try ... but... oh well ... I'm sure next try it'll work :-)

Re: Problem with equalsByUlp since Irrlicht 1.8

Posted: Thu Dec 06, 2012 9:42 am
by Memorial76
Ok, sorry for that, I just forgot to add the Irrgerap project itself. Irrgerap compiles as a library used by the IrrgerapDemo project.
Now I've uploaded both in one .7z file.
I tried to compile in a different folder and it worked. Then I restored the equalsByUlp function in maths.h and I got the problem.

I hope this time it's allright...

Re: Problem with equalsByUlp since Irrlicht 1.8

Posted: Thu Dec 06, 2012 1:47 pm
by CuteAlien
Thanks, this time it works. The problem is that you compile for clr (managed code) which is something we've never tested and works a little different to normal c++.

I'm currently trying to figure out if I can change that in 1.8 without breaking binary compatibility or if this can only be fixed in 1.9 (I think it's possible, but I'm always a little uncertain about that stuff).

Re: Problem with equalsByUlp since Irrlicht 1.8

Posted: Thu Dec 06, 2012 2:33 pm
by CuteAlien
Fixed in revision 4393 for Irrlicht 1.8, so it will be in Irrlicht 1.8.1.

Re: Problem with equalsByUlp since Irrlicht 1.8

Posted: Thu Dec 06, 2012 3:18 pm
by Memorial76
Wow! what a fast answer and solution! Thanks!

Well, i'm not quite sure to know the difference between clr and normal c++. I'm almost noob in programming and learn all by myslef you know... but thanks anyway

Re: Problem with equalsByUlp since Irrlicht 1.8

Posted: Thu Dec 06, 2012 4:01 pm
by CuteAlien
When you compile with clr you create code for the virtual machine of the .NET framework. When you just make desktop applications you don't need that. But it's certainly nicer for Irrlicht to support that as well as long as it doesn't cause trouble.

Re: Problem with equalsByUlp since Irrlicht 1.8

Posted: Thu Dec 06, 2012 8:08 pm
by Memorial76
Allright, thanks a lot

Re: Problem with equalsByUlp since Irrlicht 1.8

Posted: Sat Sep 07, 2013 4:49 am
by LesPaul75
CuteAlien wrote:Fixed in revision 4393 for Irrlicht 1.8, so it will be in Irrlicht 1.8.1.
I'm having the "equalsByUlp" problem with the version that I just downloaded tonight. I assume that means that what I just downloaded is still 1.8 (as opposed to 1.8.1 with this fix)... but this thread is nearly a year old, so I guess I assumed 1.8.1 was old news.

If it matters, I'm using a very old build environment (VS2005). Seems like the problem is related to that, since Memorial76 was also building an old project.

I do not have "Float_t" redefined in my code and I never use the "equalsByUlp" method. There was no link error in 1.7. I guess I will just go with removing "equalsByUlp" for now.

Re: Problem with equalsByUlp since Irrlicht 1.8

Posted: Sun Sep 08, 2013 1:00 pm
by CuteAlien
1.8.1 is not yet released. We should probably have pushed out a new version by now, but a) I found no weekend for that until now and b) there's still some problems in there which I would have preferred to have fixed first.

But you can alawys download the svn version and compile it yourself (really easy, don't be scared of that) or use a nightly build.