<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=4&amp;t=20460&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2018-03-22T19:16:08+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=20460&amp;mode</id>
<entry>
<author><name><![CDATA[micky]]></name></author>
<updated>2018-03-22T19:16:08+01:00</updated>
<published>2018-03-22T19:16:08+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205911#p205911</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205911#p205911"/>
<title type="html"><![CDATA[Re: Problem z kompilacją programu]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205911#p205911"><![CDATA[
Uzyj Mirkowego <a href="http://atnel.pl/atnel-video-player.html"  class="postlink">playera</a><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1546">micky</a> — 22 mar 2018, o 19:16</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[sidek92]]></name></author>
<updated>2018-03-22T14:48:58+01:00</updated>
<published>2018-03-22T14:48:58+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205884#p205884</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205884#p205884"/>
<title type="html"><![CDATA[Re: Problem z kompilacją programu]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205884#p205884"><![CDATA[
<div class="quotetitle">micky napisał(a):</div><div class="quotecontent"><br />Przede wszystkim obejrzyj filmik Mirka o tym jak działa kompilator to Ci się pewne rzeczy wyjaśnią.<br /></div><br />Jestem leniwy <img src="https://forum.atnel.pl/images/smilies/icon_e_wink.gif" alt=";)" title="Puszcza oko" /> Nie masz może adresu?<br /><br /><div class="quotetitle">Szofer napisał(a):</div><div class="quotecontent"><br />Sprawdź czy masz wszystkie zmienne zadeklariwane użyte i deklaracje funkcji,<br />Literówka może być nawet przy pisaniu,<br /><br />Na 99% jest z tym problem i kod się nie kompiluje.<br /></div><br /><br />99% to dużo także w tym przypadku, przejrzałem kod na spokojnie i okazało się, że wszystko ładnie napisane, tylko w pliku .c nie było jednej dość ważnej rzeczy - maina. Chyba byłem już wczoraj zmęczony.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=18414">sidek92</a> — 22 mar 2018, o 14:48</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[micky]]></name></author>
<updated>2018-03-22T12:15:25+01:00</updated>
<published>2018-03-22T12:15:25+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205880#p205880</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205880#p205880"/>
<title type="html"><![CDATA[Re: Problem z kompilacją programu]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205880#p205880"><![CDATA[
Przede wszystkim obejrzyj filmik Mirka o tym jak działa kompilator to Ci się pewne rzeczy wyjaśnią.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1546">micky</a> — 22 mar 2018, o 12:15</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Szofer]]></name></author>
<updated>2018-03-22T10:41:37+01:00</updated>
<published>2018-03-22T10:41:37+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205879#p205879</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205879#p205879"/>
<title type="html"><![CDATA[Re: Problem z kompilacją programu]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205879#p205879"><![CDATA[
Sprawdź czy masz wszystkie zmienne zadeklariwane użyte i deklaracje funkcji,<br />Literówka może być nawet przy pisaniu,<br /><br />Na 99% jest z tym problem i kod sie nie kompiluje.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=7664">Szofer</a> — 22 mar 2018, o 10:41</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[sidek92]]></name></author>
<updated>2018-03-22T10:20:15+01:00</updated>
<published>2018-03-22T10:20:15+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205878#p205878</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205878#p205878"/>
<title type="html"><![CDATA[Re: Problem z kompilacją programu]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205878#p205878"><![CDATA[
Mam dwa pliki .c i .h, gdy usunę z pliku.c odniesienie do h to wywala tylko błędy z braku deklaracji zmiennych. Niestety kompilator nie pokazuje gdzie jest problem z plikiem .h, a co za tym idzie nie wiem jak się za to zabrać.<br /><br />Inne programy kompilują się bez problemu.<br /><br />Jak wrócę do domu to mogę wrzucić program jeśli byłby ktoś chętny pomóc.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=18414">sidek92</a> — 22 mar 2018, o 10:20</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xentis]]></name></author>
<updated>2018-03-21T22:42:23+01:00</updated>
<published>2018-03-21T22:42:23+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205862#p205862</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205862#p205862"/>
<title type="html"><![CDATA[Re: Problem z kompilacją programu]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205862#p205862"><![CDATA[
A inny kod kompiluje się poprawnie?<br />Problemu nie szukaj w Makefile ale w swoim kodzie. Pierwszy błąd zwraca Linker, natomiast drugi błąd wynika z pierwszego czyli linker nie zrobił roboty i nie utworzył plików które miał, więc wywołanie kolejnego procesu który miał operować na tych plikach również zwróciło błąd bo ów pliki nie istnieją.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=6265">xentis</a> — 21 mar 2018, o 22:42</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[sidek92]]></name></author>
<updated>2018-03-21T22:19:56+01:00</updated>
<published>2018-03-21T22:19:56+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205859#p205859</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205859#p205859"/>
<title type="html"><![CDATA[Problem z kompilacją programu]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=20460&amp;p=205859#p205859"><![CDATA[
Witam,<br />mam program do obsługi wyświetlacza z HD44780, niestety podczas kompilacji mam problem z kompilacja do pliku *.elf.<br /><br />Błędy, które wyskakują:<br />Id returned 1 exit status<br />recipe for target 'LC2.elf' failed<br /><br />Pierwszy błąd nie ma odnośnika w kodzie, natomiast błąd drugi określa 108 linię pliku makefile. Programuje w AtmelStudio 7.<br />Proszę o pomoc w rozwiązaniu problemu.<br /><br />Makefile:<br />[syntax=c]################################################################################<br /># Automatically-generated file. Do not edit!<br />################################################################################<br /><br />SHELL := cmd.exe<br />RM := rm -rf<br /><br />USER_OBJS :=<br /><br />LIBS := <br />PROJ := <br /><br />O_SRCS := <br />C_SRCS := <br />S_SRCS := <br />S_UPPER_SRCS := <br />OBJ_SRCS := <br />ASM_SRCS := <br />PREPROCESSING_SRCS := <br />OBJS := <br />OBJS_AS_ARGS := <br />C_DEPS := <br />C_DEPS_AS_ARGS := <br />EXECUTABLES := <br />OUTPUT_FILE_PATH :=<br />OUTPUT_FILE_PATH_AS_ARGS :=<br />AVR_APP_PATH :=$$$AVR_APP_PATH$$$<br />QUOTE := &quot;<br />ADDITIONAL_DEPENDENCIES:=<br />OUTPUT_FILE_DEP:=<br />LIB_DEP:=<br />LINKER_SCRIPT_DEP:=<br /><br /># Every subdirectory with source files must be described here<br />SUBDIRS := <br /><br /><br /># Add inputs and outputs from these tool invocations to the build variables <br />C_SRCS +=  \<br />../HD44780.c<br /><br /><br />PREPROCESSING_SRCS += <br /><br /><br />ASM_SRCS += <br /><br /><br />OBJS +=  \<br />HD44780.o<br /><br />OBJS_AS_ARGS +=  \<br />HD44780.o<br /><br />C_DEPS +=  \<br />HD44780.d<br /><br />C_DEPS_AS_ARGS +=  \<br />HD44780.d<br /><br />OUTPUT_FILE_PATH +=LCD2.elf<br /><br />OUTPUT_FILE_PATH_AS_ARGS +=LCD2.elf<br /><br />ADDITIONAL_DEPENDENCIES:=<br /><br />OUTPUT_FILE_DEP:= ./makedep.mk<br /><br />LIB_DEP+= <br /><br />LINKER_SCRIPT_DEP+= <br /><br /><br /># AVR32/GNU C Compiler<br /><br /><br /><br />./%.o: .././%.c<br />@echo Building file: $&lt;<br />@echo Invoking: AVR/GNU C Compiler : 5.4.0<br />$(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE)  -x c -funsigned-char -funsigned-bitfields -DDEBUG  -I&quot;C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include&quot;  -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -Wextra -mmcu=atmega328p -B &quot;C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\gcc\dev\atmega328p&quot; -c -std=gnu99 -MD -MP -MF &quot;$(@:%.o=%.d)&quot; -MT&quot;$(@:%.o=%.d)&quot; -MT&quot;$(@:%.o=%.o)&quot;   -o &quot;$@&quot; &quot;$&lt;&quot; <br />@echo Finished building: $&lt;<br /><br /><br /><br /><br /># AVR32/GNU Preprocessing Assembler<br /><br /><br /><br /># AVR32/GNU Assembler<br /><br /><br /><br /><br />ifneq ($(MAKECMDGOALS),clean)<br />ifneq ($(strip $(C_DEPS)),)<br />-include $(C_DEPS)<br />endif<br />endif<br /><br /># Add inputs and outputs from these tool invocations to the build variables <br /><br /># All Target<br />all: $(OUTPUT_FILE_PATH) $(ADDITIONAL_DEPENDENCIES)<br /><br />$(OUTPUT_FILE_PATH): $(OBJS) $(USER_OBJS) $(OUTPUT_FILE_DEP) $(LIB_DEP) $(LINKER_SCRIPT_DEP)<br />@echo Building target: $@<br />@echo Invoking: AVR/GNU Linker : 5.4.0<br />$(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -Wl,-Map=&quot;LCD2.map&quot; -Wl,--start-group -Wl,-lm  -Wl,--end-group -Wl,--gc-sections -mmcu=atmega328p -B &quot;C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\gcc\dev\atmega328p&quot;  <br />@echo Finished building target: $@<br />&quot;C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objcopy.exe&quot; -O ihex -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures  &quot;LCD2.elf&quot; &quot;LCD2.hex&quot;<br />&quot;C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-size.exe&quot; &quot;LCD2.elf&quot;<br /><br /><br /><br /><br /><br /><br /><br /># Other Targets<br />clean:<br />-$(RM) $(OBJS_AS_ARGS) $(EXECUTABLES)  <br />-$(RM) $(C_DEPS_AS_ARGS)   <br />rm -rf &quot;LCD2.elf&quot; &quot;LCD2.a&quot; &quot;LCD2.hex&quot; &quot;LCD2.lss&quot; &quot;LCD2.eep&quot; &quot;LCD2.map&quot; &quot;LCD2.srec&quot; &quot;LCD2.usersignatures&quot;[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=18414">sidek92</a> — 21 mar 2018, o 22:19</p><hr />
]]></content>
</entry>
</feed>