Codeblocks and Irrlicht install problem

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.
Mallot1
Posts: 13
Joined: Tue Sep 11, 2012 9:46 pm

Re: Codeblocks and Irrlicht install problem

Post by Mallot1 »

So once the bode and stuff is in the program, then build the program and delete lrrlicht.dll? then take the exe file and put it directly in the lib win-gcc folder and dll folder that came with irrlcht? the program wont output an executable file.
Cube_
Posts: 1010
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: Codeblocks and Irrlicht install problem

Post by Cube_ »

You clearly don't know how to program.

Let's break this down!
So once the bode and stuff is in the program
what? the body of the program?
then build the program and delete lrrlicht.dll?
Building the program, so far so good.
Deleting Irrlicht.dll, what is wrong with you? It is a shared library and it is necessary for Irrlicht to work.
I assume you want a static library, recompile Irrlicht as a static library (the project files are in the src directory)
then take the exe file and put it directly in the lib win-gcc folder and dll folder that came with irrlcht? the program wont output an executable file.
Duh, you deleted the shared library which is necessary for the software to run >.<
"this is not the bottleneck you are looking for"
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Codeblocks and Irrlicht install problem

Post by CuteAlien »

@aaammmsterdddam: Come on - I just told him how to rebuild the dll and that he should delete the old one - that's why he asked. And linking static needs more to work correct (you also have to set correct defines) and is not necessary.

@mallot: No, what I say is that you have to rebuild the dll before starting to code.
Your problem is: The dll which comes with Irrlicht was compiled with another MinGW version than the one you are using. And that version is not compatible with your MinGW. Which is why you first have to build a new dll. After that you can work normally, for example with the project files coming with Irrlicht. I only told you to delete the old .dll first to ensure you really have a new one afterwards. To build that Irrlicht dll just use the .cbp project file in source/Irrlicht. Use the build-target Win32 - release accurate dll. Once you have a new dll you can rebuild all the examples (again with the project files coming with Irrlicht) and then they should start without error.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Cube_
Posts: 1010
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: Codeblocks and Irrlicht install problem

Post by Cube_ »

@CuteAlien, well my reply is based on what he said he did, he said he deleted the dll and replaced it with the exe of his program, I thought common sense would say why this is wrong and thus my reply is warranted, at least in my opinion.

I will force myself to be a bit more polite from now on though ;)
"this is not the bottleneck you are looking for"
Mallot1
Posts: 13
Joined: Tue Sep 11, 2012 9:46 pm

Re: Codeblocks and Irrlicht install problem

Post by Mallot1 »

could you make a video,on this? im having trouble following.
Cube_
Posts: 1010
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: Codeblocks and Irrlicht install problem

Post by Cube_ »

Mallot1 wrote:could you make a video,on this? im having trouble following.
I would, alas I am running linux (the process would be too different for it to matter much)

Simple step list
delete old dll
open irrlicht project
compile new dll
include the new lib instead of the old one
????
success
"this is not the bottleneck you are looking for"
Mallot1
Posts: 13
Joined: Tue Sep 11, 2012 9:46 pm

Re: Codeblocks and Irrlicht install problem

Post by Mallot1 »

Im sorry guys i didnt read your post on this page because i just found out there's a second page.

@aammmsterddam i do know how to program, just having difficulties with Irrlicht. And thank you for being more polite :) i was also asking CuteAlien to see if i understood what he was posting

@CuteAlien OK i will try my best.
Cube_
Posts: 1010
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: Codeblocks and Irrlicht install problem

Post by Cube_ »

Mallot1 wrote:Im sorry guys i didnt read your post on this page because i just found out there's a second page.

@aammmsterddam i do know how to program, just having difficulties with Irrlicht. And thank you for being more polite :) i was also asking CuteAlien to see if i understood what he was posting

@CuteAlien OK i will try my best.

hehe... I myself didn't quite realize that I was on page 2 (I subconsciously pick the last page and assume the first post on that page is the first post meaning I assumed you had just gone insane).

For windows development I can't help you, I haven't done it since 2008 :P (linux <3)
"this is not the bottleneck you are looking for"
Mallot1
Posts: 13
Joined: Tue Sep 11, 2012 9:46 pm

Re: Codeblocks and Irrlicht install problem

Post by Mallot1 »

oh, its cool @aammmsterdddam thanks for your help anyway :D :D
Oster200
Posts: 60
Joined: Sun May 06, 2012 6:13 pm

Re: Codeblocks and Irrlicht install problem

Post by Oster200 »

If your still having problems you can use this topic just follow the 2nd post http://irrlicht.sourceforge.net/forum/v ... =1&t=48982
Post Reply