Can Someone Help With/Update the Code::Blocks Tutorial?

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
Blue2117
Posts: 3
Joined: Sun May 10, 2015 7:52 pm

Can Someone Help With/Update the Code::Blocks Tutorial?

Post by Blue2117 »

Hello Everyone,

I am new to Irrlicht and am trying to setup Code::Blocks for use with the engine, but when I try to add libraries like GLU and X11 from the /include directory, I don't see them. I have also noticed that the tutorial for setting up Code::Blocks with Irrlicht is from 2009, so things may well be out of date. Right now the Hello World program won't build properly on Code::Blocks.

Here's the post on the Irrlicht Wiki that I'm using:
http://www.irrlicht3d.org/wiki/index.ph ... cksOnLinux

If anyone can help shed light on what is really going on that would be great.

Thanks.

Also, I'm a Linux user (Manjaro OS - Based on Arch Linux) to let you know what OS I'm using.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Can Someone Help With/Update the Code::Blocks Tutorial?

Post by CuteAlien »

Please start as first step with BuildAllExamples.workspace in examples. That will allow to build the engine+all examples in c::b. And it's easier from there on to figure out if there's still something missing which you have to install. If you get any errors please copy-paste them in the forum so we can figure out what's going on.
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
Blue2117
Posts: 3
Joined: Sun May 10, 2015 7:52 pm

Re: Can Someone Help With/Update the Code::Blocks Tutorial?

Post by Blue2117 »

Thanks for the help.

However, I am getting error messages saying that I need to "You must select a host application to "run" a library...". This didn't happen before and I'm not sure what to do.
Blue2117
Posts: 3
Joined: Sun May 10, 2015 7:52 pm

Re: Can Someone Help With/Update the Code::Blocks Tutorial?

Post by Blue2117 »

Nevermind: although I'm unable to build/run each project by itself (which gives me a huge list of different options), I can open each main.cpp file and run those individually without any problem.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Can Someone Help With/Update the Code::Blocks Tutorial?

Post by CuteAlien »

Code::Blocks has 2 settings you can change when working with the BuildAllExamples. First one is to select the active project you want to run. To change that right-click one of the example project in the "Projects" tab and select "Active Project". And the other settings is that you can select a "Build target". It says "All" by default, but you should choose the system you are on (aka, Linux or 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
Post Reply