找回密码 注册 QQ登录
一站式解决方案

iCAx开思网

CAD/CAM/CAE/设计/模具 高清视频【积分说明】如何快速获得积分?快速3D打印 手板模型CNC加工服务在线3D打印服务,上传模型,自动报价
查看: 19192|回复: 4
打印 上一主题 下一主题

询问一个CAA的错误提示

[复制链接]
跳转到指定楼层
1
发表于 2004-9-6 12:59:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多同行朋友,交流,分享,学习。

您需要 登录 才可以下载或查看,没有帐号?注册

x
以前是只要insert一个CATDialog之后
不做任何回调
就会提示错误 
  
现在只是新建了一个工具条和按钮
但是在响应函数中添加了一个CATDlgNotify测试一下
结果编译就出现问题了
添加的是:
CAACafSearchCmd::CAACafSearchCmd() :
CATCommand (NULL, "CAACafSearchCmd")
{
CATApplicationFrame *pApplication = CATApplicationFrame::GetFrame();  
 if (NULL != pApplication) {      
  CATDlgWindow * pMainWindow = pApplication->GetMainWindow();
   CATDlgNotify *pNotifyDlg = new CATDlgNotify
     (pMainWindow, "MyButtonAccess", CATDlgNfyOK);
   if (NULL != pNotifyDlg) {
pNotifyDlg->DisplayBlocked
("message displayed ","Title");
  pNotifyDlg->RequestDelayedDestruction();  
  }
    }
RequestDelayedDestruction();
}
提示的错误是:
  make: MyAddinButton\MyDrawButton.m intel_a\code\bin\MyDrawButton.dll
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall CATDialog::GetResourceFilename(int)const " (?GetResourceFilename@CATDialog@@UBEPADH@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CATDlgNotify::ResetLetterObject(void)" (?ResetLetterObject@CATDlgNotify@@UAEXXZ)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual class l_CATDialog * __thiscall CATDlgNotify::GetLetterObject(void)" (?GetLetterObject@CATDlgNotify@@UAEPAVl_CATDialog@@XZ)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CATDialog::RestoreState(class CATNotification *,class CATMarshal &)" (?RestoreState@CATDialog@@UAEHPAVCATNotification@@AAVCATMarshal@@@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CATDialog::SaveState(class CATNotification *,class CATMarshal &)" (?SaveState@CATDialog@@UAEHPAVCATNotification@@AAVCATMarshal@@@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual enum CATStatusChangeRC __thiscall CATDialog::Cancel(class CATCommand *,class CATNotification *)" (?Cancel@CATDialog@@UAE?AW4CATStatusChangeRC@@PAVCATCommand@@PAVCATNotification@@@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual enum CATStatusChangeRC __thiscall CATDialog::Desactivate(class CATCommand *,class CATNotification *)" (?Desactivate@CATDialog@@UAE?AW4CATStatusChangeRC@@PAVCATCommand@@PAVCATNotification@@@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual enum CATStatusChangeRC __thiscall CATDialog::Activate(class CATCommand *,class CATNotification *)" (?Activate@CATDialog@@UAE?AW4CATStatusChangeRC@@PAVCATCommand@@PAVCATNotification@@@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual class CATString & __thiscall CATDialog::GetName(void)" (?GetName@CATDialog@@UAEAAVCATString@@XZ)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CATDlgNotify::IsAKindOf(char const *)const " (?IsAKindOf@CATDlgNotify@@UBEHPBD@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall CATDlgNotify::IsA(void)const " (?IsA@CATDlgNotify@@UBEPBDXZ)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual class CATMetaClass * __stdcall CATDlgNotify::GetMetaObject(void)const " (?GetMetaObject@CATDlgNotify@@UBGPAVCATMetaClass@@XZ)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall CATDlgNotify::DisplayBlocked(class CATUnicodeString const &,class CATUnicodeString const &)" (__imp_?DisplayBlocked@CATDlgNotify@@QAEHABVCATUnicodeString@@0@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall CATDlgNotify::CATDlgNotify(class CATDialog *,class CATString const &,unsigned long)" (__imp_??0CATDlgNotify@@QAE@PAVCATDialog@@ABVCATString@@K@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall CATDlgNotify::~CATDlgNotify(void)" (__imp_??1CATDlgNotify@@UAE@XZ)
E:\hcl\temp\HechaoliangAddin\.\intel_a\code\bin\MyDrawButton.dll : fatal error LNK1120: 15 unresolved externals
# make-ERROR: intel_a\code\bin\MyDrawButton.dll
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 赞一下!赞一下!
2
发表于 2004-9-6 13:05:06 | 只看该作者
添加对话框的错误提示是:
  
== cmd /c mkmk  -u -g  CAAPuiPRDWorkshopConfig.m =========================================
  
## start step: CIbuild   at 09/06/2004-13:05:54
# make: CAAProductStructureUI.edu intel_a\code\productIC\CAAProductStructureUI.eduIC.script
Script Error >>> method: <AddPrereqComponent>, argument: <"ObjectSpecsModeler"  AddPrereqComponent("ApplicationFrame"> not valid <<<
Script Error >>> file: E:\UsercaseWorkspace\CreatingWorkbench\CAAProductStructureUI.edu\IdentityCard\IdentityCard.h line: 16 compilation fa## end   step: CIbuild   at 09/06/2004-13:05:55
  
## start step: DataUpdate   at 09/06/2004-13:05:55
iled <<<
# mkmk-ERROR: Identity card: error while compiling CAAProductStructureUI.edu from E:\UsercaseWorkspace\CreatingWorkbench\.\CAAProductStructureUI.edu\IdentityCard\IdentityCard.h
# make-ERROR: intel_a\code\productIC\CAAProductStructureUI.eduIC.script
# mkmk-ERROR: CAAProductStructureUI.edu -> The script of the identity card can not be load.
# mkmk-ERROR: CAAProductStructureUI.edu -> The script of the identity card can not be load.
# mkmk-ERROR: CAAProductStructureUI.edu -> This FrameWork is not a valid object due to previous error:## end   step: DataUpdate   at 09/06/2004-13:05:55
  
## start step: DataUpdate   at 09/06/2004-13:05:55
## end   step: DataUpdate   at 09/06/2004-13:05:55
  
# mkmk-ERROR: CAAProductStructureUI.edu -> The script of the identity card can not be load.
# mkmk-ERROR: CAAProductStructureUI.edu -> This Framework is not a valid object due to previous error:
  
== Command done, return code = 0
  
Tool returned code: 0
3
发表于 2004-9-6 13:09:22 | 只看该作者
acoka说是确认IdentityFile里有ApplicationFrame  
  IMakefile里有CATApplicationFrame  
不过对那里面的东西不太理解的
4
发表于 2004-9-6 13:16:08 | 只看该作者
推荐用CATMMUIStateCommand以上的做基底,CATCommand功能太少,自己要定义的东西太多
  
你给的错误基本都是link找不到
5
发表于 2004-9-6 15:42:53 | 只看该作者
是啊
很容易出现link的问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

3D打印手板模型快速制作服务,在线报价下单!

QQ 咨询|手机版|联系我们|iCAx开思网  

GMT+8, 2024-12-23 18:19 , Processed in 0.027588 second(s), 11 queries , Gzip On, Redis On.

Powered by Discuz! X3.3

© 2002-2024 www.iCAx.org

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