iCAx开思网

标题: 我做一个CAA例子,出现这些错误,希望大侠指点! [打印本页]

作者: wolfsky1982    时间: 2005-11-18 10:59
标题: 我做一个CAA例子,出现这些错误,希望大侠指点!
== cmd /c mkmk  -u  CmdModule.m ==========================================================


## start step: CIbuild   at 11/18/2005-10:45:49
# make: MyFrame1 intel_a\code\productIC\MyFrame1IC.script
## end   step: CIbuild   at 11/18/2005-10:45:49

## start step: DataUpdate   at 11/18/2005-10:45:49
# make:  MyFrame1\IdentityCard\Objects\intel_a\.mkdata.mk
## end   step: DataUpdate   at 11/18/2005-10:45:52

## start step: DataUpdate   at 11/18/2005-10:45:52
# mkmk-WARNING: MyFrame1\CmdModule.m -> Module [CATMathStream.m], which is define as an

alias, was automatically added in LINK_WITH.
# make:  MyFrame1\CmdModule.m\Objects\intel_a\.mkdata.mk
## end   step: DataUpdate   at 11/18/2005-10:45:56

## start step: headerlist   at 11/18/2005-10:45:56
# make:  MyFrame1\various\intel_a\HList\ProtectedInterfaces.hl
# make:  MyFrame1\various\intel_a\HList\PublicInterfaces.hl
# make:  MyFrame1\various\intel_a\HList\PrivateInterfaces.hl
## end   step: headerlist   at 11/18/2005-10:45:56

## start step: headermap   at 11/18/2005-10:45:56
# make:  MyFrame1\ImportedInterfaces\intel_a\.HeaderTable.map
## end   step: headermap   at 11/18/2005-10:45:59

## start step: grammar1st   at 11/18/2005-10:45:59
# make:  MyFrame1\CmdModule.m\LocalGenerated\intel_a\mkCAAV5Licensing.cpp
mkCAAV5Licensing.cpp.CPP
## end   step: grammar1st   at 11/18/2005-10:46:00

## start step: headerlist   at 11/18/2005-10:46:00
## end   step: headerlist   at 11/18/2005-10:46:00

## start step: headermap   at 11/18/2005-10:46:00
## end   step: headermap   at 11/18/2005-10:46:00

## start step: grammar2nd   at 11/18/2005-10:46:00
## end   step: grammar2nd   at 11/18/2005-10:46:00

## start step: headerlist   at 11/18/2005-10:46:00
## end   step: headerlist   at 11/18/2005-10:46:00

## start step: headermap   at 11/18/2005-10:46:00
## end   step: headermap   at 11/18/2005-10:46:00

## start step: headerruler   at 11/18/2005-10:46:00
# make: MyFrame1 MyFrame1\PublicInterfaces\PartAddin.h
# make: MyFrame1 MyFrame1\PublicInterfaces\CmdModule.h
## end   step: headerruler   at 11/18/2005-10:46:00

## start step: compilation   at 11/18/2005-10:46:00
# make:  MyFrame1\CmdModule.m\src\TestCmd.cpp
TestCmd.cpp
# make:  MyFrame1\CmdModule.m\src\TestDialog.cpp
TestDialog.cpp
E:\caa_exercise\mytestAddin\.\MyFrame1\CmdModule.m\src\TestDialog.cpp(61) : error C2065:

'_PushButton001' : undeclared identifier
E:\caa_exercise\mytestAddin\.\MyFrame1\CmdModule.m\src\TestDialog.cpp(61) : error C2440:

'=' : cannot convert from 'class CATDlgPushButton *' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
E:\caa_exercise\mytestAddin\.\MyFrame1\CmdModule.m\src\TestDialog.cpp(62) : error C2227:

left of '->SetGridConstraints' must point to class/struct/union
E:\caa_exercise\mytestAddin\.\MyFrame1\CmdModule.m\src\TestDialog.cpp(67) : error C2227:

