ambiera home ambiera home

Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:
Ambiera Forum > irrKlang
Problem with version selection
Author Text

general_tao
Registered User
Quote
2017-10-30 10:59:48

Hello all!.
I use QT Creator with compiler Desktop Qt 5.6.2 MinGW 32bit2, and I want start my project with OpenGL 3.3+

I connected in the my project .a and .dll files in my .pro file:

win32: LIBS += -L$$PWD/../irrKlang-1.5.0/lib/Win32-gcc/ -lirrKlang

INCLUDEPATH += $$PWD/../irrKlang-1.5.0/lib/Win32-gcc
DEPENDPATH += $$PWD/../irrKlang-1.5.0/lib/Win32-gcc

win32:!win32-g++: PRE_TARGETDEPS += $$PWD/../irrKlang-1.5.0/lib/Win32-gcc/irrKlang.lib
else:win32-g++: PRE_TARGETDEPS += $$PWD/../irrKlang-1.5.0/lib/Win32-gcc/libirrKlang.a


LIBS += -L$$PWD/../irrKlang-1.5.0/bin/win32-gcc/ -likpMP3
INCLUDEPATH += $$PWD/../irrKlang-1.5.0/include

LIBS += -L$$PWD/../irrKlang-1.4.0/bin/win32-gcc/ -lirrKlang
INCLUDEPATH += $$PWD/../irrKlang-1.5.0/include


But then I use irrKlang in the my project a get this text in consol:

Warning: The library version of irrKlang (1.4.0) does not match the version the
application was compiled with (1.5.0). This may cause problems.
irrKlang sound library version 1.4.0
Using DirectSound8 driver


I understand, that use incorrect version, but i don't understend, that I should change: version of library or version of compiler...
I do not know what to do... Please, help me!!


niko
Moderator
Quote
2017-10-30 12:42:39

See the last 4 lines in your code?
There you are linking with irrKlang 1.4.0 and then with the 1.5.0 include file. The two lines above are doing it right. I guess you duplicated some lines there invalidly.


general_tao
Registered User
Quote
2017-10-30 15:55:39

Oh, sorry... My stuped eyes... Thank you, nico.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Forum 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


   





Software: Ambiera Light Forum. © 2008-2019 Nikolaus Gebhardt, Ambiera e.U.