Help Please

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
bluebunny76
Posts: 4
Joined: Wed Oct 28, 2009 11:53 pm

Help Please

Post by bluebunny76 »

The Tut link is not working for using Code::blocks as IDE ??
Can som1 please give me an idee wer to put the links and stuff for the project options??

I added them maybe not right :/ gives this error when trying to build simple code "hello world"

Linking stage skipped (build target has no object files to link)
Nothing to be done.

Nothing to be done.
CuteAlien
Admin
Posts: 9933
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Hm, the "hello world" example should come with a .cbp file which is for codeblock. Did you try that?

It seems that we've currently no tutorial for setting up new project with c::b and MinGW in the wiki :-(. Also I'm not on Windows currently, but I think what you need is:

1. Add your sourcefiles (Project - add files). Usually main.cpp is already added when you create a new project. For a start you can copy the main.cpp from one of the Irrlicht examples as those will work.
2. Set your paths. (Project - build options - search directories). You will need at least the Irrlicht paths. For the compiler that is the Irrlicht include folder. For the linker on c::b windows it will be the Irrlicht/lib/Win32-gcc folder.
3. Add libraries which you need for linking. (Project - build options - linker settings). Not 100% sure there, but I guess you need at least: mingw32, gdi32 and irrlicht.

Now it should compile already - or give you some new error (then just ask again).

Also a small hint for writing threads in this forum: Please use good thread-titles which tell about the problem. Don't use just "help please", but for example "Help setting up an Irrlicht project with Code::Blocks on Windows"
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
Hank
Posts: 7
Joined: Sat Oct 23, 2010 1:38 am

QT4 and IrrLicht .a .dll file match

Post by Hank »

CuteAlien wrote:Also a small hint for writing threads in this forum: Please use good thread-titles which tell about the problem. Don't use just "help please", but for example "Help setting up an Irrlicht project with Code::Blocks on Windows"
I'll use this quote to butt in. ( no point in making another thread, and I'm in no rush)

I'm using QT4 on Windows 7; is this Code-Block IDE similar to Visual Studio? I tried to follow the tutorial, for Studio with 0 success. It compiled, but crashed looking for a p4.exe . I checked, not a virus. :wink:

Best yet, is there a guide to build everything from scratch? xyz.a, ddl etc ? :D
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Hank
Posts: 7
Joined: Sat Oct 23, 2010 1:38 am

Post by Hank »

Thanks Acki.

While I watched, I got an idea and checked my famous typing skills. A typo. libIrrlicht.a not LibIrrlicht.a. - Code::Blocks locks good btw. :D but QT stays for now. It's very good with OpenGL.
Post Reply