left of '->GetCreateNotification' must point to class/struct/union
E:\caa_exercise\mytestAddin\.\MyFrame1\CmdModule.m\src\TestDialog.cpp(82) : error C2227:

left of '->GetPushBActivateNotification' must point to class/struct/union
# make-ERROR: MyFrame1\CmdModule.m\src\TestDialog.cpp
# make:  MyFrame1\CmdModule.m\LocalGenerated\intel_a\mkCAAV5Licensing.cpp
mkCAAV5Licensing.cpp
## end   step: compilation   at 11/18/2005-10:46:06

## start step: link1st   at 11/18/2005-10:46:06
# make: MyFrame1\CmdModule.m intel_a\code\lib\CmdModule.lib
# syst-ERROR:

E:\caa_exercise\mytestAddin\.\MyFrame1\CmdModule.m\Objects\intel_a\TestDialog.obj: No such

file or directory
# make-ERROR: intel_a\code\lib\CmdModule.lib
## end   step: link1st   at 11/18/2005-10:46:06

## start step: link2nd   at 11/18/2005-10:46:06
# make: MyFrame1\CmdModule.m intel_a\code\bin\CmdModule.dll
# syst-ERROR:

E:\caa_exercise\mytestAddin\.\MyFrame1\CmdModule.m\Objects\intel_a\TestDialog.obj: No such

file or directory
# syst-ERROR: E:\caa_exercise\mytestAddin\.\intel_a\code\lib\CmdModule.exp: No such file or

directory
# make-ERROR: intel_a\code\bin\CmdModule.dll
## end   step: link2nd   at 11/18/2005-10:46:06

## start step: dummynls   at 11/18/2005-10:46:06
# make: MyFrame1 MyFrame1\CNext\resources\msgcatalog\TestCmd.CATNls
# make: MyFrame1 MyFrame1\CNext\resources\msgcatalog\TestDialog.CATNls
## end   step: dummynls   at 11/18/2005-10:46:06

== Command done, return code = 0


== cmd /c mkmk  -u  PartAddin.m ==========================================================


## start step: CIbuild   at 11/18/2005-10:46:07
## end   step: CIbuild   at 11/18/2005-10:46:07

## start step: DataUpdate   at 11/18/2005-10:46:07
# make:  MyFrame1\IdentityCard\Objects\intel_a\.mkdata.mk
## end   step: DataUpdate   at 11/18/2005-10:46:07

## start step: DataUpdate   at 11/18/2005-10:46:07
# mkmk-ERROR: MyFrame1\PartAddin.m -> Module [CATMechanicalModelerUI.m] in LINK_WITH is

ignored since it is in framework [D:\CATIA\B14\.\MechanicalModelerUI] which is not a direct

prerequisite.
# mkmk-ERROR: MyFrame1\PartAddin.m -> Module [MechanicalModelerUIUUID.m] in LINK_WITH is

ignored since it is in framework [D:\CATIA\B14\.\MechanicalModelerUI] which is not a direct

prerequisite.
# mkmk-WARNING: MyFrame1\PartAddin.m -> Module [CATConstraintModelerUI.m], which is define

as an alias, was automatically added in LINK_WITH.
# make:  MyFrame1\PartAddin.m\Objects\intel_a\.mkdata.mk
## end   step: DataUpdate   at 11/18/2005-10:46:08

## start step: headerlist   at 11/18/2005-10:46:08
## end   step: headerlist   at 11/18/2005-10:46:08

## start step: headermap   at 11/18/2005-10:46:08
## end   step: headermap   at 11/18/2005-10:46:08

## start step: grammar1st   at 11/18/2005-10:46:08
# make:  MyFrame1\PartAddin.m\LocalGenerated\intel_a\mkCAAV5Licensing.cpp
mkCAAV5Licensing.cpp.CPP
## end   step: grammar1st   at 11/18/2005-10:46:08

## start step: headerlist   at 11/18/2005-10:46:08
## end   step: headerlist   at 11/18/2005-10:46:08

