Problem with IQ3Shader.h

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
whtemple1959
Posts: 5
Joined: Tue Oct 16, 2012 4:43 am

Problem with IQ3Shader.h

Post by whtemple1959 »

Hello,

I am new to programming but I want to fix an open source game that I enjoy. I play it on a Windows and an Ubuntu machine, so, I chose Code::Blocks as my IDE since it is cross platform and hopefully I will not have many headaches. But alas I am.

I will be honest. I chose Irrlicht randomly. It appeared to be full of possibilities, and it is free. Like I said I am not a programmer.

I am trying to get Irrlicht to work on a ...
Win xp sp1
Code::Blocks 10.05
Irrlicht 1.7.3

I followed the instruction for installing Irrlicht with Code::Blocks from the You Tube site
http://www.youtube.com/watch?v=cs4wvWU_5kA

I then followed the tutorial on
http://irrlicht.sourceforge.net/docu/example001.html

So now my problem which is identical to a post from 9 Sep 2010 which was never resolved...
http://irrlicht.sourceforge.net/forum/v ... .h#p232251

My debugger output is...
Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Windows
Adding source dir: C:\Programs\Irrlicht\examples\01.HelloWorld\
Adding source dir: C:\Programs\Irrlicht\examples\01.HelloWorld\
Adding file: ..\..\bin\Win32-gcc\HelloWorld.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.3
Child process PID: 5444
At C:/Programs/Irrlicht/examples/01.HelloWorld/../../include/IQ3Shader.h:21

In my Code::Blocks window IQ3Shader.h pops up with a yellow arrow at line 21 and line 21 reads...
the indentation appears to be 5 spaces
static core::stringc irrEmptyStringc("")

Furthermore the Hello World example in bin/win32-gcc does not work but all the others do.

Any advice?

Thanks,
Bill
CuteAlien
Admin
Posts: 10050
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Problem with IQ3Shader.h

Post by CuteAlien »

Maybe not using the correct Dll. There was a bug in the c::b project files until 1.7.3 (will be fixed in next versions) that the dll produced was named libIrrlicht.dll instead of Irrlicht.dll. Which wouldn't be so bad except it then tries to copy Irrlicht.dll in the project files for examples, thereby missing dll updates.

Otherwise - I always had one bug in c::b that it stopped once when I tried to debug it at the start. Only solution I ever found was pressing continue once more, then it did run.
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