ok i added the dll,no problems their but the compiler wont find the audiere.h and i tried putting it in EVERY folder and still wont find it.
music not playing(SOLVED!!!!!!)thanks tropper,vitek,Acki,Mon
OK,
I see your using Visual C++, and I guess you know where the Audiere Folder (SDK) is installed.
So go to Visual Studio - TOOLS - OPTIONS, then PROJECTS & SOLUTIONS on the left, then VC++ DIRECTORIES, then on the right using the drop down, setup up the paths for the INCLUDE & LIBRARY paths.
example
INCLUDE:
D:\SDK\audiere\include
LIBRARY:
D:\SDK\audiere\lib
that should be it
I see your using Visual C++, and I guess you know where the Audiere Folder (SDK) is installed.
So go to Visual Studio - TOOLS - OPTIONS, then PROJECTS & SOLUTIONS on the left, then VC++ DIRECTORIES, then on the right using the drop down, setup up the paths for the INCLUDE & LIBRARY paths.
example
INCLUDE:
D:\SDK\audiere\include
LIBRARY:
D:\SDK\audiere\lib
that should be it
You scratch my back, I'll scratch yours.
-
- Posts: 97
- Joined: Sat Oct 14, 2006 10:51 am
- Location: Australia,melbourne
hey the compiler found it but MORREE anoying errors came up!.
OMG i didn know audio was sooo dam hard!
OMG i didn know audio was sooo dam hard!
Code: Select all
Compiling manifest to resources...
Linking...
IrrCameraRPG.obj : error LNK2019: unresolved external symbol __imp__AdrOpenDevice@8 referenced in function "class audiere::AudioDevice * __cdecl audiere::OpenDevice(char const *,char const *)" (?OpenDevice@audiere@@YAPAVAudioDevice@1@PBD0@Z)
IrrCameraRPG.obj : error LNK2019: unresolved external symbol __imp__AdrOpenSampleSource@8 referenced in function "class audiere::SampleSource * __cdecl audiere::OpenSampleSource(char const *,enum audiere::FileFormat)" (?OpenSampleSource@audiere@@YAPAVSampleSource@1@PBDW4FileFormat@1@@Z)
IrrCameraRPG.obj : error LNK2019: unresolved external symbol __imp__AdrOpenSound@12 referenced in function "class audiere::OutputStream * __cdecl audiere::OpenSound(class audiere::RefPtr<class audiere::AudioDevice> const &,class audiere::RefPtr<class audiere::SampleSource> const &,bool)" (?OpenSound@audiere@@YAPAVOutputStream@1@ABV?$RefPtr@VAudioDevice@audiere@@@1@ABV?$RefPtr@VSampleSource@audiere@@@1@_N@Z)
C:\Documents and Settings\Haouchars\Desktop\3d\IrrCameraRPG\Debug\IrrCameraRPG.exe : fatal error LNK1120: 3 unresolved externals
Build log was saved at "file://c:\Documents and Settings\Haouchars\Desktop\3d\IrrCameraRPG\IrrCameraRPG\Debug\BuildLog.htm"
IrrCameraRPG - 4 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========[quote][/quote]
did you link your project against the Audiere lib !?!?!
for MSVC you'll have to use the pragma in your code:maybe you'll have to use another lib name like audiere.a or libaudiere.a or something like this (look into the sdk for the right name)
for MSVC you'll have to use the pragma in your code:
Code: Select all
#pragma comment(lib, "audiere.lib")
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
-
- Posts: 97
- Joined: Sat Oct 14, 2006 10:51 am
- Location: Australia,melbourne
-
- Posts: 1029
- Joined: Thu Apr 06, 2006 12:45 am
- Location: Tennesee, USA
- Contact:
WOHOO, that tastes like honey, I'm really honored !!!
I hope I don't get to fly too high !!!
I hope I don't get to fly too high !!!
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java