реклама на сайте
подробности

 
 
> Как заставить работать программу, Программа выдает ошибки при компиляции
Aleksandr_KPI
сообщение Sep 19 2011, 14:56
Сообщение #1


Местный
***

Группа: Свой
Сообщений: 323
Регистрация: 25-08-09
Пользователь №: 52 032



Здравствуйте, подскажите почему я не могу скомпилировать программу в Keil Uvision. Она постоянно выдает ошибку :

*** ERROR L210: I/O ERROR ON INPUT FILE:
EXCEPTION 0021H: PATH OR FILE NOT FOUND
FILE: main.obj

Target not created

Как создать файлы с расширением .obj и заставить ее работать.

Заранее благодарю за ответ.
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
Aleksandr_KPI
сообщение Sep 20 2011, 10:53
Сообщение #2


Местный
***

Группа: Свой
Сообщений: 323
Регистрация: 25-08-09
Пользователь №: 52 032



Поставил Keil Uvision 4. Никаких окон при компиляции не выскакивает, но ругается на хед файли <reg8952.h>, <REG320.H>. В папке проекта их нет, к чему они могут относится?

И еще выдает такие ошибки, такое впечатление что компилятор не видит каких то библиотек.

Цитата
EXTERNAL.H(1): error C202: 'P1': undefined identifier
EXTERNAL.H(2): error C202: 'P1': undefined identifier
XILINX.H(3): error C202: 'P2': undefined identifier
MAIN.C(38): error C202: 'PCON': undefined identifier
compiling Memory.c...
CODESLCM.H(2): error C141: syntax error near 'unsigned'
CODESADRPODS.H(4): error C141: syntax error near 'unsigned'
MEMORY.C(40): error C202: 'P2': undefined identifier
compiling Timer.c...
TIMER.C(10): error C202: 'TMOD': undefined identifier
TIMER.C(12): error C202: 'PT0': undefined identifier
TIMER.C(17): error C202: 'TL0': undefined identifier
TIMER.C(18): error C202: 'TH0': undefined identifier
TIMER.C(27): error C202: 'EA': undefined identifier
TIMER.C(28): error C202: 'ET0': undefined identifier
TIMER.C(29): error C202: 'TR0': undefined identifier
TIMER.C(34): error C202: 'TR0': undefined identifier
TIMER.C(35): error C202: 'ET0': undefined identifier
TIMER.C(40): error C202: 'TF0': undefined identifier
compiling Interrupt.c...
Interrupt.c(1): warning C318: can't open file 'reg8952.h'
Interrupt.c(2): warning C318: can't open file 'REG320.H'
Interrupt.c(4): warning C318: can't open file 'text.h'
XILINX.H(3): error C202: 'P2': undefined identifier
EXTERNAL.H(1): error C202: 'P1': undefined identifier
EXTERNAL.H(2): error C202: 'P1': undefined identifier
INTERRUPT.C(20): error C202: 'INT0': undefined identifier
INTERRUPT.C(25): error C202: 'IT0': undefined identifier
INTERRUPT.C(26): error C202: 'EA': undefined identifier
INTERRUPT.C(27): error C202: 'EX0': undefined identifier
compiling External.c...
External.c(1): warning C318: can't open file 'reg8952.h'
EXTERNAL.H(1): error C202: 'P1': undefined identifier
EXTERNAL.H(2): error C202: 'P1': undefined identifier
EXTERNAL.C(5): error C202: 'P1': undefined identifier
EXTERNAL.C(6): error C202: 'P1': undefined identifier
EXTERNAL.C(10): error C202: 'RstMOC': undefined identifier
EXTERNAL.C(12): error C202: 'RstMOC': undefined identifier
EXTERNAL.C(18): error C202: 'RstMNC': undefined identifier
EXTERNAL.C(20): error C202: 'RstMNC': undefined identifier
EXTERNAL.C(26): error C202: 'RstMNC': undefined identifier
EXTERNAL.C(27): error C202: 'RstMOC': undefined identifier
EXTERNAL.C(29): error C202: 'RstMNC': undefined identifier
EXTERNAL.C(30): error C202: 'RstMOC': undefined identifier
EXTERNAL.C(40): error C202: 'GotovMNC': undefined identifier
EXTERNAL.C(42): error C202: 'GotovMOC': undefined identifier
EXTERNAL.C(44): error C202: 'GotovMNC': undefined identifier
compiling Xilinx.c...
XILINX.H(3): error C202: 'P2': undefined identifier
XILINX.C(5): error C202: 'P2': undefined identifier
XILINX.C(9): error C202: 'P2': undefined identifier
XILINX.C(11): error C202: 'P2': undefined identifier
XILINX.C(17): error C202: 'XilinxDone': undefined identifier
XILINX.C(29): error C202: 'XilinxDone': undefined identifier

