Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

学习到“07_控件消息响应处理”的时候,提示:“无法解析的外部符号DuiLib::WindowImplBase::messageMap” #2

Open
duqingnian opened this issue Oct 24, 2019 · 1 comment

Comments

@duqingnian
Copy link

添加了:
DUI_BEGIN_MESSAGE_MAP(MainWndFrame, CNotifyPump) DUI_ON_MSGTYPE(DUI_MSGTYPE_CLICK, OnClick) DUI_END_MESSAGE_MAP()之后,提示如下:
错误 1 error LNK2001: 无法解析的外部符号 "protected: static struct DuiLib::DUI_MSGMAP const DuiLib::WindowImplBase::messageMap" (?messageMap@WindowImplBase@DuiLib@@1UDUI_MSGMAP@2@B) C:\Users\Documents\Visual Studio 2013\Projects\Helloworld\Helloworld\MainWndFrame.obj Helloworld
,请问这个是哪里做错了吗?

@nmgwddj
Copy link
Owner

nmgwddj commented Dec 13, 2019

@duqingnian 你可以把自己的代码与教程中的代码做一下对照,我已经开始计划做新的一套基于 NIM Duilib 的教程,这份教程可能不再更新了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants