游戏开发论坛

 找回密码
 立即注册
搜索
查看: 8235|回复: 0

dll 链接不一致 ,怎么回事?

[复制链接]

31

主题

249

帖子

259

积分

中级会员

Rank: 3Rank: 3

积分
259
发表于 2007-11-10 20:54:00 | 显示全部楼层 |阅读模式
我想写一个静态连接库,里面一个类继承CEGUI:Editbox,但是出现这样的输出

1>f:\myfile\vcnet\orge\orge01\orge01\ceguiimeeditbox.cpp(6) : warning C4273: “CEGUI::IMEEditbox::IMEEditbox”: dll 链接不一致
1>        f:\myfile\vcnet\orge\orge01\orge01\ceguiimeeditbox.hpp(20) : 参见“{ctor}”的前一个定义
1>f:\myfile\vcnet\orge\orge01\orge01\ceguiimeeditbox.cpp(6) : error C2512: “CEGUI::Editbox”: 没有合适的默认构造函数可用
1>f:\myfile\vcnet\orge\orge01\orge01\ceguiimeeditbox.cpp(9) : warning C4273: “CEGUI::IMEEditbox::~IMEEditbox”: dll 链接不一致
1>        f:\myfile\vcnet\orge\orge01\orge01\ceguiimeeditbox.hpp(21) : 参见“{dtor}”的前一个定义
1>f:\myfile\vcnet\orge\orge01\orge01\ceguiimeeditbox.cpp(12) : warning C4273: “CEGUI::IMEEditbox::MsgProc”: dll 链接不一致
1>        f:\myfile\vcnet\orge\orge01\orge01\ceguiimeeditbox.hpp(22) : 参见“MsgProc”的前一个定义

怎么回事?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-6-19 03:59

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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