Whenever i am Compiling the sample code for the maze solver for the uc atmega328 there’s an error…I dont know why…But the sample code for the atmega168 is compiling and generating the hex file…
What version of Windows are you using? It sounds like your library might not be installed correctly. Can you type this command into a command prompt?
C:\Users\paul>ls -l c:/winavr-20100110/avr/lib/libpololu*.a
-rw-r--r-- 1 paul Administ 306186 Jan 29 15:39 c:/winavr-20100110/avr/lib/libpololu_atmega1284p.a
-rw-r--r-- 1 paul Administ 279490 Jan 29 15:39 c:/winavr-20100110/avr/lib/libpololu_atmega168.a
-rw-r--r-- 1 paul Administ 306106 Jan 29 15:39 c:/winavr-20100110/avr/lib/libpololu_atmega324p.a
-rw-r--r-- 1 paul Administ 279510 Jan 29 15:39 c:/winavr-20100110/avr/lib/libpololu_atmega328p.a
-rw-r--r-- 1 paul Administ 277234 Jan 29 15:39 c:/winavr-20100110/avr/lib/libpololu_atmega48.a
If you do not see the same sizes that I have, those files could be corrupted somehow.
[edit: I had posted the wrong file sizes initially - they are correct now]
Sir…I am using Windows XP professional…I guess there wont be any problem with my OS… But What file sizes are you referring to…I typed the code into a command prompt that you gave but it could not recognize the “-rw-r–r--”…Sir in the command prompt do i need to do to the section where my Winavr 2010 is installed or where your library is kept.
Sir,I if you see i installed the library on the same day but only for uc 328 the time is different…All the other programs are compiling…What do i do sir please tell me
Sorry, I initially posted the wrong file sizes because I had an unreleased version of the library installed here. I have updated my earlier post with the correct one. Indeed the 328p library seems to have been modified since the installation. Can you reinstall or copy that library file over again, check the file size, then try again?