|
我用DIRECTSOUND写了一个小东西,
可是在compile的时候啊
它居然跟我找出一大堆<dsound.h>&<mmsystem.h>的错误,
这是怎么回事呢????
--------------------Configuration: CAPTURING - Win32 Debug--------------------
Compiling...
CAPTURING.cpp
c:\directx9\include\dsound.h(230) : error C2143: syntax error : missing ';' before '*'
c:\directx9\include\dsound.h(230) : error C2501: 'LPCWAVEFORMATEX' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(349) : error C2146: syntax error : missing ';' before identifier 'lpwfxFormat'
c:\directx9\include\dsound.h(349) : error C2501: 'LPWAVEFORMATEX' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(349) : error C2501: 'lpwfxFormat' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(365) : error C2146: syntax error : missing ';' before identifier 'lpwfxFormat'
c:\directx9\include\dsound.h(365) : error C2501: 'LPWAVEFORMATEX' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(365) : error C2501: 'lpwfxFormat' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(416) : error C2146: syntax error : missing ';' before identifier 'lpwfxFormat'
c:\directx9\include\dsound.h(416) : error C2501: 'LPWAVEFORMATEX' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(416) : error C2501: 'lpwfxFormat' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(425) : error C2146: syntax error : missing ';' before identifier 'lpwfxFormat'
c:\directx9\include\dsound.h(425) : error C2501: 'LPWAVEFORMATEX' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(425) : error C2501: 'lpwfxFormat' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(686) : error C2061: syntax error : identifier 'LPWAVEFORMATEX'
c:\directx9\include\dsound.h(696) : error C2061: syntax error : identifier 'LPCWAVEFORMATEX'
c:\directx9\include\dsound.h(770) : error C2061: syntax error : identifier 'LPWAVEFORMATEX'
c:\directx9\include\dsound.h(780) : error C2061: syntax error : identifier 'LPCWAVEFORMATEX'
c:\directx9\include\dsound.h(1041) : error C2061: syntax error : identifier 'LPWAVEFORMATEX'
c:\directx9\include\dsound.h(1099) : error C2061: syntax error : identifier 'LPWAVEFORMATEX'
c:\program files\microsoft visual studio\vc98\include\mmsystem.h(728) : error C2373: 'WAVEFORMATEX' : redefinition; different type modifiers
c:\directx9\include\dsound.h(230) : see declaration of 'WAVEFORMATEX'
c:\program files\microsoft visual studio\vc98\include\mmsystem.h(729) : error C2378: 'LPCWAVEFORMATEX' : redefinition; symbol cannot be overloaded with a typedef
c:\directx9\include\dsound.h(230) : see declaration of 'LPCWAVEFORMATEX'
c:\program files\microsoft visual studio\vc98\include\mmsystem.h(774) : error C2061: syntax error : identifier 'LPCWAVEFORMATEX'
c:\program files\microsoft visual studio\vc98\include\mmsystem.h(830) : error C2061: syntax error : identifier 'LPCWAVEFORMATEX'
CAPTURINGDlg.cpp
c:\directx9\include\dsound.h(230) : error C2143: syntax error : missing ';' before '*'
c:\directx9\include\dsound.h(230) : error C2501: 'LPCWAVEFORMATEX' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(349) : error C2146: syntax error : missing ';' before identifier 'lpwfxFormat'
c:\directx9\include\dsound.h(349) : error C2501: 'LPWAVEFORMATEX' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(349) : error C2501: 'lpwfxFormat' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(365) : error C2146: syntax error : missing ';' before identifier 'lpwfxFormat'
c:\directx9\include\dsound.h(365) : error C2501: 'LPWAVEFORMATEX' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(365) : error C2501: 'lpwfxFormat' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(416) : error C2146: syntax error : missing ';' before identifier 'lpwfxFormat'
c:\directx9\include\dsound.h(416) : error C2501: 'LPWAVEFORMATEX' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(416) : error C2501: 'lpwfxFormat' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(425) : error C2146: syntax error : missing ';' before identifier 'lpwfxFormat'
c:\directx9\include\dsound.h(425) : error C2501: 'LPWAVEFORMATEX' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(425) : error C2501: 'lpwfxFormat' : missing storage-class or type specifiers
c:\directx9\include\dsound.h(686) : error C2061: syntax error : identifier 'LPWAVEFORMATEX'
c:\directx9\include\dsound.h(696) : error C2061: syntax error : identifier 'LPCWAVEFORMATEX'
c:\directx9\include\dsound.h(770) : error C2061: syntax error : identifier 'LPWAVEFORMATEX'
c:\directx9\include\dsound.h(780) : error C2061: syntax error : identifier 'LPCWAVEFORMATEX'
c:\directx9\include\dsound.h(1041) : error C2061: syntax error : identifier 'LPWAVEFORMATEX'
c:\directx9\include\dsound.h(1099) : error C2061: syntax error : identifier 'LPWAVEFORMATEX'
c:\program files\microsoft visual studio\vc98\include\mmsystem.h(728) : error C2373: 'WAVEFORMATEX' : redefinition; different type modifiers
c:\directx9\include\dsound.h(230) : see declaration of 'WAVEFORMATEX'
c:\program files\microsoft visual studio\vc98\include\mmsystem.h(729) : error C2378: 'LPCWAVEFORMATEX' : redefinition; symbol cannot be overloaded with a typedef
c:\directx9\include\dsound.h(230) : see declaration of 'LPCWAVEFORMATEX'
c:\program files\microsoft visual studio\vc98\include\mmsystem.h(774) : error C2061: syntax error : identifier 'LPCWAVEFORMATEX'
c:\program files\microsoft visual studio\vc98\include\mmsystem.h(830) : error C2061: syntax error : identifier 'LPCWAVEFORMATEX'
C:\CAPTURING\CAPTURINGDlg.cpp(23) : error C2146: syntax error : missing ';' before identifier 'g_pWaveFile'
C:\CAPTURING\CAPTURINGDlg.cpp(23) : error C2501: 'CWaveFile' : missing storage-class or type specifiers
C:\CAPTURING\CAPTURINGDlg.cpp(23) : fatal error C1004: unexpected end of file found
dsutil.cpp
c:\directx9\samples\c++\common\src\dsutil.cpp(1646) : fatal error C1010: unexpected end of file while looking for precompiled header directive
dxutil.cpp
c:\directx9\samples\c++\common\src\dxutil.cpp(1104) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Generating Code...
Error executing cl.exe.
CAPTURING.exe - 53 error(s), 0 warning(s) |
|