right, ages since I've been around....
The code in the subject creates an error for me; "expected ';' before token '*'".
wtf?
extern ISoundEngine* engine;
The compiler doesn't know the type ISoundEngine. Either you aren't including the appropriate header or you are not specifying the namespace as necessary.
Code: Select all
#include <irrKlang.h>
// this is okay
extern irr::audio::ISoundEngine* engine;
// or this
using namespace irr;
using namespace irr::audio;
extern ISoundEngine* engine;