Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 16:18

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



irrKlang Problem :S

Discussion on irrKlang Problem :S within the C/C++ forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
uebertreiber's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 297
Received Thanks: 27
irrKlang Problem :S

kann mir jemand sagen warum das nicht funkioniert ?

Code:
#include <iostream>
#include <irrKlang.h>

using namespace irrklang;
using namespace std;

int main(int argc, const char** argv) {

	ISoundEngine* se = createIrrKlangDevice();
	se->play2D("C:\\User\lulzsec\Desktop\spaceblasters.wav");


	system("pause");
	return 0;
}
Das ist die Fehlermeldung:

1>------ Build started: Project: irrKlang_01, Configuration: Debug Win32 ------
1> main.cpp
1>c:\users\lulzsec\desktop\irrklang_01\irrklang_01 \main.cpp(10): warning C4129: 'l' : unrecognized character escape sequence
1>c:\users\lulzsec\desktop\irrklang_01\irrklang_01 \main.cpp(10): warning C4129: 'D' : unrecognized character escape sequence
1>c:\users\lulzsec\desktop\irrklang_01\irrklang_01 \main.cpp(10): warning C4129: 's' : unrecognized character escape sequence
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class irrklang::ISoundEngine * __cdecl irrklang::createIrrKlangDevice(enum irrklang::E_SOUND_OUTPUT_DRIVER,int,char const *,char const *)" (__imp_?createIrrKlangDevice@irrklang@@YAPAVISound Engine@1@W4E_SOUND_OUTPUT_DRIVER@1@HPBD1@Z) referenced in function _main
1>C:\Users\lulzsec\Desktop\irrKlang_01\Debug\irrKl ang_01.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
uebertreiber is offline  
Old 06/29/2013, 11:34   #2
 
Dr. Coxxy's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 1,206
Received Thanks: 736
1. lern die sprache
2. du hast im pfad nur teilweise die doppel '\' benutzt, wovor dich der compiler auch schon freundlicherweise warnt.
3. du hast vergessen i-ne lib von IrrKlang einzubinden.

EDIT:
was bist du fürn skid, dass du deinen winuser "lulzsec" nennst?

EDIT2:
und nen projekt aufm desktop erstellst...
Dr. Coxxy is offline  
Thanks
4 Users
Old 06/29/2013, 11:42   #3


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,904
Received Thanks: 25,394
#closed
MrSm!th is offline  
Thanks
3 Users
Closed Thread




All times are GMT +2. The time now is 16:18.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.