官方淘宝店 易迪拓培训 旧站入口
首页 > 仿真设计 > ADS仿真设计论坛 > 关于ADS的User-defined model问题

关于ADS的User-defined model问题

05-08
我在参照ADS 2006A的HELP文档中的Example - Creating a New User-Compiled Analog Model操作时,最后Compile却出现以下错误:
D:\ADS2006A/modelbuilder/lib/make-rules.mk:254: static-dependencies_win32.mk: No such file or directory
rm -f static-dependencies_win32.mk
for f in MyModel_h.c userindx.c cui_indx.c  ; do echo `dirname $f`/obj.win32/`basename $f .c`.obj:: $f `dirname $f`/obj.win32 ; echo '    $(call COMPILE.c, /Fo$@ $<)'; echo `dirname $f`/obj.win32: ; echo "    -@mkdir `dirname $f`/obj.win32"; echo " " ; done >> static-dependencies_win32.mk
bash.exe: warning: could not find /tmp, please create!
static-dependencies_win32.mk:9: warning: overriding commands for target `obj.win32'
static-dependencies_win32.mk:4: warning: ignoring old commands for target `obj.win32'
static-dependencies_win32.mk:14: warning: overriding commands for target `obj.win32'
static-dependencies_win32.mk:9: warning: ignoring old commands for target `obj.win32'
cl /W4 /nologo /TC /MD /Zi /Yd /D _DEBUG  -I../../networks -I../../userCompiledModel/source -ID:/ADS2006A/modelbuilder/include /Dfar=far_p /Dnear=near_p /DNO_MALLOC_MACRO /DWIN32 /U_WINDOWS /D_CONSOLE /D_MBCS /DWIN32_LEAN_AND_MEAN /D_AFXDLL /DWINVER=0x0500 /c  /Foobj.win32/MyModel_h.obj MyModel_h.c 
make: cl: Command not found
make: *** [obj.win32/MyModel_h.obj] Error 127
static-dependencies_win32.mk:9: warning: overriding commands for target `obj.win32'
static-dependencies_win32.mk:4: warning: ignoring old commands for target `obj.win32'
static-dependencies_win32.mk:14: warning: overriding commands for target `obj.win32'
static-dependencies_win32.mk:9: warning: ignoring old commands for target `obj.win32'
rm -f static-dependencies_win32.mk
for f in MyModel_h.c userindx.c cui_indx.c  ; do echo `dirname $f`/obj.win32/`basename $f .c`.obj:: $f `dirname $f`/obj.win32 ; echo '    $(call COMPILE.c, /Fo$@ $<)'; echo `dirname $f`/obj.win32: ; echo "    -@mkdir `dirname $f`/obj.win32"; echo " " ; done >> static-dependencies_win32.mk
bash.exe: warning: could not find /tmp, please create!
static-dependencies_win32.mk:9: warning: overriding commands for target `obj.win32'
static-dependencies_win32.mk:4: warning: ignoring old commands for target `obj.win32'
static-dependencies_win32.mk:14: warning: overriding commands for target `obj.win32'
static-dependencies_win32.mk:9: warning: ignoring old commands for target `obj.win32'
cl /W4 /nologo /TC /MD /Zi /Yd /D _DEBUG  -I../../networks -I../../userCompiledModel/source -ID:/ADS2006A/modelbuilder/include /Dfar=far_p /Dnear=near_p /DNO_MALLOC_MACRO /DWIN32 /U_WINDOWS /D_CONSOLE /D_MBCS /DWIN32_LEAN_AND_MEAN /D_AFXDLL /DWINVER=0x0500 /c  /Foobj.win32/MyModel_h.obj MyModel_h.c 
make: cl: Command not found
make: *** [obj.win32/MyModel_h.obj] Error 127
D:\ADS2006A/modelbuilder/lib/make-rules.mk:254: dynamic-dependencies_win32.mk: No such file or directory
rm -f dynamic-dependencies_win32.mk
for f in MyModel_h.c userindx.c cui_indx.c D:/900MHzVCO_prj/userCompiledModel/source/MyModel_h.c  ; do echo `dirname $f`/obj.win32/`basename $f .c`.obj:: $f `dirname $f`/obj.win32 ; echo '    $(call COMPILE.c, /Fo$@ $<)'; echo `dirname $f`/obj.win32: ; echo "    -@mkdir `dirname $f`/obj.win32"; echo " " ; done >> dynamic-dependencies_win32.mk
bash.exe: warning: could not find /tmp, please create!
for f in MyModel_DYNAMIC.cxx  ; do echo `dirname $f`/obj.win32/`basename $f .cxx`.obj:: $f `dirname $f`/obj.win32 ; echo '    $(call COMPILE.cxx, /Fo$@ $<)'; echo `dirname $f`/obj.win32: ; echo "    -@mkdir `dirname $f`/obj.win32"; echo " " ; done >>  dynamic-dependencies_win32.mk
bash.exe: warning: could not find /tmp, please create!
dynamic-dependencies_win32.mk:9: warning: overriding commands for target `obj.win32'
dynamic-dependencies_win32.mk:4: warning: ignoring old commands for target `obj.win32'
dynamic-dependencies_win32.mk:14: warning: overriding commands for target `obj.win32'
dynamic-dependencies_win32.mk:9: warning: ignoring old commands for target `obj.win32'
dynamic-dependencies_win32.mk:24: warning: overriding commands for target `obj.win32'
dynamic-dependencies_win32.mk:14: warning: ignoring old commands for target `obj.win32'
cl /W4 /nologo /TC /MD /Zi /Yd /D _DEBUG  -I../../networks -I../../userCompiledModel/source -ID:/ADS2006A/modelbuilder/include /Dfar=far_p /Dnear=near_p /DNO_MALLOC_MACRO /DWIN32 /U_WINDOWS /D_CONSOLE /D_MBCS /DWIN32_LEAN_AND_MEAN /D_AFXDLL /DWINVER=0x0500 /c  /Foobj.win32/MyModel_h.obj MyModel_h.c 
make: cl: Command not found
make: *** [obj.win32/MyModel_h.obj] Error 127
请高手指点!

Top