I would like to compile Irrlicht into a DLL file

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
bob

I would like to compile Irrlicht into a DLL file

Post by bob »

Ok, I think I might be able to get C++ Builder to work with irrlicht if I compile it into a DLL file. How would I do this? Do I compile each file one at a time?
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

Irrlicht is already compiled into a DLL...

what are you smoking dude? care to share? :P


No but seriously there is a DLL in the appropriete "bin" folder contained with Irrlicht...

but you are talking about for c++ build yes true well I wouldn't know honestly but it should work like this...

all the main source files should be the project itself.. it should be compiled as a DLL of course in the project settings of the compiler. the extra folders in the main source file should be included in the project as well.

I'm pretty sure thats how it works although I've never done it myself there are tutorials in the howto section of the forum for other compilers should be easy enough to figuare out by there example I would think.
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

Simple answer,

Unzip the source files.
There are 2 different compiler files in the folder.
Open the appropriate one in your compiler.
Include the source folder, the folders inside it, plus the irrlicht includes and lib files.
Compile.

I've compiled Irrlicht with dev-cpp and vc1003+codeblocks
Dev-cpp=no directX
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
en972
Posts: 27
Joined: Tue Apr 26, 2005 7:58 pm

Post by en972 »

Thanks I'll give it a go
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

hehehehe......that midnight!

I think Niko tried it once...not sure if he succeeded. :wink:
en972
Posts: 27
Joined: Tue Apr 26, 2005 7:58 pm

Post by en972 »

Even niko couldn't do it?

I'm doomed
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

en972 wrote:Even niko couldn't do it?

I'm doomed
No you aren't. I've done it with 2 different compilers. It can be done. Plus, Niko has to be able to compile the dll or there wouldn't be one in the bin folder. :roll:
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
darkraven
Posts: 29
Joined: Sat Mar 06, 2004 5:54 am
Location: Florida
Contact:

Post by darkraven »

Though I think he is trying to get it to work with "c++ Builder" which the only place I've seen any possible success at it was http://irrlicht.sourceforge.net/phpBB2/ ... php?t=2805. But not sure if it still works. Don't have c++ Builder to mess with it. And again I could be wrong about what he's talking about or miss read. I do that sometimes.
Guest

Post by Guest »

When I said I want to compile Irrlicht in a DLL file, what I meant was I want to be able to mcompile it with C++ Builder. Because if I can get the DLL file compiled with borland, that would be all I need right?
en972
Posts: 27
Joined: Tue Apr 26, 2005 7:58 pm

Post by en972 »

Wasn't logged in :D
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

I think there is only one person here who has been able to compile the dll with boreland. Do a search of the forum and you'll find it.
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

etcaptor is da man! ...shall you seek for him.
Post Reply