Problems in adding 3 or 4 projects together in AtmelStudio7

Go To Last Post
18 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi All,

I have 3 projects linked together with no problem,but now I want to add the 4th project to this ,but I get error of not existing of some files,while all files are in there in the project.

This is my output file:

 

Build started.
Project "mixtest.cproj" (Compile target(s)):
Target "Compile" in file "E:\Atmel\7.0\Vs\Compiler.targets" from project "E:\AtmelStudio\7.0\AZ108B.Projects\mixtest\mixtest\mixtest.cproj" (entry point):
    Using "RunCompilerTask" task from assembly "E:\Atmel\7.0\Extensions\Application\AvrGCC.dll".
    Task "RunCompilerTask"
        Shell Utils Path E:\AtmelStudio\7.0\AZ108B.Projects
        E:\AtmelStudio\7.0\shellutils\make.exe "main.o" 
        Building file: .././main.c
        Invoking: AVR/GNU C Compiler : 5.4.0
        "E:\Atmel\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe"  -x c -funsigned-char -funsigned-bitfields -DNDEBUG  -I"E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\include" -I"../../../../toolchain/avr8/avr8-gnu-toolchain/include"  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega32a -B "E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\gcc\dev\atmega32a" -c -std=gnu99 -MD -MP -MF "main.d" -MT"main.d" -MT"main.o"   -o "main.o" ".././main.c" 
        In file included from .././main.c:23:0:
e:\atmel\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\util\delay.h(92,3): warning: #warning "F_CPU not defined for <util/delay.h>" [-Wcpp]
         # warning "F_CPU not defined for <util/delay.h>"
           ^
E:\AtmelStudio\7.0\AZ108B.Projects\mixtest\mixtest\main.c(24,22): error: EDH8TDBL.h: No such file or directory
        compilation terminated.
E:\AtmelStudio\7.0\AZ108B.Projects\mixtest\mixtest\Release\Makefile(76,1): error: recipe for target 'main.o' failed
        make: *** [main.o] Error 1
    Done executing task "RunCompilerTask" -- FAILED.
Done building target "Compile" in project "mixtest.cproj" -- FAILED.
Done building project "mixtest.cproj" -- FAILED.

Build FAILED.
 

Where do you think I am wrong?

This is my zip project:

 

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well it cant find EDH8TDBL.h - have you told it where to look?

 

EDIT I worked out how to look at that ZIP file on this tablet. The missing header file simply isn't there so no wonder the preprocessor complains!

Last Edited: Sun. May 17, 2020 - 09:34 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Slightly less onerous - F_CPU has not been defined for util/delay.h.

 

You need something that defines F_CPU. Remember, this define does NOT set what frequency the CPU runs at. Instead, it is used to tell delay.h what the CPU frequency actually IS. The value needs to be in Hertz, such as 

 

#define F_CPU 8000000      //8.00MHz

 

This MUST be present earlier in the file than the point where delay.h is included.

 

Jim

 

Until Black Lives Matter, we do not have "All Lives Matter"!

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks Jim,

I have fixed that (the frequency);but it can not see the file .h,its there !

Now this is my out put file:

 

Build started.
Project "mixtest.cproj" (Compile target(s)):
Target "Compile" in file "E:\Atmel\7.0\Vs\Compiler.targets" from project "E:\AtmelStudio\7.0\AZ108B.Projects\mixtest\mixtest\mixtest.cproj" (entry point):
    Task "RunCompilerTask"
        Shell Utils Path E:\AtmelStudio\7.0\AZ108B.Projects
        E:\AtmelStudio\7.0\shellutils\make.exe "main.o" 
        Building file: .././main.c
        Invoking: AVR/GNU C Compiler : 5.4.0
        "E:\Atmel\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe"  -x c -funsigned-char -funsigned-bitfields -DNDEBUG  -I"E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\include" -I"../../../../toolchain/avr8/avr8-gnu-toolchain/include"  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega32a -B "E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\gcc\dev\atmega32a" -c -std=gnu99 -MD -MP -MF "main.d" -MT"main.d" -MT"main.o"   -o "main.o" ".././main.c" 
