游戏开发论坛

 找回密码
 立即注册
搜索
查看: 3459|回复: 4

请教圣剑英雄传ii-番外篇(v1.3)编译错误的解决方法

[复制链接]

10

主题

24

帖子

26

积分

注册会员

Rank: 2

积分
26
发表于 2007-11-17 02:32:00 | 显示全部楼层 |阅读模式
编译的时候出现了如下的错误:
--------------------Configuration: mapedit - Win32 Debug--------------------
Compiling...
dialog.cpp
d:\游戏编程\金点时空\圣剑英雄传ii-番外篇(v1.3)\圣剑英雄传ii番外篇(源程序)\sword2_source\source\gamelib\gp_input.h(176) : error C2146: syntax error : missing ';' before identifier 'g_pDI'
d:\游戏编程\金点时空\圣剑英雄传ii-番外篇(v1.3)\圣剑英雄传ii番外篇(源程序)\sword2_source\source\gamelib\gp_input.h(176) : error C2501: 'g_pDI' : missing storage-class or type specifiers
mapedit.cpp
d:\游戏编程\金点时空\圣剑英雄传ii-番外篇(v1.3)\圣剑英雄传ii番外篇(源程序)\sword2_source\source\gamelib\gp_input.h(176) : error C2146: syntax error : missing ';' before identifier 'g_pDI'
d:\游戏编程\金点时空\圣剑英雄传ii-番外篇(v1.3)\圣剑英雄传ii番外篇(源程序)\sword2_source\source\gamelib\gp_input.h(176) : error C2501: 'g_pDI' : missing storage-class or type specifiers
Error executing cl.exe.

sword2_debug.exe - 4 error(s), 0 warning(s)


配置:
windows2000 + direct 9c

路径都已经包含了,库也包含拉.怎么回事??
请指教.

75

主题

385

帖子

400

积分

中级会员

Rank: 3Rank: 3

积分
400
发表于 2007-11-17 08:12:00 | 显示全部楼层

Re:请教圣剑英雄传ii-番外篇(v1.3)编译错误的解决方法

use directx 8.1

10

主题

24

帖子

26

积分

注册会员

Rank: 2

积分
26
 楼主| 发表于 2007-11-18 00:29:00 | 显示全部楼层

Re:请教圣剑英雄传ii-番外篇(v1.3)编译错误的解决方法

我知道如果用Directx 8.1好使,但是如果我装的是direct 9,我不打算装direct 8.1了.这个问题怎么处理???

16

主题

280

帖子

280

积分

中级会员

Rank: 3Rank: 3

积分
280
QQ
发表于 2007-11-18 08:03:00 | 显示全部楼层

Re:请教圣剑英雄传ii-番外篇(v1.3)编译错误的解决方法

弄个头文件和连接库就行了

10

主题

24

帖子

26

积分

注册会员

Rank: 2

积分
26
 楼主| 发表于 2007-11-18 21:42:00 | 显示全部楼层

Re:请教圣剑英雄传ii-番外篇(v1.3)编译错误的解决方法

现在我没有.麻烦给我给我发一个,谢谢拉.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2026-1-24 10:15

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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