gaf游戏吧 关注:13贴子:414
  • 1回复贴,共1

求各位大神帮帮忙

只看楼主收藏回复

--------------------Configuration: Game - Win32 Debug--------------------
Compiling...
StdAfx.cpp
c:\pc\include\gafddrawsurface.h(46) : error C2061: syntax error : identifier 'LPDIRECTDRAWSURFACE7'
c:\pc\include\gafddrawsurface.h(82) : error C2146: syntax error : missing ';' before identifier 'GetSurface'
c:\pc\include\gafddrawsurface.h(82) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
c:\pc\include\gafddrawsurface.h(82) : warning C4183: 'GetSurface': member function definition looks like a ctor, but name does not match enclosing class
c:\pc\include\gafddrawsurface.h(103) : error C2146: syntax error : missing ';' before identifier 'm_lpDDS'
c:\pc\include\gafddrawsurface.h(103) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
c:\pc\include\gafddrawsurface.h(103) : error C2501: 'm_lpDDS' : missing storage-class or type specifiers
c:\pc\include\gafddrawsurface.h(104) : error C2146: syntax error : missing ';' before identifier 'm_DDSD'
c:\pc\include\gafddrawsurface.h(104) : error C2501: 'DDSURFACEDESC2' : missing storage-class or type specifiers
c:\pc\include\gafddrawsurface.h(104) : error C2501: 'm_DDSD' : missing storage-class or type specifiers
c:\pc\include\gafddrawsurface.h(105) : error C2146: syntax error : missing ';' before identifier 'm_lpDD'
c:\pc\include\gafddrawsurface.h(105) : error C2501: 'LPDIRECTDRAW7' : missing storage-class or type specifiers
c:\pc\include\gafddrawsurface.h(105) : error C2501: 'm_lpDD' : missing storage-class or type specifiers
c:\pc\include\gafddraw.h(46) : error C2146: syntax error : missing ';' before identifier 'GetDD'
c:\pc\include\gafddraw.h(46) : error C2501: 'LPDIRECTDRAW7' : missing storage-class or type specifiers
c:\pc\include\gafddraw.h(46) : warning C4183: 'GetDD': member function definition looks like a ctor, but name does not match enclosing class
c:\pc\include\gafddraw.h(57) : error C2146: syntax error : missing ';' before identifier 'm_lpDD'
c:\pc\include\gafddraw.h(57) : error C2501: 'LPDIRECTDRAW7' : missing storage-class or type specifiers
c:\pc\include\gafddraw.h(57) : error C2501: 'm_lpDD' : missing storage-class or type specifiers
c:\pc\include\gafdmusic.h(24) : fatal error C1083: Cannot open include file: 'dmksctrl.h': No such file or directory
Error executing cl.exe.
Game.exe - 18 error(s), 2 warning(s)


IP属地:湖南1楼2015-11-19 18:03回复
    我也遇到一样的问题,请问解决了吗


    2楼2017-06-30 16:03
    回复