• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
  • slider image 488
  • slider image 491
:::


Browsing this Thread:   1 Anonymous Users






Re: 關於Halting build on first failure as requested.
#3
新會員
新會員


查看用戶資訊
果然如大大說的
更新到新的C30 Compile就可以了
感謝您的說明

發表於: 2009/1/9 11:53
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於Halting build on first failure as requested.
#2
中級會員
中級會員


查看用戶資訊
你好!

你目前問題的主要原因是因為你所使用的 c30 版本太舊,
無法支援到你的 pic24F 元件所致.

請先下載新版的 c30 再試試吧!

發表於: 2009/1/9 8:50
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


關於Halting build on first failure as requested.
#1
新會員
新會員


查看用戶資訊
第一次使用Microchip產品
下載了8.1版tool及使用C30 V1.32版Compile
從官網下載PIC24F系列Sample Code卻無法編譯
請問還要做啥設定嗎?


----------------------------------------------------------------------
Debug build of project `E:\Wayne\PIC24F Code\Using Timer3 to Start ADC\CE_ADTMR3.mcp' started.
Preprocessor symbol `__DEBUG' is defined.
Thu Jan 08 18:46:10 2009
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "adcDrv1.c" -o"adcDrv1.o" -I"C:\Program Files\Microchip\MPLAB C30\include" -D__DEBUG -g -Wall
adcDrv1.c:53:22: p24fxxxx.h: No such file or directory
In file included from adcDrv1.c:55:
adcDrv1.h:62: warning: '_ADC1Interrupt' is not a valid interrupt vector name
adcDrv1.c: In function `initAdc1':
adcDrv1.c:67: error: `AD1CON1bits' undeclared (first use in this function)
adcDrv1.c:67: error: (Each undeclared identifier is reported only once
adcDrv1.c:67: error: for each function it appears in.)
adcDrv1.c:75: error: `AD1CON2bits' undeclared (first use in this function)
adcDrv1.c:81: error: `AD1CON3bits' undeclared (first use in this function)
adcDrv1.c:91: error: `AD1CHS' undeclared (first use in this function)
adcDrv1.c:94: error: `AD1PCFG' undeclared (first use in this function)
adcDrv1.c:95: error: `AD1PCFGbits' undeclared (first use in this function)
adcDrv1.c:99: error: `AD1CSSL' undeclared (first use in this function)
adcDrv1.c:101: error: `IFS0bits' undeclared (first use in this function)
adcDrv1.c:102: error: `IEC0bits' undeclared (first use in this function)
adcDrv1.c:105: error: `ODCAbits' undeclared (first use in this function)
adcDrv1.c:106: error: `TRISAbits' undeclared (first use in this function)
adcDrv1.c: In function `initTmr3':
adcDrv1.c:122: error: `TMR3' undeclared (first use in this function)
adcDrv1.c:123: error: `PR3' undeclared (first use in this function)
adcDrv1.c:124: error: `IFS0bits' undeclared (first use in this function)
adcDrv1.c:125: error: `IEC0bits' undeclared (first use in this function)
adcDrv1.c:128: error: `T3CONbits' undeclared (first use in this function)
adcDrv1.c: At top level:
adcDrv1.c:138: warning: '_ADC1Interrupt' is not a valid interrupt vector name
adcDrv1.c:138: warning: `no_auto_psv' attribute directive ignored
adcDrv1.c: In function `_ADC1Interrupt':
adcDrv1.c:142: error: `ADC1BUF0' undeclared (first use in this function)
adcDrv1.c:151: error: `LATA' undeclared (first use in this function)
adcDrv1.c:154: error: `IFS0bits' undeclared (first use in this function)
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `E:\Wayne\PIC24F Code\Using Timer3 to Start ADC\CE_ADTMR3.mcp' failed.
Preprocessor symbol `__DEBUG' is defined.
Thu Jan 08 18:46:10 2009
----------------------------------------------------------------------
BUILD FAILED

發表於: 2009/1/8 18:16

Edited by B on 2009年01月08日 18:49:59
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... ]

教育訓練中心

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