bcb6 (borland) and irrlicht v1.0

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
HLFat
Posts: 71
Joined: Sun Sep 24, 2006 6:55 pm
Location: USA

Post by HLFat »

All the examples seem to work,but I did have a problem with the Burning Software Renderer giving a 'pow: DOMAIN error'.

The fix for that is to add Et Captor's bcbmath.h for CSoftwareDriver2.cpp:

Code: Select all

#include <math.h>

#if defined(__BORLANDC__) || defined(__BCPLUSPLUS__)

int _RTLENTRY _EXPFUNC _matherr(struct _exception* e)

{

                e->retval=1.0;

                return 1;

}

#endif
At one time it was necessary to add this to all of the drivers.
darseq
Posts: 6
Joined: Mon May 08, 2006 12:10 am

patch for irrlicht-1.3

Post by darseq »

Hi all, I prepared a bcb6 patch for irrlicht release 1.3.
The directory structure of the patch is the same as the
irrlicht-1.3 folder so to apply the patch, just overwrite
the files. The patch also contains the 'demo' project
files for use with bcb6. I only tested the demo project.
It runs fine no matter what rendering method (though
speed and quality greatly differ of course).

download here:
http://www.xs4all.nl/~sbmpost/Irr130BCB6.zip
darseq
Posts: 6
Joined: Mon May 08, 2006 12:10 am

bcb6 and v1.4

Post by darseq »

It seems that an attempt was made to incorporate borland compatibility
into the irrlicht v1.4 engine. However Irrlicht still needs some patching
to make it work with bcb6. I prepared the file:

http://www.xs4all.nl/~sbmpost/Irr140BCB6.zip

To apply this patch just copy (and possibly overwrite) to the Irrlicht directory
structure. This patch also contains all necessary directx files.
(dlls/includes). After applying the patch you should be able to compile
irrlicht.dll right away without additional requirements (use the project
file irrlicht.bpr). The same goes for the examples/demo.bpr file.
Katsumi
Posts: 10
Joined: Fri Feb 27, 2009 9:26 am

Post by Katsumi »

Hello darseq.

I need Irrlicht 1.5 for RAD 2009 (C++Builder 2009).

Have you a tutorial-page to create this dlls and libs for borland/codegear?
Its possible to compiling irrlicht as LIB (~1MB) for include in project and don't need dlls?

EDIT: solved
rabehehbahreini
Posts: 11
Joined: Sat Mar 14, 2009 3:40 pm

Post by rabehehbahreini »

Katsumi : if you find the solution, is this possible to give me the tutorial?
Post Reply