Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
irrKlang & Qt creator - problem running the application

mughat
Registered User
Quote
2013-06-26 13:58:10

Hi

I compile and run a small Qt test applicaion under windows 7.

When I add the following line to the code the program exit unexpectedly:

ISoundEngine* engine = createIrrKlangDevice();


I get this error when trying to run the program

Starting C:\github\grooper_application\build-grooper_application-Desktop_Qt_5_0_2_MinGW_32bit-Debug\debug\grooper_application...
The program has unexpectedly finished.
C:\github\grooper_application\build-grooper_application-Desktop_Qt_5_0_2_MinGW_32bit-Debug\debug\grooper_application exited with code -1073741511


what do you think is going on here? Can it be a problem with finding the irrKlang dll or something?


erik
Registered User
Quote
2013-06-26 14:02:31

Maybe you are using the wrong irrklang.dll? There are a lot under \bin, you need to be sure to link to the correct .lib and use the correct matching .dll.


mughat
Registered User
Quote
2013-06-28 11:14:43

thanks. I did try other .dll's and that makes the program start. But the application craches when I try to do anything with the engine:


Starting C:\github\grooper_application\build-grooper_application-Desktop_Qt_5_0_2_MinGW_32bit-Debug\debug\grooper_application...
irrKlang sound library version 1.4.0
Loaded plugin: ikpflac.dll
Loaded plugin: ikpmp3.dll
Using DirectSound8 driver


If the only thing I do is start the engine nothing happens but just calling the drop() function or trying to play a sound file make the application terminate. this line:

engine->drop(); // delete engine



The program has unexpectedly finished.
C:\github\grooper_application\build-grooper_application-Desktop_Qt_5_0_2_MinGW_32bit-Debug\debug\grooper_application exited with code -1073741819


Any ideas?


niko
Moderator
Quote
2013-06-29 08:03:57

Maybe you are using gcc? If so, there is a separate download package for gcc 4.7 and newer (the gcc guys brow the binary interface since that version):
http://www.ambiera.com/irrklang/...


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Intern?tional" (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