bcb6 (borland) and irrlicht v1.0
bcb6 (borland) and irrlicht v1.0
Hi all. After looking at etcaptor's modifications for bcb6 I created
the archive Irr100BCB6 to support v1.0 of the irrlicht engine. You
can find it at: http://www.xs4all.nl/~sbmpost/Irr100BCB6.zip
If you want to compile the dll files yourself, copy all files into the source
directory (after you have unzipped source.zip). You should then be able
to compile right away. Note that there are two directories called dx8 and
dx9 which contain the required directx files. Also have a look at the
readme.txt file. (I succesfully tested EDT_DIRECT3D9 and EDT_OPENGL)
Credits go to etcaptor for such a great fix!
the archive Irr100BCB6 to support v1.0 of the irrlicht engine. You
can find it at: http://www.xs4all.nl/~sbmpost/Irr100BCB6.zip
If you want to compile the dll files yourself, copy all files into the source
directory (after you have unzipped source.zip). You should then be able
to compile right away. Note that there are two directories called dx8 and
dx9 which contain the required directx files. Also have a look at the
readme.txt file. (I succesfully tested EDT_DIRECT3D9 and EDT_OPENGL)
Credits go to etcaptor for such a great fix!
Nice, in this case you save me from uploading with my slow internet connection.
Yet, if there are any interset I was uploaded 0.14BCB6 port:
http://tret.net/irrlicht/IrrlichtBCB60.14.rar
and CollisionExample:
http://www.tret.net/irrlicht/BCBCollisionExample.rar
Yet, if there are any interset I was uploaded 0.14BCB6 port:
http://tret.net/irrlicht/IrrlichtBCB60.14.rar
and CollisionExample:
http://www.tret.net/irrlicht/BCBCollisionExample.rar
Cewl!, I reviewed your 0.14 modifcations and compared them
with your earlier modifications. It seems you have changed the
textureName = '/0' modification to textureName = "". I have
updated the Irr100BCB6.zip archive to reflect this change. Also
note that I have included your inline asm fix (irrTypes.h). I think
you forgot to include it in IrrlichtBCB60.14.rar. I fixed the default
argument list thing like this:
typedef core::dimension2d<s32> dim_type; // by darseq, bcb compat
IRRLICHT_API IrrlichtDevice* IRRCALLCONV createDevice(
video::E_DRIVER_TYPE deviceType = video::EDT_SOFTWARE,
const dim_type& windowSize = dim_type(640,480),............
I also did: #define min(a,b) (((a) < (b)) ? (a) : (b)) // by darseq
instead of including algorithm.h (CD3D8Driver.h/CD3D9Driver.h)
Actually I don't know what is best. Finally I made sure that all
modifications are either marked by // etcator or // darseq.
with your earlier modifications. It seems you have changed the
textureName = '/0' modification to textureName = "". I have
updated the Irr100BCB6.zip archive to reflect this change. Also
note that I have included your inline asm fix (irrTypes.h). I think
you forgot to include it in IrrlichtBCB60.14.rar. I fixed the default
argument list thing like this:
typedef core::dimension2d<s32> dim_type; // by darseq, bcb compat
IRRLICHT_API IrrlichtDevice* IRRCALLCONV createDevice(
video::E_DRIVER_TYPE deviceType = video::EDT_SOFTWARE,
const dim_type& windowSize = dim_type(640,480),............
I also did: #define min(a,b) (((a) < (b)) ? (a) : (b)) // by darseq
instead of including algorithm.h (CD3D8Driver.h/CD3D9Driver.h)
Actually I don't know what is best. Finally I made sure that all
modifications are either marked by // etcator or // darseq.
Congrats,
now Borland port will be better!
By the way I was tested Irrlicht 0.14 with C++Builder 2006, and found that it's works. Only some additional changes are necessary.
Seems we both are a C++Builder fans
Have you tested Irrlicht examples with #include<iostream.h> in console mode? I've got compile error in this case, sorry I'm not at home right now and can't give detail description /something like stlport error in not multytier mode/
now Borland port will be better!
By the way I was tested Irrlicht 0.14 with C++Builder 2006, and found that it's works. Only some additional changes are necessary.
Seems we both are a C++Builder fans
Have you tested Irrlicht examples with #include<iostream.h> in console mode? I've got compile error in this case, sorry I'm not at home right now and can't give detail description /something like stlport error in not multytier mode/
I can compile helloworld without problems. I have uploaded the file:
http://www.xs4all.nl/~sbmpost/hworld.zip. It includes iostream and
writes a test string to the console. I think it has something to do with
the visual c import tool. I manually created the .bpr file with the
console wizard (FILE | NEW | OTHER | CONSOLE WIZARD) and
enabled multithreading.
http://www.xs4all.nl/~sbmpost/hworld.zip. It includes iostream and
writes a test string to the console. I think it has something to do with
the visual c import tool. I manually created the .bpr file with the
console wizard (FILE | NEW | OTHER | CONSOLE WIZARD) and
enabled multithreading.
-
- Posts: 3
- Joined: Wed Jun 21, 2006 7:59 pm
- Location: Curitiba, Brazil
sorry for noob question, but you say in readme file to insert this code before CreateDevice:
#include <float.h>
_control87((_control87(0, 0) | ~0011), MCW_EM);
but then I get some erros like:
declaration syntax error on line 24 (namespace std {)
and declaration syntax error on line 191 both on float.h
Without these 2 lines, hello world works fine in D3D8, D3D9 and OPENGL but fails with SOFTWARE and SOFTWARE2 returning "Floating point division by zero".
Any help?
#include <float.h>
_control87((_control87(0, 0) | ~0011), MCW_EM);
but then I get some erros like:
declaration syntax error on line 24 (namespace std {)
and declaration syntax error on line 191 both on float.h
Without these 2 lines, hello world works fine in D3D8, D3D9 and OPENGL but fails with SOFTWARE and SOFTWARE2 returning "Floating point division by zero".
Any help?
Try this:
Code: Select all
#if defined(__BORLANDC__) || defined(__BCPLUSPLUS__)
_control87(MCW_EM,MCW_EM);//float.h
#endif
Hi all. I maked port to C++ Builder 6 for Irrlicht SDK v1.1.
I solve many problems, and tested some examples:
HelloWorld - OK
Quake3Map - OK
CustomSceneNode - Error
Demo - OK
Current errors - floating point operations (in ex. divide). I am fixing errors then its shows.
Main: if someone need this port or/and want to help to fix errors, please reply, and I post the arhive.
P.S. My english is bad... sorry
I solve many problems, and tested some examples:
HelloWorld - OK
Quake3Map - OK
CustomSceneNode - Error
Demo - OK
Current errors - floating point operations (in ex. divide). I am fixing errors then its shows.
Main: if someone need this port or/and want to help to fix errors, please reply, and I post the arhive.
P.S. My english is bad... sorry
I did the port for Borland Turbo Explorer C++, which is the free version of Builder.
I just used the information Darseq and Etcaptor supplied.
Borland Turbo Explorer with Irrlicht 1.1.
Borland Turbo Explorer with Irrlicht 1.2.
I just used the information Darseq and Etcaptor supplied.
Borland Turbo Explorer with Irrlicht 1.1.
Borland Turbo Explorer with Irrlicht 1.2.