Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
Programme can't start DLL not on your computer

roz
Registered User
Quote
2012-05-16 18:51:37

Hi
IrrKlang has been installed into a project - however, when attempting to run this the following error appears Programme can't start DLL not on your computer- try reinstalling.

Have reinstalled - same error report appears.

Project in C++ is using Vista64 and W7 64 bit - I realise irrKlang is 32 bit - is there a known work around that won't affect any other element of the project (which is final assignment for university - hand in date is days away - so I need to solve the problem quickly).

Thanks

roz


niko
Moderator
Quote
2012-05-17 06:24:56

Maybe you need to install the VC redistributable as well? From the FAQ:


If your program is written in CSharp, VisualBasic.NET or any other .NET language and uses irrKlang to play back sounds, but doesn't work on another computer, this is usually because on that computer, the .NET Framework hasn't been installed.
It could also be the possibility that your application target is 'Any CPU'. Simply set the target to 'x86'. (If you use the Express edition, you need to set the Visual Studio mode to 'Expert' to see that option, use Extras -> Settings -> check Expert Options)
You also need to install the Visual Studio redistributable runtime on that system, which you can download freely from microsoft and can include in the installer of your application. Depending on the irrKlang version you are using, you need:
irrKlang.NET in bin\dotnet-1.1:
depends on the module MSVCR71.DLL. Works with all .NET versions.
irrKlang.NET2.0 in bin\dotnet-2.0:
depends on the modules MSVCR80.DLL and MSVCM80.DLL. Use the Visual Studio 2005 redistributeable (vcredist_x86)
irrKlang.NET4.0 in bin\dotnet-4:
depends on the module MSVCR100.DLL. Use the Visual Studio 2010 redistributeable (vcredist_x86)



roz
Registered User
Quote
2012-05-17 14:10:50

Hi Niko

Thanks for the reply. I don't think my question was clear enough - I am not the programmer, so please forgive me.

My son who has autism is making/ compiling a 3d game (using OGRE for graphics) in VS2010 - his machine is 64bit for his final university project.

He has put irrklang into his architechture / game engine - but when trying to use irrklang it reports that the irrklang dll can not be found on the machine.

Time is now short for the project to complete. A friend has composed a unique sound track as a wav file for him - so he desperately wants to include it.

Do you know what has gone wrong - or what he needs to do to make irrklang work? Do you need any more specific information?

Thank you very much for your help, I very much appreciate it.

roz


niko
Moderator
Quote
2012-05-17 22:05:01

Ah, maybe simply copy the .dll file to the working directory of your program. Maybe it already works then.
What is the exact error message? If it really cannot find the irrklang.dll, simply putting the file into the directory where your exe is should help. Not sure about the 64bit thing, though, irrklang is 32 bit only.


roz
Registered User
Quote
2012-05-17 23:36:18

Hi Niko

Thank you for that. He has done this and it now runs

He is building a game and is using orge 3d as the graphic engine.

He tells me he now has to alter his entire architechture. I have asked him to check this with his tutor tomorrow as I think it might be a very large job and he has to hand in the finished game 24 May.

Thanks again for your quick reply :o)

roz


roz
Registered User
Quote
2012-05-18 13:58:45

He instantiated the music track and all now works :o)

THANKS

roz


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internati?nal" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact