≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
External error issue.
Posted by:
(you are not logged in)
Enter the missing letter in: "Inter?ational"
(you are not logged in)
Text:
[quote][b]themohwakninja[/b] wrote: Hello, I am trying to use irrKlang in VS2010 for C++/CLI, and the line: [code]static ISoundEngine* engine = createIrrKlangDevice();[/code] throws the errors: [code] error LNK2028: unresolved token (0A000012) "class irrklang::ISoundEngine * __clrcall irrklang::createIrrKlangDevice(enum irrklang::E_SOUND_OUTPUT_DRIVER,int,char const *,char const *)" (?createIrrKlangDevice@irrklang@@$$FYMPAVISoundEngine@1@W4E_SOUND_OUTPUT_DRIVER@1@HPBD1@Z) referenced in function "?.cctor@Form1@SuperMetroidCraft@@$$FSMXXZ" (?.cctor@Form1@SuperMetroidCraft@@$$FSMXXZ) error LNK2019: unresolved external symbol "class irrklang::ISoundEngine * __clrcall irrklang::createIrrKlangDevice(enum irrklang::E_SOUND_OUTPUT_DRIVER,int,char const *,char const *)" (?createIrrKlangDevice@irrklang@@$$FYMPAVISoundEngine@1@W4E_SOUND_OUTPUT_DRIVER@1@HPBD1@Z) referenced in function "?.cctor@Form1@SuperMetroidCraft@@$$FSMXXZ" (?.cctor@Form1@SuperMetroidCraft@@$$FSMXXZ)[/code] - 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): [code] pragma comment(lib, "irrKlang.lib") include "stdafx.h" include <irrKlang.h> using namespace irrklang;[/code][/quote]
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