E:\AtmelStudio\7.0\AZ108B.Projects\mixtest\mixtest\main.c(25,22): error: EDH8TDBL.h: No such file or directory
        compilation terminated.
        make: *** [main.o] Error 1
E:\AtmelStudio\7.0\AZ108B.Projects\mixtest\mixtest\Release\Makefile(76,1): error: recipe for target 'main.o' failed
    Done executing task "RunCompilerTask" -- FAILED.
Done building target "Compile" in project "mixtest.cproj" -- FAILED.
Done building project "mixtest.cproj" -- FAILED.

Build FAILED.
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Then there must be a path problem somewhere. I'm out because I hardly know windows, being mostly a Mac person.

 

Jim

 

Until Black Lives Matter, we do not have "All Lives Matter"!

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

As clawson said in #2, the file EDH8TBL.h does not exist in that .zip file.

The project files for aziz_backpack, aziz_expansion, and EDAZ108B.H8T.Dar are not present in the zip file for the mixtest solution.

David (aka frog_jr)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Then where did you get those projects name from?

Anyhow , should I send zip code for each project?

here is complete zip.

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

azizollah wrote:
Then where did you get those projects name from?

I opened the zip (from #1), loaded the solution (mixtest) and saw:

 

So that is how I saw the names...

 

Edit: Can you explain what you are trying to accomplish (the desired outcome)?

 

 

David (aka frog_jr)

Last Edited: Mon. May 18, 2020 - 12:55 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I want to make a main.c file for the mixedtest project so that to be able by adding two pcf8574 (pcf8574 and backPackpcf8574)to my main board ,acheave two goles

1- expand the ports and 2- interface an lcd to read and write by it.

Thanks for your attention.

This is the latest zip file

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The .atsln has:

Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "mixtest", "mixtest\mixtest.cproj", "{DCE6C7E3-EE26-4D79-826B-08594B9AD897}"
EndProject
Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "aziz_backpack", "..\aziz_backpack\aziz_backpack\aziz_backpack.cproj", "{C8A78AAA-BBFF-4C17-931D-5A0E9C29F4BC}"
EndProject
Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "aziz_expansion", "..\aziz_backpack\aziz_expansion\aziz_expansion.cproj", "{EBDE3BD1-88BD-4FDF-9597-37E84E962C56}"
EndProject
Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "EDAZ108B.H8T.Dar", "..\EDAZ108B.H8T.Dar\ED\EDAZ108B.H8T.Dar.cproj", "{CBB8BDCD-8425-4894-9327-312A05539CF3}"
EndProject

of those only "mixtest" is in this .zip file. You need to make a .zip file at one directory level higher (that is "..") so it includes all those things.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You are right,

This is the latest Zip:

 

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"E:\Atmel\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe"  -x c -funsigned-char -funsigned-bitfields -DNDEBUG  -I"E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\include" -I"../../../../toolchain/avr8/avr8-gnu-toolchain/include"  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega32a -B "E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\gcc\dev\atmega32a" -c -std=gnu99 -MD -MP -MF "main.d" -MT"main.d" -MT"main.o"   -o "main.o" ".././main.c" 

I don't see a -I path to anywhere in your source tree. The compile will therefore only look for your includes in the same folder as main.c.

 

You could write something like:

#include "Path_to_Project/EDH8TBL.h"

or fix your include paths.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

N.Winterbottom wrote:
or fix your include paths.
Preferable - otherwise the projects always have to be kept in the same relative position. If you do it with -I's ("Directories" in AS7) then if a project is moved only one line in the project settings needs to updated to reflect this.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This is what I included ,but still can not find.:

#include  "E:\AtmelStudio\7.0\AZ108B.Projects\EDAZ108B.H8T.Dar\ED\EDH8TDBL.h"

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Don't include drives in include paths. But anyway this is NOT the way to do it. The .c file with the #include should only have:

#include  "EDH8TDBL.h"

then using "Directories" in the project settings of AS7 you need to set it up so that when built the command:

-I\AtmelStudio\7.0\AZ108B.Projects\EDAZ108B.H8T.Dar\ED

is passed to the preprocessor - that is what tells the preprocessor which additional directories it should search in to find #include files.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

BTW your attachment in #11 is no better than previously - it only has half the files required.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sorry ,any correction makes a lot more erroes.

Now it copils ok but so many errors in buid.This is the output file

 

------ Build started: Project: aziz_backpack, Configuration: Release AVR ------
Build started.
Project "aziz_backpack.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "E:\Atmel\7.0\Vs\Compiler.targets" from project "E:\AtmelStudio\7.0\AZ108B.Projects\aziz_backpack\aziz_backpack\aziz_backpack.cproj" (target "Build" depends on it):
    Task "RunCompilerTask"
        Shell Utils Path E:\AtmelStudio\7.0\AZ108B.Projects
        E:\AtmelStudio\7.0\shellutils\make.exe all --jobs 4 --output-sync 
        Building file: .././EDH8TDBL.c
        Invoking: AVR/GNU C Compiler : 5.4.0
        "E:\Atmel\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe"  -x c -funsigned-char -funsigned-bitfields -DF_CPU=8000000 -DNDEBUG  -I"E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\include"  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega32a -B "E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\gcc\dev\atmega32a" -c -std=gnu99 -MD -MP -MF "EDH8TDBL.d" -MT"EDH8TDBL.d" -MT"EDH8TDBL.o"   -o "EDH8TDBL.o" ".././EDH8TDBL.c" 
E:\AtmelStudio\7.0\AZ108B.Projects\aziz_backpack\aziz_backpack\Release\Makefile(101,1): error: recipe for target 'EDH8TDBL.o' failed
E:\AtmelStudio\7.0\AZ108B.Projects\aziz_backpack\aziz_backpack\EDH8TDBL.c(2,19): error: az108.h: No such file or directory
        compilation terminated.
        make: *** [EDH8TDBL.o] Error 1
        make: *** Waiting for unfinished jobs....
        Building file: ../src/uart/uart.c
        Invoking: AVR/GNU C Compiler : 5.4.0
        "E:\Atmel\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe"  -x c -funsigned-char -funsigned-bitfields -DF_CPU=8000000 -DNDEBUG  -I"E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\include"  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega32a -B "E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\gcc\dev\atmega32a" -c -std=gnu99 -MD -MP -MF "uart.d" -MT"uart.d" -MT"uart.o"   -o "uart.o" "../src/uart/uart.c" 
        Finished building: ../src/uart/uart.c
        Building file: ../src/pcf8574/pcf8574.c
        Invoking: AVR/GNU C Compiler : 5.4.0
        "E:\Atmel\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe"  -x c -funsigned-char -funsigned-bitfields -DF_CPU=8000000 -DNDEBUG  -I"E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\include"  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega32a -B "E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\gcc\dev\atmega32a" -c -std=gnu99 -MD -MP -MF "pcf8574.d" -MT"pcf8574.d" -MT"pcf8574.o"   -o "pcf8574.o" "../src/pcf8574/pcf8574.c" 
        Finished building: ../src/pcf8574/pcf8574.c
    Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreBuild" in project "aziz_backpack.cproj" -- FAILED.
Done building project "aziz_backpack.cproj" -- FAILED.

Build FAILED.
------ Build started: Project: aziz_expansion, Configuration: Release AVR ------
Build started.
Project "aziz_expansion.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "E:\Atmel\7.0\Vs\Compiler.targets" from project "E:\AtmelStudio\7.0\AZ108B.Projects\aziz_backpack\aziz_expansion\aziz_expansion.cproj" (target "Build" depends on it):
    Task "RunCompilerTask"
        Shell Utils Path E:\AtmelStudio\7.0\AZ108B.Projects
        E:\AtmelStudio\7.0\shellutils\make.exe all --jobs 4 --output-sync 
        Building file: .././EDH8TDBL.c
        Invoking: AVR/GNU C Compiler : 5.4.0
E:\AtmelStudio\7.0\AZ108B.Projects\aziz_backpack\aziz_expansion\EDH8TDBL.c(2,19): error: az108.h: No such file or directory
        compilation terminated.
        make: *** [EDH8TDBL.o] Error 1
        "E:\Atmel\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe"  -x c -funsigned-char -funsigned-bitfields -DF_CPU=8000000 -DNDEBUG  -I"E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\include" -I"../../aziz_backpack/src"  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega32a -B "E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\gcc\dev\atmega32a" -c -std=gnu99 -MD -MP -MF "EDH8TDBL.d" -MT"EDH8TDBL.d" -MT"EDH8TDBL.o"   -o "EDH8TDBL.o" ".././EDH8TDBL.c" 
E:\AtmelStudio\7.0\AZ108B.Projects\aziz_backpack\aziz_expansion\Release\Makefile(124,1): error: recipe for target 'EDH8TDBL.o' failed
    Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreBuild" in project "aziz_expansion.cproj" -- FAILED.
Done building project "aziz_expansion.cproj" -- FAILED.

Build FAILED.
------ Build started: Project: EDAZ108B.H8T.Dar, Configuration: Release AVR ------
Build started.
Project "EDAZ108B.H8T.Dar.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "E:\Atmel\7.0\Vs\Compiler.targets" from project "E:\AtmelStudio\7.0\AZ108B.Projects\EDAZ108B.H8T.Dar\ED\EDAZ108B.H8T.Dar.cproj" (target "Build" depends on it):
    Task "RunCompilerTask"
        Shell Utils Path E:\AtmelStudio\7.0\AZ108B.Projects
        E:\AtmelStudio\7.0\shellutils\make.exe all --jobs 4 --output-sync 
        Building file: .././EDH8TDBL.c
        Invoking: AVR/GNU C Compiler : 5.4.0
        "E:\Atmel\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe"  -x c -funsigned-char -funsigned-bitfields -DNDEBUG  -I"../../../../toolchain/avr8/avr8-gnu-toolchain/include"  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega32a -B "E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\gcc\dev\atmega32a" -c -std=gnu99 -MD -MP -MF "EDH8TDBL.d" -MT"EDH8TDBL.d" -MT"EDH8TDBL.o"   -o "EDH8TDBL.o" ".././EDH8TDBL.c" 
E:\AtmelStudio\7.0\AZ108B.Projects\EDAZ108B.H8T.Dar\ED\Release\Makefile(81,1): error: recipe for target 'EDH8TDBL.o' failed
E:\AtmelStudio\7.0\AZ108B.Projects\EDAZ108B.H8T.Dar\ED\EDH8TDBL.c(2,19): error: az108.h: No such file or directory
        compilation terminated.
        make: *** [EDH8TDBL.o] Error 1
        make: *** Waiting for unfinished jobs....
        Building file: .././main.c
        Invoking: AVR/GNU C Compiler : 5.4.0
        "E:\Atmel\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe"  -x c -funsigned-char -funsigned-bitfields -DNDEBUG  -I"../../../../toolchain/avr8/avr8-gnu-toolchain/include"  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega32a -B "E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\gcc\dev\atmega32a" -c -std=gnu99 -MD -MP -MF "main.d" -MT"main.d" -MT"main.o"   -o "main.o" ".././main.c" 
E:\AtmelStudio\7.0\AZ108B.Projects\EDAZ108B.H8T.Dar\ED\main.c(10,19): error: az108.h: No such file or directory
        compilation terminated.
        make: *** [main.o] Error 1
E:\AtmelStudio\7.0\AZ108B.Projects\EDAZ108B.H8T.Dar\ED\Release\Makefile(88,1): error: recipe for target 'main.o' failed
    Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreBuild" in project "EDAZ108B.H8T.Dar.cproj" -- FAILED.
Done building project "EDAZ108B.H8T.Dar.cproj" -- FAILED.

Build FAILED.
------ Build started: Project: mixtest, Configuration: Release AVR ------
Build started.
Project "mixtest.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "E:\Atmel\7.0\Vs\Compiler.targets" from project "E:\AtmelStudio\7.0\AZ108B.Projects\mixtest\mixtest\mixtest.cproj" (target "Build" depends on it):
    Task "RunCompilerTask"
        Shell Utils Path E:\AtmelStudio\7.0\AZ108B.Projects
        E:\AtmelStudio\7.0\shellutils\make.exe all --jobs 4 --output-sync 
        Building file: .././lcdpcf8574.c
        Invoking: AVR/GNU C Compiler : 5.4.0
E:\AtmelStudio\7.0\AZ108B.Projects\mixtest\mixtest\lcdpcf8574.c(14,32): error: ../pcf8574/pcf8574.h: No such file or directory
        compilation terminated.
        make: *** [lcdpcf8574.o] Error 1
        "E:\Atmel\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe"  -x c -funsigned-char -funsigned-bitfields -DNDEBUG  -I"E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\include" -I"../../../../toolchain/avr8/avr8-gnu-toolchain/include"  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega32a -B "E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\gcc\dev\atmega32a" -c -std=gnu99 -MD -MP -MF "lcdpcf8574.d" -MT"lcdpcf8574.d" -MT"lcdpcf8574.o"   -o "lcdpcf8574.o" ".././lcdpcf8574.c" 
E:\AtmelStudio\7.0\AZ108B.Projects\mixtest\mixtest\Release\Makefile(93,1): error: recipe for target 'lcdpcf8574.o' failed
        make: *** Waiting for unfinished jobs....
        Building file: .././EDH8TDBL.c
        Invoking: AVR/GNU C Compiler : 5.4.0
E:\AtmelStudio\7.0\AZ108B.Projects\mixtest\mixtest\EDH8TDBL.c(2,19): error: az108.h: No such file or directory
        compilation terminated.
        make: *** [EDH8TDBL.o] Error 1
        "E:\Atmel\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe"  -x c -funsigned-char -funsigned-bitfields -DNDEBUG  -I"E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\include" -I"../../../../toolchain/avr8/avr8-gnu-toolchain/include"  -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega32a -B "E:\Atmel\7.0\Packs\Atmel\ATmega_DFP\1.4.351\gcc\dev\atmega32a" -c -std=gnu99 -MD -MP -MF "EDH8TDBL.d" -MT"EDH8TDBL.d" -MT"EDH8TDBL.o"   -o "EDH8TDBL.o" ".././EDH8TDBL.c" 
E:\AtmelStudio\7.0\AZ108B.Projects\mixtest\mixtest\Release\Makefile(86,1): error: recipe for target 'EDH8TDBL.o' failed
    Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreBuild" in project "mixtest.cproj" -- FAILED.
Done building project "mixtest.cproj" -- FAILED.

Build FAILED.
========== Build: 0 succeeded or up-to-date, 4 failed, 0 skipped ==========
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just read that, as soon as you find he first error then fix that (the chances are that whatever you do to fix it might also fix the next 50 things too!). So the first error is saying:

E:\AtmelStudio\7.0\AZ108B.Projects\aziz_backpack\aziz_backpack\EDH8TDBL.c(2,19): error: az108.h: No such file or directory 

It's saying that line 2 of EDH8TDBL.c must have:

#include "az108.h"

but the file called az108.h is not in the same directory as EDH8TDBL.c. The way to fix that is to use "Directories" for the " Build started: Project: aziz_backpack" to tell the preprocessor where it *should* look for the az108.h header.

 

If you ever succeed in posting a .zip file of ALL the files involved I will amend it to show you how to set the correct directories so that everything used is found.