• slider image 442
  • slider image 497
  • slider image 498
  • slider image 499
  • slider image 500
  • slider image 502
:::


Browsing this Thread:   1 Anonymous Users






Re: BuildAll 出現的問題
#2
資深會員
資深會員


查看用戶資訊
2020.h或PWM.h的路徑可能設定錯了.

發表於: 2007/9/7 0:42
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


BuildAll 出現的問題
#1
新會員
新會員


查看用戶資訊
以下是我BuildAll出現的問題,請問有人知道這是怎麼回是嗎?

(我有加入2020.h和pwm.h檔,也有加入連結檔跟lib檔)

Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\c30\test.mcs".
Clean: Done.
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F2020 -c -x c "test.c" -o"test.o" -g -Wall
test.c:10: error: 'XT_PLL8' undeclared here (not in a function)
test.c:11: error: 'WDT_OFF' undeclared here (not in a function)
test.c:12: error: syntax error before '&' token
test.c:12: warning: type defaults to 'int' in declaration of '_FBORPOR'
test.c:12: warning: data definition has no type or storage class
test.c:17: warning: built-in function 'index' declared as non-function
test.c: In function 'main':
test.c:31: error: 'PWM_INT_EN' undeclared (first use in this function)
test.c:31: error: (Each undeclared identifier is reported only once
test.c:31: error: for each function it appears in.)
test.c:31: error: 'PWM_INT_PR7' undeclared (first use in this function)
test.c:31: error: 'PWM_FLTA_DIS_INT' undeclared (first use in this function)
test.c:31: error: 'PWM_FLTA_INT_PR0' undeclared (first use in this function)
test.c:33: warning: parameter names (without types) in function declaration
test.c:35: error: 'PWM_EN' undeclared (first use in this function)
test.c:35: error: 'PWM_IDLE_STOP' undeclared (first use in this function)
test.c:35: error: 'PWM_OP_SCALE1' undeclared (first use in this function)
test.c:35: error: 'PWM_MOD_FREE' undeclared (first use in this function)
test.c:36: error: 'PWM_MOD1_COMP' undeclared (first use in this function)
test.c:36: error: 'PWM_PEN1H' undeclared (first use in this function)
test.c:36: error: 'PWM_PEN1L' undeclared (first use in this function)
test.c:37: error: 'PWM_SEVOPS1' undeclared (first use in this function)
test.c:37: error: 'PWM_OSYNC_PWM' undeclared (first use in this function)
test.c:37: error: 'PWM_UDIS' undeclared (first use in this function)
test.c:41: warning: parameter names (without types) in function declaration
test.c:43: error: 'PWM_GEN_1H' undeclared (first use in this function)
test.c:43: error: 'PWM_GEN_1L' undeclared (first use in this function)
test.c:43: error: 'PWM_POUT_1H_INACT' undeclared (first use in this function)
test.c:43: error: 'PWM_POUT_1L_INACT' undeclared (first use in this function)
test.c:45: warning: parameter names (without types) in function declaration
test.c:51: warning: parameter names (without types) in function declaration
Halting build on first failure as requested.
BUILD FAILED: Thu Sep 06 13:34:31 2007




發表於: 2007/9/6 13:43
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------