C++Builder with Irrlicht

A forum to store posts deemed exceptionally wise and useful
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

Thanks, I will send mail to Niko.
I found the reason for "sqrt: domain expection error". This is my mistake. Issue is using of file bcbmath.h, but because BCB stores in bpr files all libs of installed packages, I deleted with text editor most of them, also rti, and bcbmath.h has no effect. So, this night will upload files again to avoid this error.
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Myth
Posts: 81
Joined: Wed Apr 13, 2005 5:48 pm

Post by Myth »

Ok cool. The currrent download gives an error: server not found
JOIN MY (100mbs 2x 3GHZ CPU) IRRLICHT FORUMS
http://irrlicht.halo4you.com/forums/
For all your programming quesitons and irrlicht ones!.

My fan site: http://www.halo-center.com
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

Yes I suggest. Server was down two days ago, but my old hosting works again :shock:
So, check this link:

http://etcaptor.f2g.net/irrlicht/Irr012BCB6.zip
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

Have someone a problems with this translation?
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Myth
Posts: 81
Joined: Wed Apr 13, 2005 5:48 pm

Post by Myth »

Yes, sqrt domain error. Maybe im doing something wrong?
The rest works.

- Myth
JOIN MY (100mbs 2x 3GHZ CPU) IRRLICHT FORUMS
http://irrlicht.halo4you.com/forums/
For all your programming quesitons and irrlicht ones!.

My fan site: http://www.halo-center.com
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

Hi Myth,
Can you try creating of new bcb project with VC importing tool! Only .bpr file will be recreated. And please post me after that wheter this error occurs again.I want to find the reason.
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Myth
Posts: 81
Joined: Wed Apr 13, 2005 5:48 pm

Post by Myth »

It works good without errors with your precompiled dll & lib.
JOIN MY (100mbs 2x 3GHZ CPU) IRRLICHT FORUMS
http://irrlicht.halo4you.com/forums/
For all your programming quesitons and irrlicht ones!.

My fan site: http://www.halo-center.com
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

Thanks, I wonder whether inform Niko. If he wants to add BCB support to Irrlicht
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Guest

Post by Guest »

Hi,

i have tryed your port but i always getting a access violation. I have tryed to fix it by myself, but faild all the time.

I only want a small preview window in which i can see the material on a box for our material editor.

Greets
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

I suppose that you trying to create device with driverType = EDT_DIRECTX9, right? This port does not support DX9, but only EDT_OPENGL, and EDT_DIRECTX8.

Post me if this resolve the problem.
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Guest

Post by Guest »

No that wasnt the Problem. I have used OpenGL. It looks like that i got some problems with the lib files.

I have now solved the problem with testing every possible way ;)

I have implib the borland compiled irrlicht.dll and then used this created lib insted of any other. now it works.
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

OK, nice.
Also it's possible to get DX9 with BCB. I've got it an soon wull upload an new port with short description here.
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
rabehehbahreini
Posts: 11
Joined: Sat Mar 14, 2009 3:40 pm

Post by rabehehbahreini »

your zip file is damaged. How can I receive the right one?
did you just change the default parameters of "create Device" function to
make it work successfully?
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

Hi, this topic is several years old. :D
The last Irrlicht version that I tried with CBuilder was 1.4.
Because currently I'm busy with several projects not related with 3d scope can't advice you about compiling of latest Irrlicht version with RAD Studio. J
Yet, I found one Irr.1.4 with BDS2006. modified sources on my hdd. If you think that these files will be useful for you, please PM me your e-mail.
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
rabehehbahreini
Posts: 11
Joined: Sat Mar 14, 2009 3:40 pm

Post by rabehehbahreini »

In fact my problem is that I receive this error while compiling irrlicht examples by C++ builder 6/2006 :
[Linker Error] Unresolved external 'irr::createDevice(irr::video::E_DRIVER_TYPE, const irr::core::dimension2d<int>&, unsigned int, bool, bool, bool, irr::IEventReceiver *, const char *)' referenced from F:\VISUALIZER\IRRLICHT-1.4\EXAMPLES\01.HELLOWORLD\MAIN.OBJ

I tried to convert VC irrlicht.lib file to builder compatible one.
but I don't know the right format of .Def file .


How do you complile it with BCB?
Post Reply