游戏开发论坛

 找回密码
 立即注册
搜索
查看: 4045|回复: 3

请教传奇3客户端编译问题

[复制链接]

1

主题

3

帖子

0

积分

新手上路

Rank: 1

积分
0
发表于 2008-9-11 12:50:00 | 显示全部楼层 |阅读模式
需要安装哪个版本的directx sdk啊?我转个了9.0后,设置好VC环境,编译还是提示

1

主题

3

帖子

0

积分

新手上路

Rank: 1

积分
0
 楼主| 发表于 2008-9-11 12:50:00 | 显示全部楼层

Re:请教传奇3客户端编译问题

tdAfx.cpp
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(24) : error C2146: syntax error : missing ';' before identifier 'ddDeviceDesc'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(24) : error C2501: 'D3DDEVICEDESC7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(24) : error C2501: 'ddDeviceDesc' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(34) : error C2143: syntax error : missing ';' before '*'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(34) : error C2501: 'DDSURFACEDESC2' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(34) : error C2501: 'pddsdModes' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(61) : error C2146: syntax error : missing ';' before identifier 'm_pD3D'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(61) : error C2501: 'LPDIRECT3D7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(61) : error C2501: 'm_pD3D' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(62) : error C2146: syntax error : missing ';' before identifier 'm_pDD'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(62) : error C2501: 'LPDIRECTDRAW7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(62) : error C2501: 'm_pDD' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(63) : error C2146: syntax error : missing ';' before identifier 'm_pd3dDevice'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(63) : error C2501: 'LPDIRECT3DDEVICE7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(63) : error C2501: 'm_pd3dDevice' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(64) : error C2146: syntax error : missing ';' before identifier 'm_pddsFrontBuffer'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(64) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(64) : error C2501: 'm_pddsFrontBuffer' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(65) : error C2146: syntax error : missing ';' before identifier 'm_pddsBackBuffer'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(65) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(65) : error C2501: 'm_pddsBackBuffer' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(66) : error C2146: syntax error : missing ';' before identifier 'm_pddsZBuffer'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(66) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(66) : error C2501: 'm_pddsZBuffer' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(110) : error C2146: syntax error : missing ';' before identifier 'GetDirectDraw'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(110) : error C2433: 'LPDIRECTDRAW7' : 'inline' not permitted on data declarations
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(110) : error C2501: 'LPDIRECTDRAW7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(110) : warning C4183: 'GetDirectDraw': member function definition looks like a ctor, but name does not match enclosing class
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(111) : error C2146: syntax error : missing ';' before identifier 'GetDirect3D'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(111) : error C2433: 'LPDIRECT3D7' : 'inline' not permitted on data declarations
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(111) : error C2501: 'LPDIRECT3D7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(111) : warning C4183: 'GetDirect3D': member function definition looks like a ctor, but name does not match enclosing class
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(112) : error C2146: syntax error : missing ';' before identifier 'Get3DDevice'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(112) : error C2433: 'LPDIRECT3DDEVICE7' : 'inline' not permitted on data declarations
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(112) : error C2501: 'LPDIRECT3DDEVICE7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(112) : warning C4183: 'Get3DDevice': member function definition looks like a ctor, but name does not match enclosing class
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(113) : error C2146: syntax error : missing ';' before identifier 'GetFrontBuffer'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(113) : error C2433: 'LPDIRECTDRAWSURFACE7' : 'inline' not permitted on data declarations
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(113) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(113) : warning C4183: 'GetFrontBuffer': member function definition looks like a ctor, but name does not match enclosing class
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(114) : error C2146: syntax error : missing ';' before identifier 'GetBackBuffer'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(114) : error C2433: 'LPDIRECTDRAWSURFACE7' : 'inline' not permitted on data declarations
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(114) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(114) : warning C4183: 'GetBackBuffer': member function definition looks like a ctor, but name does not match enclosing class
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(118) : error C2061: syntax error : identifier 'LPDIRECTDRAWSURFACE7'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(128) : error C2061: syntax error : identifier 'LPDIRECTDRAWSURFACE7'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(129) : error C2061: syntax error : identifier 'LPDIRECTDRAWSURFACE7'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(129) : error C2535: 'void __thiscall CWHDXGraphicWindow:utsHan(void)' : member function already defined or declared
        d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(128) : see declaration of 'PutsHan'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(131) : error C2061: syntax error : identifier 'LPDIRECTDRAWSURFACE7'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(149) : error C2061: syntax error : identifier 'LPDIRECTDRAWSURFACE7'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whdxgraphic.h(155) : error C2061: syntax error : identifier 'LPDIRECTDRAWSURFACE7'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\wh3dinit.h(25) : error C2146: syntax error : missing ';' before identifier 'm_pd3dDevice'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\wh3dinit.h(25) : error C2501: 'LPDIRECT3DDEVICE7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\wh3dinit.h(25) : error C2501: 'm_pd3dDevice' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\wh3dinit.h(31) : error C2146: syntax error : missing ';' before identifier 'm_mtrl'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\wh3dinit.h(31) : error C2501: 'D3DMATERIAL7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\wh3dinit.h(31) : error C2501: 'm_mtrl' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whsurface.h(8) : error C2146: syntax error : missing ';' before identifier 'm_pDDS'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whsurface.h(8) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whsurface.h(8) : error C2501: 'm_pDDS' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whsurface.h(12) : error C2629: unexpected 'class CWHSurface ('
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whsurface.h(12) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whsurface.h(16) : error C2061: syntax error : identifier 'LPDIRECTDRAW7'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whsurface.h(20) : error C2146: syntax error : missing ';' before identifier 'GetSurface'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whsurface.h(20) : error C2433: 'LPDIRECTDRAWSURFACE7' : 'inline' not permitted on data declarations
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whsurface.h(20) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whsurface.h(20) : warning C4183: 'GetSurface': member function definition looks like a ctor, but name does not match enclosing class
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whwiltexture.h(20) : error C2146: syntax error : missing ';' before identifier 'D3DWILTextr_GetSurface'
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whwiltexture.h(20) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
d:\soft\mir\mir code\client\legendofmir3_clint\windhorn\whwiltexture.h(20) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

Mir2EI.exe - 64 error(s), 6 warning(s)

2

主题

330

帖子

1720

积分

金牌会员

Rank: 6Rank: 6

积分
1720
发表于 2008-9-12 21:18:00 | 显示全部楼层

Re:请教传奇3客户端编译问题

8.0 试下

1

主题

3

帖子

0

积分

新手上路

Rank: 1

积分
0
 楼主| 发表于 2008-9-15 21:23:00 | 显示全部楼层

Re: 请教传奇3客户端编译问题

8.0还真是通过了 谢谢  不过发现这代码和传奇31.45的客户端 很多地方不匹配啊  改了很多地方  才刚刚把开始的AVI动画搞定, 想找个大牛请教请教  方便的话 加 qq:25098568
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-21 08:43

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表