User forums > Help
Can't compile. make.exe error.
marsheng:
I have read as much as I can find but after 3 installs and uninstalls 2 different PC's I still cannot get my AVR project to compile. Even tried looking at youtube.
I get the message
make.exe: Makefile: No such file or directory
make.exe: *** No rule to make target `Makefile'. Stop.
The ToolChain exe. is pointing to the make.exe file !!!!
I can run AVR Studio fine so the compiler must be fine.
I have tried manually to set the directories etc but still no joy.
Is it possible that there is an issue with me installing all my programs to D: drive ?
Win XP and Win7, Codeblocks 8 10 and the latest. All the same.
stahta01:
Why are you trying to use a custom makefile project without having a Makefile?
Do you want to build a normal CB project, instead?
Tim S.
marsheng:
Everything is default, and I'm not using a custom make.
My settings. GNU AVR GCC Compiler.
When I select Toolchain executables, and the drop down for Make Program, the default is
d:\Winavr\bin.
However Winavrs default installation for make is d:\Winavr\util\bin.
If I set the make path to d:\Winavr\util\bin
of even copy the make.exe to d:\Winavr\bin I still get the same error.
Where is the default makefile located ? I can't find anything ?
BlueHazzard:
If you use a make file project YOU have to provide the makefile. Codeblocks will not generate it for you...
If you don't want to create a makefile by yourself, and want to use codeblocks use a normal codeblocks project file...
stahta01:
Where to change an CB Project into a Custom Makefile project.
Project -> Properties
Tab: Project Settings
Checkmark: This is a custom Makefile.
Uncheck that to make it a normal CB Project.
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version