CH375库文件编译出错

编译器ICC7.14 错误 C:\iccv7avr\bin\imakew -f USB.mak iccavr -c -IC:\icc\include\ -e -D__ICC_VERSION="7.14C" -DATMEGA -DATMega128 -l -g -Mavr_enhanced -Wf-use_elpm E:\avr\USB1\CH375HFT.C iccavr -o USB -LC:\icc\lib\ -g -e:0x20000 -ucrtatmega.o -bfunc_lit:0x60.0x20000 -dram_end:0xfff -bdata:0x60.0xfff -dhwstk_size:16 -beeprom:0.4096 -fihx_coff -S2 @USB.lk E:\avr\USB1\CH375HFB.A -lcatm128 !ERROR file 'CH375MAI.o': undefined symbol 'push_gset1' !ERROR file 'CH375MAI.o': undefined symbol 'push_gset2' !ERROR file 'CH375MAI.o': undefined symbol 'push_gset3' !ERROR file 'CH375MAI.o': undefined symbol 'push_gset4' !ERROR file 'CH375SEC.o': undefined symbol 'push_gset5' !ERROR file 'CH375MAI.o': undefined symbol 'pop_gset1' !ERROR file 'CH375MAI.o': undefined symbol 'pop_gset2' !ERROR file 'CH375MAI.o': undefined symbol 'pop_gset3' !ERROR file 'CH375MAI.o': undefined symbol 'pop_gset4' !ERROR file 'CH375SEC.o': undefined symbol 'pop_gset5' !ERROR Function 'putchar' not defined. This is a hardware dependent function, and it is not included in the ICCAVR default library. Please implement this function to match your target requirements. You can find examples of this function under the \examples.AVR directory. Make a copy of a suitable example, add it to your project and modify it if needed. The source code must #include the appropriate C header file (e.g. stdio.h) as it contains the special compiler pragma for 'putchar'.

C:\iccv7avr\bin\imakew.exe: Error code 1 Done: there are error(s). Exit code: 1. Sun Feb 22 13:40:21 2009

ICC7.14不能使用ICC6.31的库,需要使用我们7.41的库才行


那6.31A是不是也不能用6.31的库


可以的,只要你的编译器是6.31的话,就可以用6.31的库,至于添加库的方法的话,你可以到这里去参考下: /bbs/View.asp?S=101&I=1511


thanks,已经编译通过,奇怪了,昨天编译还通不过呢,卸了又装,装了又卸,今天又装上了,不过今天用的注册机跟昨天的不一样,呵呵o(∩_∩)o...


只有登录才能回复,可以选择微信账号登录