PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : کامپایل ارور



hamid1100
05-02-2010, 22:58
دوستان من ال سی دی رو به شکل 4 بیتی و از مثال مجله انجام دادم ولی هنگام کامپایل ارور زیر میاد مشکل از کجاست با تشکر
test.c(7): warning: #223-D: function "lcd_pin" declared implicitly
test.c(11): error: #65: expected a ";"
test.c(13): warning: #223-D: function "delays" declared implicitly
test.c(16): warning: #223-D: function "display_off" declared implicitly
test.c(18): warning: #223-D: function "display_on" declared implicitly
test.c(23): warning: #223-D: function "lcd_pustf" declared implicitly
test.c(28): warning: #223-D: function "lcd_shift_right" declared implicitly
test.c(33): warning: #223-D: function "lcd_shift_left" declared implicitly
Target not created

farzadsw
06-02-2010, 00:07
دوستان من ال سی دی رو به شکل 4 بیتی و از مثال مجله انجام دادم ولی هنگام کامپایل ارور زیر میاد مشکل از کجاست با تشکر
test.c(7): warning: #223-D: function "lcd_pin" declared implicitly
test.c(11): error: #65: expected a ";"
test.c(13): warning: #223-D: function "delays" declared implicitly
test.c(16): warning: #223-D: function "display_off" declared implicitly
test.c(18): warning: #223-D: function "display_on" declared implicitly
test.c(23): warning: #223-D: function "lcd_pustf" declared implicitly
test.c(28): warning: #223-D: function "lcd_shift_right" declared implicitly
test.c(33): warning: #223-D: function "lcd_shift_left" declared implicitly
Target not created

تنها ارور مربوط به :
test.c(11): error: #65: expected a ";"
هست . روش کلیک کنید ببینید کجا رو نشون میده ، درستش کنید.

hamid1100
06-02-2010, 00:29
ممنون از کمکتون الان با اینکه include "lcd.h" کردم ارور زیر رو میده
test.axf: Error: L6218E: Undefined symbol display_off (referred from test.o).
test.axf: Error: L6218E: Undefined symbol display_on (referred from test.o).
test.axf: Error: L6218E: Undefined symbol lcd_pin (referred from test.o).
test.axf: Error: L6218E: Undefined symbol lcd_pustf (referred from test.o).
test.axf: Error: L6218E: Undefined symbol lcd_shift_left (referred from test.o).
test.axf: Error: L6218E: Undefined symbol lcd_shift_right (referred from test.o).

1nafar
06-02-2010, 02:05
test.c(11): error: #65: expected a ";"
از علامت ; در انتهای دستور استفاده نکردید .

test.axf: Error: L6218E: Undefined symbol display_off (referred from test.o).
test.axf: Error: L6218E: Undefined symbol display_on (referred from test.o).
test.axf: Error: L6218E: Undefined symbol lcd_pin (referred from test.o).
test.axf: Error: L6218E: Undefined symbol lcd_pustf (referred from test.o).
test.axf: Error: L6218E: Undefined symbol lcd_shift_left (referred from test.o).
test.axf: Error: L6218E: Undefined symbol lcd_shift_right (referred from test.o
کتابخونه ها به درستی کپی نشده ، یا خوندن فایل مشکل داره ( توی ویندوز های ویستا و 7 ) برنامه در مکانی غیر از درایو c ذخیره کنید )
بهتره برنامه ای رو نوشتید بزارید تا ما هم کامپیال کنیم و بهتر بتونیم راه نمایی کنیم .

hamid1100
06-02-2010, 02:19
ممنون از کمکتون ویندوزم ویستا هست و تو درایو سی ریختم این هم کد بنده
#include "AT91SAM7X256.H"
#include "lib_AT91SAM7x256.h"
#include "LCD.h"
#include "delay.h"
int main (void){
int a=58;
lcd_pin(2,0,1,2,3,4,5);
while(1)
{
lcd_gotoxy(2,5);
lcd_putsf("rthgdyehfn");
cursor_on();
delay(5);
cursor_blink();
delay(5);
display_off();
delay(5);
display_on();
delay(5);
lcd_clear();
delay(5);
lcd_gotoxy(2,1);
lcd_pustf("xxxxxxxx");
delay(5);
lcd_gotoxy(1,2);
lcd_puts(a);
delay_s(5);
lcd_shift_right(5);
delay_s(5);
lcd_clear();
lcd_putsf("123456789");
delay_s(5);
lcd_shift_left(4);
delay_s(5);
lcd_clear();
}}

dmco
11-03-2012, 10:42
سلام.
من یه هفته هست که این ارور رو دارم و دیگه نمیدونم چی کارش کنم تا درست شه. :( هیچ برنامه ای رو کامپایل نمیکنه. :brk:هر کی میدونه لطفا راهنمایی کنه. :gop:
GPIO.axf: Error: L6218E: Undefined symbol SystemInit (referred from startup_lpc17xx.o).

اینم خود برنامه
You can see links before reply