Help getting the hello world example running

Topics related to the API, programming discussions & questions, coding tips, bugs, etc. should go here.

Help getting the hello world example running

Postby angryrabbit » Wed Feb 03, 2010 8:25 am

Hi. I am following the instructions outlined here:
http://belogic.com/uzebox/tutorials.htm

But upon reaching the step whereby I press F7, I get the following messages:

rm -rf helloworld.o fat.o mmc.o uart.o uzeboxCore.o uzeboxSoundEngine.o uzeboxSoundEngineCore.o uzeboxVideoEngine.o uzeboxVideoEngineCore.o helloworld.elf dep/* helloworld.hex helloworld.eep helloworld.lss helloworld.map
Build succeeded with 0 Warnings...
Makefile:80: warning: overriding commands for target `videoMode1.o'
Makefile:77: warning: ignoring old commands for target `videoMode1.o'
Makefile:86: warning: overriding commands for target `videoMode2.o'
Makefile:83: warning: ignoring old commands for target `videoMode2.o'
avr-gcc -mmcu=atmega644 -Wall -gdwarf-2 -Os -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT helloworld.o -MF dep/helloworld.o.d -c ../helloworld.c
../helloworld.c:4:26: error: kernel/video.h: No such file or directory
../helloworld.c:5:30: error: data/fonts.pic.inc: No such file or directory
../helloworld.c: In function 'main':
../helloworld.c:11: warning: implicit declaration of function 'SetFontTable'
../helloworld.c:11: error: 'fonts' undeclared (first use in this function)
../helloworld.c:11: error: (Each undeclared identifier is reported only once
../helloworld.c:11: error: for each function it appears in.)
../helloworld.c:12: warning: implicit declaration of function 'ClearVram'
../helloworld.c:13: warning: implicit declaration of function 'Print'
make: *** [helloworld.o] Error 1
Build failed with 5 errors and 7 warnings...

---

I have scoured my computer, and there is no file named video.h.

This is the file I downloaded:
http://uzebox.googlecode.com/files/uzebox_src_3.0.zip

What am I missing?
angryrabbit
 
Posts: 1
Joined: Wed Feb 03, 2010 8:18 am

Re: Help getting the hello world example running

Postby D3thAdd3r » Wed Feb 03, 2010 11:56 am

Well I think that tutorial is out of date. Copy uzebox_src_3.0\demos\Tutorial\ and use that instead of the example assuming everything else is set up.
Lee
User avatar
D3thAdd3r
 
Posts: 158
Joined: Wed Apr 29, 2009 10:00 am
Location: Minneapolis, MN United States

Re: Help getting the hello world example running

Postby uze6666 » Wed Feb 03, 2010 7:35 pm

Indeed, this is out of date. I've put it on my TODO list to fix it.

-Uze
User avatar
uze6666
Site Admin
 
Posts: 1547
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada


Return to Programming & Software

Who is online

Users browsing this forum: No registered users and 1 guest