Go to the top of the page
 
+Quote Post

Сообщений в этой теме
- Aleksandr_KPI   Как заставить работать программу   Sep 19 2011, 14:56
- - Палыч   А, не присутствуют ли ассемблерные вставки в текст...   Sep 19 2011, 16:19
- - aaarrr   Или кириллица в путях, например.   Sep 19 2011, 16:24
|- - Палыч   Цитата(aaarrr @ Sep 19 2011, 20:24) Или к...   Sep 20 2011, 04:04
- - Aleksandr_KPI   ЦитатаА, не присутствуют ли ассемблерные вставки в...   Sep 20 2011, 07:27
|- - MaslovVG   Цитата(Aleksandr_KPI @ Sep 20 2011, 11:27...   Sep 20 2011, 07:52
- - Aleksandr_KPI   Я убрал из свойств папки пункт только чтение..... ...   Sep 20 2011, 08:08
|- - Палыч   Цитата(Aleksandr_KPI @ Sep 20 2011, 12:08...   Sep 20 2011, 08:55
- - Aleksandr_KPI   С проектом только разбираюсь, а не пишу. Поясните ...   Sep 20 2011, 09:02
|- - Палыч   Цитата(Aleksandr_KPI @ Sep 20 2011, 13:02...   Sep 20 2011, 09:11
|- - Палыч   Цитата(Aleksandr_KPI @ Sep 20 2011, 14:53...   Sep 20 2011, 11:01
- - Aleksandr_KPI   ЦитатаПод какой МК делается Ваш проект? AT89S8253...   Sep 20 2011, 11:08
|- - Палыч   Цитата(Aleksandr_KPI @ Sep 20 2011, 15:08...   Sep 20 2011, 11:18
- - Aleksandr_KPI   Чуть помогло, но теперь он ругается на REG320.H, с...   Sep 20 2011, 11:31
|- - Палыч   Цитата(Aleksandr_KPI @ Sep 20 2011, 15:31...   Sep 20 2011, 11:38
- - Aleksandr_KPI   Убрал так же и Код#include "text.h" ...   Sep 20 2011, 12:09
|- - Палыч   Цитата(Aleksandr_KPI @ Sep 20 2011, 16:09...   Sep 20 2011, 12:18
- - Aleksandr_KPI   Понял. Огромное СПАСИБО ))))), скомпилировал.   Sep 20 2011, 12:45
- - Aleksandr_KPI   Вопрос по программе. Не могу понять, что такое PB...   Sep 20 2011, 14:06
|- - Палыч   Цитата(Aleksandr_KPI @ Sep 20 2011, 18:06...   Sep 20 2011, 15:07
- - Aleksandr_KPI   ЦитатаВероятно, в Вашем устройстве некоторые внешн...   Sep 21 2011, 08:47
|- - Палыч   Цитата(Aleksandr_KPI @ Sep 21 2011, 12:47...   Sep 21 2011, 10:46
|- - Палыч   Цитата(Aleksandr_KPI @ Sep 21 2011, 12:47...   Sep 21 2011, 14:35
- - Aleksandr_KPI   Смотрю в симуляторе Keil Uvision 4. Да, тут еще д...   Sep 21 2011, 10:56
|- - Палыч   Цитата(Aleksandr_KPI @ Sep 21 2011, 14:56...   Sep 21 2011, 11:16
- - Aleksandr_KPI   А в чем можно посмотреть сигналы шины (адрес, данн...   Sep 21 2011, 11:23
|- - Палыч   Цитата(Aleksandr_KPI @ Sep 21 2011, 15:23...   Sep 21 2011, 11:43
- - Aleksandr_KPI   Меня интересует как конкретно работает часть кода:...   Sep 21 2011, 12:17
|- - Палыч   Цитата(Aleksandr_KPI @ Sep 21 2011, 16:17...   Sep 21 2011, 13:17
- - Aleksandr_KPI   Собственно это что-что есть ПЛИС. )))) Думаю я бол...   Sep 21 2011, 14:05


Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 21st July 2025 - 09:36
Рейтинг@Mail.ru


Страница сгенерированна за 0.01363 секунд с 7
ELECTRONIX ©2004-2016