NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Microcontroller Programming » Strange lcd.h errors

January 23, 2013
by Ralphxyz
Ralphxyz's Avatar

Here are my errors:

I am using Code::Blocks as my IDE for the first time. I was getting errors about FD7 etc not being found so I added #include io_328p.h to lcd.c but I can not figure out wha tto do for these lcd.h errors?

I have the Linker settings by individual files and the libnerdkits folder in the Search directories.

Thanks for the help.

Ralph

January 23, 2013
by Ralphxyz
Ralphxyz's Avatar

Ok I "fixed" that problem by adding

#include <stdlib.h>//added rph 1/23/2012 
#include <stdint.h>

to lcd.h.

Now I have progressed to the next errors!!

I believe the "undefined reference to 'lcd_init'" has been discussed here often.

Ralph

January 24, 2013
by Ralphxyz
Ralphxyz's Avatar

This is really getting ugly.

I corrected the undefined reference errors by including the .o files in the Compilier Linker.

Now I am left with this:

These are all things in the C:WinAVR-20090313 application folder, I haven't the slightest idea on what to do next :-(

Now the win-avr compiler I run from the command line works fine no errors so anyone know how I can point to that one?

What is the path to the Nerdkit version of the compiler?

Does anyone use Code:Blocks? Do you have access to their forum? I am not able to register, I do not know the answers to their Fort Knox lockup questions.

Ralph

January 24, 2013
by Noter
Noter's Avatar

I don't use it Ralph but I created an account in their forums with no problem. A quick search showed a lot of AVR related discussions so the tool definitely supports AVR. Probably best if you get on their forum. Answer ... Code::Blocks is designed for "C++".

January 24, 2013
by Ralphxyz
Ralphxyz's Avatar

Thanks Paul, I was confused with:

What language Code::Blocks is designed for? (letter,2x sign):

as Code::Blocks actually handles a number of Languages.

I thought 2x sign was looking for 2 characters, oh well :-(

Damm, I still cannot register!

You did not answer the verification questions correctly.

I even listened to the CapCha challenge so I know I have that correct.

Is there something about last field that says to leave blank?

Here is my attempt to register:

I tried all caps for the CapCha.

Thanks for the help,

The Code::Blocks IDE really looks nice.

Ralph

January 24, 2013
by Noter
Noter's Avatar

I did all caps for the CapCha and also answered 2013 for the year.

January 24, 2013
by Ralphxyz
Ralphxyz's Avatar

Duh, you mean we had a new year why didn't somebody tell me?

Ralph

Post a Reply

Please log in to post a reply.

Did you know that NerdKits has a TV commercial, seen on MythBusters and the Science Channel? Learn more...