## start step: headermap   at 11/18/2005-10:46:08
## end   step: headermap   at 11/18/2005-10:46:08

## start step: grammar2nd   at 11/18/2005-10:46:08
## end   step: grammar2nd   at 11/18/2005-10:46:08

## start step: headerlist   at 11/18/2005-10:46:08
## end   step: headerlist   at 11/18/2005-10:46:08

## start step: headermap   at 11/18/2005-10:46:08
## end   step: headermap   at 11/18/2005-10:46:08

## start step: headerruler   at 11/18/2005-10:46:08
# make: MyFrame1 MyFrame1\PublicInterfaces\PartAddin.h
# make: MyFrame1 MyFrame1\PublicInterfaces\CmdModule.h
## end   step: headerruler   at 11/18/2005-10:46:08

## start step: compilation   at 11/18/2005-10:46:08
# make:  MyFrame1\PartAddin.m\src\MyAddin.cpp
MyAddin.cpp
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2018:

unknown character '0xa1'
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2018:

unknown character '0xb0'
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2018:

unknown character '0xa1'
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2018:

unknown character '0xb1'
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2065:

'point' : undeclared identifier
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2018:

unknown character '0xa1'
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2018:

unknown character '0xb0'
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2018:

unknown character '0xa1'
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2018:

unknown character '0xb1'
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2065:

'CmdModule' : undeclared identifier
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2018:

unknown character '0xa1'
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2018:

unknown character '0xb0'
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2018:

unknown character '0xa1'
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2018:

unknown character '0xb1'
E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\src\MyAddin.cpp(80) : error C2065:
作者: wolfsky1982    时间: 2005-11-18 11:11
'TestCmd' : undeclared identifier
# make-ERROR: MyFrame1\PartAddin.m\src\MyAddin.cpp
# make:  MyFrame1\PartAddin.m\LocalGenerated\intel_a\mkCAAV5Licensing.cpp
mkCAAV5Licensing.cpp
## end   step: compilation   at 11/18/2005-10:46:11

## start step: link1st   at 11/18/2005-10:46:11
# make: MyFrame1\PartAddin.m intel_a\code\lib\PartAddin.lib
# syst-ERROR:

E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\Objects\intel_a\MyAddin.obj: No such

file or directory
# make-ERROR: intel_a\code\lib\PartAddin.lib
## end   step: link1st   at 11/18/2005-10:46:12

## start step: link2nd   at 11/18/2005-10:46:12
# make: MyFrame1\PartAddin.m intel_a\code\bin\PartAddin.dll
# syst-ERROR:

E:\caa_exercise\mytestAddin\.\MyFrame1\PartAddin.m\Objects\intel_a\MyAddin.obj: No such

file or directory
# syst-ERROR: E:\caa_exercise\mytestAddin\.\intel_a\code\lib\PartAddin.exp: No such file or

directory
# make-ERROR: intel_a\code\bin\PartAddin.dll
## end   step: link2nd   at 11/18/2005-10:46:12

## start step: dummynls   at 11/18/2005-10:46:12
## end   step: dummynls   at 11/18/2005-10:46:12

== Command done, return code = 0

Tool returned code: 0
作者: hick    时间: 2005-11-18 11:14
仔细看看,这种错误不应该有的
(可能是以下几个,参考)
1._PushButton001' : undeclared identifier, CATDlgPushButton  缺少头文件或者未声明
2.MechanicalModelerUI ,加入到 define prerequisite framework
3.unknown character '0xb1',可能是你有的地方用了中文输入法,例如中文的,“等
作者: wolfsky1982    时间: 2005-11-18 11:14
麻烦大家给看看,我是看ruanxiao2兄上传的那个CAA基础资料上的例子做的,这个问题是出在哪里呢?
作者: wolfsky1982    时间: 2005-11-18 11:16
谢谢hick兄,我再看看我程序中是不是出现了你所说的那个问题




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3