游戏开发论坛

 找回密码
 立即注册
搜索
查看: 3391|回复: 2

编译engine 问题

[复制链接]

3

主题

15

帖子

21

积分

注册会员

Rank: 2

积分
21
发表于 2003-12-28 16:19:00 | 显示全部楼层 |阅读模式
我的vc6++在commond(w98) 状态下 不能运行build_hl2.bat(环境设完运行不了),在集成环境下编译engine 有如下错误,请大家帮看看
详细见附件
--------------------Configuration: engine - Win32 Dedicated Release--------------------
Linking...
   Creating library engine___Win32_Dedicated_Release/swds.lib and object engine___Win32_Dedicated_Release/swds.exp
bugreporter.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall vgui2::Frame::GetClientArea(int &,int &,int &,int &)" (?GetClientArea@Frame@vgui2@@MAEXAAH000@Z)
bugreporter.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall vgui2::Frame::GetDefaultScreenPosition(int &,int &,int &,int &)" (?GetDefaultScreenPosition@Frame@vgui2@@MAE_NAAH000@Z)
bugreporter.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall vgui2::Frame::OnMinimizeToSysTray(void)" (?OnMinimizeToSysTray@Frame@vgui2@@MAEXXZ)
GameEventManager.obj : error LNK2001: unresolved external symbol "public: void __thiscall KeyValues::SetFloat(char const *,float)" (?SetFloat@KeyValues@@QAEXPBDM@Z)
GameEventManager.obj : error LNK2001: unresolved external symbol "public: enum KeyValues::types_t  __thiscall KeyValues::GetDataType(char const *)" (?GetDataType@KeyValues@@QAE?AW4types_t@1@PBD@Z)
GameEventManager.obj : error LNK2001: unresolved external symbol "public: bool __thiscall KeyValues:oadFromFile(class IBaseFileSystem *,char const *,char const *)" (?LoadFromFile@KeyValues@@QAE_NPAVIBaseFileSystem@@PBD1@Z)
GameEventManager.obj : error LNK2001: unresolved external symbol "public: class KeyValues * __thiscall KeyValues::MakeCopy(void)" (?MakeCopy@KeyValues@@QAEPAV1@XZ)
Host.obj : error LNK2001: unresolved external symbol "public: __thiscall KeyValues::KeyValues(char const *,char const *,char const *)" (??0KeyValues@@QAE@PBD00@Z)
Sv_main.obj : error LNK2001: unresolved external symbol "public: __thiscall KeyValues::KeyValues(char const *,char const *,char const *)" (??0KeyValues@@QAE@PBD00@Z)
Host.obj : error LNK2001: unresolved external symbol "public: float __thiscall CClientState::getframetime(void)const " (?getframetime@CClientState@@QBEMXZ)
engine_Dedicated_Release/swds.dll : fatal error LNK1120: 195 unresolved externals
Error executing link.exe.

swds.dll - 208 error(s), 0 warning(s)

sf_20031228161939.rar

3.86 KB, 下载次数:

15

主题

155

帖子

157

积分

注册会员

Rank: 2

积分
157
发表于 2003-12-28 20:25:00 | 显示全部楼层

Re:编译engine 问题

把编译配置项改成 debug 或者 release 就可以编译了

3

主题

15

帖子

21

积分

注册会员

Rank: 2

积分
21
 楼主| 发表于 2003-12-29 08:44:00 | 显示全部楼层

Re:编译engine 问题

谢谢 回去试试
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-5-11 00:48

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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