Hey everyone!
I am a new user to Crystal Space. I just found it and decided to give it a try.
I downloaded CS 2.0 latest stable release. Went through the documentation on getting CS built.
winlibs version: 2.0_002
OS: Windows 7, Home, Service Pack 1
IDE: Visual Studio 2010, Version 10.0.4 Service Pack 1
.NET Framework: Version 4.0.30319 Service Pack 1
Windows SDK: 7.0A
Compiler: VisualC
Video card: Intel HD Graphics 3000 (iCore3)
Almost everything compiled fine. The one thing that is not compiling is the sound system; it burns when it tries to find the direct sound definitions.
To be exact:
ClCompile:
1> driver_ds.cpp
1>c:\sdks\crystal space\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.h(165): error C2146: syntax error : missing ';' before identifier 'm_pDirectSoundDevice'
1>c:\sdks\crystal space\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.h(165): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\sdks\crystal space\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.h(165): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(59): error C2614: 'CS::Plugin::SndSysDIRECTSOUND::SndSysDriverDirectSound' : illegal member initialization: 'm_pDirectSoundDevice' is not a base or member
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(133): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(133): error C3861: 'DirectSoundCreate8': identifier not found
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(158): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(158): error C2227: left of '->SetCooperativeLevel' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(175): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(175): error C2227: left of '->Release' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(176): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(187): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(187): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(187): error C2227: left of '->Release' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(188): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(224): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(224): error C2227: left of '->CreateSoundBuffer' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(246): error C2065: 'LPDIRECTSOUNDNOTIFY8' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(246): error C2146: syntax error : missing ';' before identifier 'lpDsNotify'
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(246): error C2065: 'lpDsNotify' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(247): error C2065: 'IID_IDirectSoundNotify8' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(247): error C2065: 'lpDsNotify' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(265): error C2065: 'lpDsNotify' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(265): error C2227: left of '->SetNotificationPositions' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(274): error C2065: 'lpDsNotify' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(274): error C2227: left of '->Release' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>
1>Build FAILED.