|
马上注册,结交更多同行朋友,交流,分享,学习。
您需要 登录 才可以下载或查看,没有帐号?注册
x
老板叫我看看CATIA的二次开发,我以前一窍不通.现在才开始接触...感觉很难很难了
我按照书上的例子,本想做一个添加菜单栏的小例子,可我做了几次,都有很多错误。我把错误贴一下,大家帮我以下吧,感激不尽了!!!!!!!!
# mkmk-ERROR: ConstraintModulerUI -> This Framework was not found in specified Workspace(s).
# mkmk-ERROR: ConstraintModulerUI -> This Framework was not found in specified Workspace(s).
# mkmk-ERROR: MyFrame\PartDesignAddin.m -> Module [CATApplicationFrame.m] in LINK_WITH is ignored since it is in framework [F:\Dassault Systemes\B14\.\ApplicationFrame] which is not a direct prerequisite.
# mkmk-ERROR: MyFrame\PartDesignAddin.m -> Module [CATConstraintModelerUI.m] in LINK_WITH is ignored since it is in framework [F:\Dassault Systemes\B14\.\ConstraintModelerUI] which is not a direct prerequisite.
NewAddin.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class CATMetaClass * __stdcall CATCommandHeader::MetaObject(void)" (__imp_?MetaObject@CATCommandHeader@@SGPAVCATMetaClass@@XZ)
NewAddin.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CATCommandHeader::Init(class CATString const &,class CATString const &,class CATString const &)" (?Init@CATCommandHeader@@MAEXABVCATString@@00@Z)
NewAddin.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CATCommandHeader:oHide(void)" (?DoHide@CATCommandHeader@@MAEXXZ)
....以下都是跟上面一样的错误.
我不知道我那一步搞错了.
还有为什么添加组件的时候,必须set as active project...等等
有没有人发个类似的例子给我,我真的感激不尽了.我的油箱:lsshuhuhuhu@sohu.com |
|