Re: 為何我一直錯
|
||||
---|---|---|---|---|
中級會員
|
我看過許多人所PO的文章
也知道要設定設定值 我也設定了許多次的設定檔 linker找不到放 putcLCD() 的 *.o 或 *.obj 這應該不太可能八 因為我使用的是MCC裡面的DATA 照理來說,設定完成 應該是不會有這問題才對阿 還是我設定有問題 因為我是照書本上的設定去設定的
發表於: 2009/5/8 8:48
|
|||
|
Re: 為何我一直錯
|
||||
---|---|---|---|---|
版主
|
參照:
Make: The target "I:\Project_EX\LCD01.o" is up to date. 除了樓上所指出的錯誤外,感覺連組譯的動作都有問題,如上所示。如果還找不出來錯誤,建議將整個 Project 壓成 ZIP 檔傳送上來。 注意是壓成 ZIP 格式而不是 RAR.......
發表於: 2009/5/5 13:23
|
|||
|
Re: 為何我一直錯
|
||||
---|---|---|---|---|
高級會員
|
Error - could not find definition of symbol 'putcLCD' in file './LCD01.o'.
------>會不會是你的LCD01.c 中有用到 putcLCD() , 但 linker找不到放 putcLCD() 的 *.o 或 *.obj , 所以應該是你的project沒設定完全!! ------> 如同 jason680 大大 所說 , 找一下putcLCD相關的程式碼, 看看是放在那 ? project中有加進來嗎??
發表於: 2009/5/5 11:08
|
|||
|
Re: 為何我一直錯
|
||||
---|---|---|---|---|
資深會員
|
Error - could not find definition of symbol 'putcLCD' in file './LCD01.o'.
找一下putcLCD相關的程式碼,看一下囉!!!(有時只是宣告問題) "知錯"要"能改".
發表於: 2009/5/5 9:02
|
|||
|
Re: 為何我一直錯
|
||||
---|---|---|---|---|
資深會員
|
交寫錯了
發表於: 2009/5/5 2:15
|
|||
|
為何我一直錯
|
||||
---|---|---|---|---|
中級會員
|
----------------------------------------------------------------------
Debug build of project `I:\Project_EX\Text_01.mcp' started. Language tool versions: MPASMWIN.exe v5.30.01, mplink.exe v4.30.01, mcc18.exe v3.30 Preprocessor symbol `__DEBUG' is defined. Mon May 04 20:52:34 2009 ---------------------------------------------------------------------- Make: The target "I:\Project_EX\LCD01.o" is up to date. Make: The target "I:\Project_EX\Text_01.cof" is out of date. Executing: "C:\MCC18\bin\mplink.exe" /l"C:\MCC18\lib" /k"C:\Program Files\Microchip\MPASM Suite\LKR" /k"C:\MCC18\lkr" "C:\MCC18\lkr\18f4520.lkr" "LCD01.o" /u_CRUNTIME /u_DEBUG /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /w /o"Text_01.cof" MPLINK 4.30.01, Linker Copyright (c) 2009 Microchip Technology Inc. Error - could not find definition of symbol 'putcLCD' in file './LCD01.o'. Errors : 1 Link step failed. ---------------------------------------------------------------------- Debug build of project `I:\Project_EX\Text_01.mcp' failed. Language tool versions: MPASMWIN.exe v5.30.01, mplink.exe v4.30.01, mcc18.exe v3.30 Preprocessor symbol `__DEBUG' is defined. Mon May 04 20:52:34 2009 ---------------------------------------------------------------------- BUILD FAILED 請大家交交我
發表於: 2009/5/4 20:59
|
|||
|