Page 1 of 1

[fixed]using IrrKlang with Tech Demo in trunk

Posted: Fri Sep 25, 2015 8:36 am
by AReichl
Hi,

after the last changes in trunk the Irrlicht Tech Demo won't compile any longer IF Irrklang is used
( #define USE_IRRKLANG in CDemo.h ).

IrrKlang-functions have a "const char *" as first parameter (e.g. play2D).

so

irrKlang->play2D( mediaPath + "IrrlichtTheme.ogg", true, false, true);

should be

irrKlang->play2D( (mediaPath + "IrrlichtTheme.ogg").c_str(), true, false, true);

Re: using IrrKlang with Tech Demo after last changes in trun

Posted: Fri Sep 25, 2015 9:23 am
by CuteAlien
Thanks for report, should work now again I hope (admittedly I haven't IrrKlang installed myself...).

Re: [fixed]using IrrKlang with Tech Demo in trunk

Posted: Sat Sep 26, 2015 9:43 am
by Nadro
Thanks for that, it was my fault :)