游戏开发论坛

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

发布一个HoHo 5.x的静态库版本

[复制链接]

1万

主题

1万

帖子

2万

积分

管理员

中级会员

Rank: 9Rank: 9Rank: 9

积分
20527
发表于 2004-6-16 00:43:00 | 显示全部楼层 |阅读模式
不知道能不能用,时间关系,没仔细测试,应该是没什么问题。

http://www.gameres.com/HoHo/StaticLib5.rar



还有一个以前久的静态库版本
http://www.gameres.com/HoHo/HoHo Static Library.rar
[em1]

11

主题

117

帖子

341

积分

中级会员

Rank: 3Rank: 3

积分
341
发表于 2004-6-16 10:03:00 | 显示全部楼层

Re:发布一个HoHo 5.x的静态库版本

多谢,-¥-

11

主题

117

帖子

341

积分

中级会员

Rank: 3Rank: 3

积分
341
发表于 2004-6-21 07:56:00 | 显示全部楼层

Re:发布一个HoHo 5.x的静态库版本

不行哦。我用新的.h文件和.lib文件编译,出现这样的提示:
Element.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class iBitmapX * g_pScreenBuffer" (__imp_?g_pScreenBuffer@@3PAViBitmapX@@A)
GameMap.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class iBitmapX * g_pScreenBuffer" (__imp_?g_pScreenBuffer@@3PAViBitmapX@@A)
MainWnd.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class iKeyboard * __cdecl CreateKeyboard(struct HINSTANCE__ *,struct HWND__ *)" (__imp_?CreateKeyboard@@YAPAViKeyboard@@PAUHINSTANCE__@@PAUHWND__@@@Z)
MainWnd.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class iMouse * __cdecl CreateMouse(struct HINSTANCE__ *,struct HWND__ *)" (__imp_?CreateMouse@@YAPAViMouse@@PAUHINSTANCE__@@PAUHWND__@@@Z)
MainWnd.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class iDisplay * g_pDisplay" (__imp_?g_pDisplay@@3PAViDisplay@@A)
MainWnd.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class iDisplay * __cdecl CreatePlane2D(struct HWND__ *,int,int,bool,bool)" (__imp_?CreatePlane2D@@YAPAViDisplay@@PAUHWND__@@HH_N1@Z)
F:\DevApp\Plane\Plane.exe : fatal error LNK1120: 5 unresolved externals
加了语句:#pragma comment(lib,"HoHo_Base.lib")和把lib文件加到工程中也不行。
  看来要作调整才行啊。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-7-4 10:32

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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