Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
spincraft
PostPosted: Aug 16, 2012 - 11:04 PM
Wannabe


Joined: Sep 09, 2010
Posts: 85
Location: san diego CA US

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.

_________________
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
***********************
 
 View user's profile Send private message  
Reply with quote Back to top
smileymicros
PostPosted: Aug 17, 2012 - 02:51 AM
Raving lunatic


Joined: Nov 17, 2004
Posts: 6144
Location: Great Smokey Mountains.

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?
Code:
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

_________________
FREE TUTORIAL: 'Quick Start Guide for Using the WinAVR C Compiler with ATMEL's AVR Butterfly' AVAILABLE AT: http://www.smileymicros.com
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
spincraft
PostPosted: Aug 17, 2012 - 03:12 AM
Wannabe


Joined: Sep 09, 2010
Posts: 85
Location: san diego CA US

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
***********************
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits