序用PIC18F46K80作为处理器,MPLABX为IDE,在写完程序时编译无法通过,会报大量的warning、error。经查阅资料和反复安装IDE,得出结果是交叉编译环境安装不对。提示的warning、error,,,error: (195) expression syntax(902) no chip name specified; use "PICC18 --CHIPINFO" to see available chip names(908) exit status = 1p18f46k