studio 6 & arduino & cylon eyes build/ tutorial

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

I'm trying to build the cylon eyes tutorial by Smiley Micros (Thank you!) using studio 6 and my arduino (328P) hardware. I get this build error;

Quote:
Error 1 c:\avrtoolbox\libavr\source\elementary\digitalio\digitalio.h: No such file or directory C:\Users\ds\Documents\atmel\cylon\N&V_March_April_May_June_2012\simple_chaser_lights_no_xtal.c 80 72 simple_chaser_lights_no_xtal

The build output gives;
Quote:
------ Build started: Project: simple_chaser_lights_no_xtal, Configuration: default AVR ------
Build started.
Project "simple_chaser_lights_no_xtal.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Atmel Studio 6.0\Vs\Compiler.targets" from project "C:\Users\ds\Documents\atmel\cylon\N&V_March_April_May_June_2012\simple_chaser_lights_no_xtal.cproj" (target "Build" depends on it):
Using "RunCompilerTask" task from assembly "C:\Program Files (x86)\Atmel\Atmel Studio 6.0\Vs\Compiler.Task.dll".
Task "RunCompilerTask"
C:\Program Files (x86)\Atmel\Atmel Studio 6.0\make\make.exe all
Building file: .././simple_chaser_lights_no_xtal.c
Invoking: AVR/GNU C Compiler : (AVR_8_bit_GNU_Toolchain_3.4.0_663) 4.6.2
"C:\Program Files (x86)\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.0.65\AVRToolchain\bin\avr-gcc.exe" -funsigned-char -funsigned-bitfields -DF_CPU=16000000UL -Os -fpack-struct -fshort-enums -Wall -c -gdwarf-2 -std=gnu99 -MD -MP -MF "simple_chaser_lights_no_xtal.d" -MT"simple_chaser_lights_no_xtal.d" -MT"simple_chaser_lights_no_xtal.o" -mmcu=atmega328p -o"simple_chaser_lights_no_xtal.o" ".././simple_chaser_lights_no_xtal.c"
C:\Users\ds\Documents\atmel\cylon\N&V_March_April_May_June_2012\simple_chaser_lights_no_xtal.c(80,72): c:\avrtoolbox\libavr\source\elementary\digitalio\digitalio.h: No such file or directory
compilation terminated.
make: *** [simple_chaser_lights_no_xtal.o] Error 1
Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreBuild" in project "simple_chaser_lights_no_xtal.cproj" -- FAILED.
Done building project "simple_chaser_lights_no_xtal.cproj" -- FAILED.

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

Just in case, I note that the Dragon prog'r reports the correct voltage & freq. for the arduino 328P and studio 6 reports the dragon works OK.

The attached zip file is source by Smiley Micro.

Your suggestions are appreciated in advance.

Attachment(s): 

Asking a better question, is the beginning of learning.
**********************
New Hardware Hackers SIG in San Diego, CA Meets 2nd. Tuesday, more info www.Spincraft.com
***********************

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

It looks to me that you don't have the files located where they need to be for the Chaser Lights program to find them.

Do you have this on your system?

c:\avrtoolbox\libavr\source\elementary\digitalio\digitalio.h

If you don't you can get these files from:
http://code.google.com/p/avrtoolbox/

If you aren't sure how to use these libraries take a look at the four blog entries beginning with:
http://smileymicros.com/blog/2011/03/05/avr-open-source-libraries-series-avrtoolbox/

Smiley

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

Thanks for your quick reply, Joe!
I indeed do not have those files installed here.
I read your blog & visited the avrtoolbox repository.
I saw the lcd & style guides, not the files I need.
Maybe they are right in front of my face but I didn't see them.
Thanks for your helping hand.

Asking a better question, is the beginning of learning.
**********************
New Hardware Hackers SIG in San Diego, CA Meets 2nd. Tuesday, more info www.Spincraft.com
***********************