Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello, I am trying to use irrKlang in VS2010 for C++/CLI, and the line: static ISoundEngine* engine = createIrrKlangDevice(); throws the errors:
- The "Additional Include Directories" points to the IrrKlang Include folder - The "Addition Library Directories" points to the IrrKlang lib/Winx64-visualStudio folder - The "Additional Dependencies" points to the IrrKlang lib/Winx64-visualStudio/irrKlang.lib file The very first four lines of my program are (the first three lines do have hashtags at the beginning... I don't know why they aren't showing up here):
|
||||
|
are you maybe compiling your game as 32 bit? It seems you are using the 64 bit version of irrKlang instead. If so, download the 32 bit version of irrklang and link to that one instead. |
||||
|
Wait, you say you are using C++/CLI, so your software is managed? You can use irrKlang.NET for this then. Just add the irrKlang.NET.dll as reference to your project and use the irrklang .NET API instead. |
||||
|
Ah, The program runs now, thanks! One last little question though: If I were to release my program to the public, would I need to include any of the irrKlang files with my program? |
||||
|
Only the irrklang.DLL or irrKlang.NET.dll. If you are using the non-managed C++ version, it is also possible to link irrklang statically, then you don't even need the irrklang.dll. But this requires a commercial license. |
|