I have a Irrlicht based 3D application which works fine on my development Windows XP PC. I am trying to create an installer for it using Venis IX which uses the NSIS installer scripting.
I am including the Irrlicht.dll as well as the irKlang.dll since I have some sound in the app aswell. All the files appear to be in the correct place on the target Windows XP PC after running the installer, but when I try to run the app on the target PC I get an error and ot crashes.
The line in the code where it crashes is:
device = irr::createDeviceEx(irrlicht_param);
and the section before that sets up the "irrlicht_param" is:
irr::SIrrlichtCreationParameters irrlicht_param;
irrlicht_param.WindowId = reinterpret_cast<irr::s32>(window);
irrlicht_param.WindowSize = irr::core::dimension2d<irr::s32>(ResX, ResY);
irrlicht_param.DriverType = irr::video::EDT_DIRECT3D9;
irrlicht_param.EventReceiver = &receiver;
irrlicht_param.Fullscreen = fullScreen;
irrlicht_param.Bits = 32;
irrlicht_param.Stencilbuffer = userShadows;
irrlicht_param.Vsync = false;
irrlicht_param.AntiAlias = userAntiAlias;
I do not think this is a programming problem because it runs fine on the development PC. I think I am missing something that needs to be put in the installer and I think it has to do with something I need to istall for Irrlicht because this is the first call to the Irrlicht engine in the application.
Can anybody tell me if there is something else that needs to be included in the installer (and if so what) or point me to the right Irrlicht documentation that might help me out.
Thanks,
Neilly
Files required in installer
I have included Irrlicht.dll with the installation, but it still crashes at the same point.
I have tried putting the dll in the same directory as my .exe file, I have tries putting it in C:\WINDOWS\System and C:\WINDOWS\System32 and it still did not work.
Is there any documentation on what is required by an Irrlicht application or how to create installers for an Irrlicht app?
Thanks,
Neilly
I have tried putting the dll in the same directory as my .exe file, I have tries putting it in C:\WINDOWS\System and C:\WINDOWS\System32 and it still did not work.
Is there any documentation on what is required by an Irrlicht application or how to create installers for an Irrlicht app?
Thanks,
Neilly