Have you tried setting up a compiler in Settings -> Compiler?
Have you tried setting up a compiler in Settings -> Compiler?
If you installed the compiler on its default installation directory, there is nothing more to configure. Launch Code::Blocks and you 're all set :)no I am not!!
How do you run the Code:Blocks compiler from the command line.http://wiki.codeblocks.org/index.php?title=FAQ-General#Q:_What_Code::Blocks_is_not.3F
Have you setup C::B to use the correct compiler?
Can you post the full buildlog? Mmcu must be defined the same for compile and link phase.
Again where is the build log?
Now, if you compare this log to the one from the command line, which works. what are the differences?
So look at your makefile where the compiler is installed and make sure the avr toolchain im C::B uses the same compiler.
-LC:\WinAVR-20090313\avr\lib
hello,This is surely a manual setting, either in project/target settings or in the compiler toolchain.
what is :Codesince this directory does not exist ?-LC:\WinAVR-20090313\avr\lib
Cordially.
The WinAVR-20090313 is persistent, in fact there is lots of persistents in the Code::Blocks install if you uninstall and reinstall it still remembers your prior projects, I even went through regedit removing all references to CodeBlocks and a new install still knew about prior projects.User settings should always be persistent through install or new install.
what is :
Code:
-LC:\WinAVR-20090313\avr\lib
In any case it an incorrect configuration done by the user not by C::B, and it's the cause for the OP's problem.
Insert Quote
Then inspect your project and the compiler settings for this path and remove it.
-------------- Build: Debug in StepperJoy (compiler: GNU AVR GCC Compiler)---------------
avr-g++.exe -LC:\WinAVR-20090313\avr\lib
In the Global compiler settings on the first tab there is a tab "Compiler Flags" but no -L option.Have you tried the other tabs? What about the Search Directories -> Linker?
Yes every tab has been inspected!This can not be true !
All I am trying to do is use a default install of Code::Blocks, hard to believe I am the only one to see this stuff.It can not be the default install, because there are several settings in the global options of the avrgcc toolchain, which are obviously wrong.
<LIBRARY_DIRS>
<str>
<![CDATA[C:\WinAVR-20090313\avr\lib;]]>
</str>
</LIBRARY_DIRS>
"Settings-> Global Variables -> Current variable"choose "avr" then delete the contents of the box "lib", then exit and restart "C: B".
In looking at the default.conf I see an big error :It's a linker search path of the avr compiler and not a global variable !Codealso in "C::B" go<LIBRARY_DIRS>
<str>
<![CDATA[C:\WinAVR-20090313\avr\lib;]]>
</str>
</LIBRARY_DIRS>Quote"Settings-> Global Variables -> Current variable"choose "avr" then delete the contents of the box "lib", then exit and restart "C: B".
The wrong path should no longer appear in your "default.conf."
cordially.
Settings-> Compiler-> Compiler GNU AVR GCC-> Search directories-> Linkerthis time you should find the old path
C:\WinAVR-20090313\avr\libto remove.
In C::B go
Quote
Settings-> Compiler-> Compiler GNU AVR GCC-> Search directories-> Linker
this time you should find the old path
Quote
C:\WinAVR-20090313\avr\lib
to remove.
Yes every tab has been inspected!
This can not be true !
I just use programs I try to know as little as possible about anything.
[...]
But it is true true I have looked at every tab, and yes it is true that I probable could know more about things
but do I really need to just to run a default install of Code::Blocks?