Building with Borland Turbo C++

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Quibbler
Posts: 25
Joined: Tue Feb 14, 2006 5:34 pm

Post by Quibbler »

I just built latest SDK version 1.3.1 with Borland Turbo C++ 2006 and updated my step-by-step guide above.

It seems only one file needs to be modified now.

Thank you all developers for the better Borland-support! :wink:
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Which one is it?
Quibbler
Posts: 25
Joined: Tue Feb 14, 2006 5:34 pm

Post by Quibbler »

Actually, there are 3 files that needs to be modified.

In irrlicht.cpp the compiler says missing function definition on this line:

_CrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF | _CRTDBG_ALLOC_MEM_DF);

So, I added !defined(__BORLANDC__) to the line above this one.

In pngerror.c and pngtrans.c the compiler complains about const qualifier already specified, so I just removed the first const keyword.

For more details, see my updated step-to-step guide above (page 1).
Tempest
Posts: 9
Joined: Fri Jan 11, 2008 11:26 pm

Post by Tempest »

I've been using BCB 6 and GLScene, but I've recently switched to BCB 2007 and can't get GLScene to work with it.
So I checked if any of the "major" free 3D engines supported BCB and found this thread.
I know it's months old now, but I hope that Quibbler is still around. :)

I am using Irrlicht 1.4 and (as mentioned before) BCB 2007, for both of which, as I'm aware, the manual hasn't really been written...
Still, building the DLL (without DX for starters) worked - with 300+ warnings, but it worked. :P

However, trying the HelloWorld app with it gives me an access violation on the line where the text is added (guienv->addStaticText).

Can anyone give me a hint of what might be going wrong? Has anyone tested the Irrlicht 1.4/BCB 2007 combo before? Should I maybe try Irrlicht 1.3 instead?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Did you add the floating point configuration from the first post?
Tempest
Posts: 9
Joined: Fri Jan 11, 2008 11:26 pm

Post by Tempest »

Yup.

/Edit: Please ignore me, it was just me being stupid. Works like a charm now. :)
Thanks again to Quibbler for the nice manual!
Efrint
Posts: 18
Joined: Sat Dec 10, 2005 6:04 pm

Post by Efrint »

Hello,

no matter what I do I also get the linker fatal error just like Borath. I tried to place my files at a path without "+" or "-". I placed them at a path without any " ". Nothing works.

Can someone of you who could compile irrlicht in borland please upload the dll / lib?
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

Yes, What BCC version do you use? Maybe for Borland Turbo C++ 2006?
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Efrint
Posts: 18
Joined: Sat Dec 10, 2005 6:04 pm

Post by Efrint »

I'm using Turbo C++ 2006.
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

Hi Efrint,
I compiled Irrlicht 1.4 with Turbo C++ 2006. Because currently I use modified version for my project I compiled it again from Irr 1.4 sources.
There are dll, lib and only these cpp and header files that you must replace.
Download from here:
http://etcaptor.freeweb7.com/VisualEdit ... DS2006.rar

Post me if I omitted something.
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Efrint
Posts: 18
Joined: Sat Dec 10, 2005 6:04 pm

Post by Efrint »

Thank you!
Post Reply