請教下用IAR編譯CH375程序的流程,我用的是 IAR MSP430 C/C++ Compiler V3.42A/W32 [Evaluation] 這個版本的,但總是編譯不過。開始時我沒有加載CH375HF8.R43這個文件,顯示錯誤 Error[e46]: Undefined external "CH375FileReadX" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "CH375FileWriteX" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "CH375LibConfig" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "CH375GetVer" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "pDISK_BASE_BUF" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "CH375Init" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "CH375DiskStatus" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "CH375DiskConnect" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "CH375DiskReady" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "CH375vSectorSize" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "CH375FileOpen" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "CH375vFileSize" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "CH375FileClose" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "CH375FileCreate" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 ) Error[e46]: Undefined external "CH375FileModify" referred in main ( F:\QLT\430program\ch375\Debug\Obj\main.r43 )
我加載CH375HF8.R43這個文件后顯示錯誤為 Error[e117]: Incompatible runtime models. Module CH375MAI specifies that '__rt_version' must be '1', but module main 請教下應(yīng)怎么編譯。謝謝??!