User forums > Help
Trouble with makefiles(on the official release)
hckr83:
I've just installed the new official release, and I am having trouble getting makefiles to build.
First of all, I am on Windows XP (SP3) and I have uninstalled previous versions of codeblocks and MinGW and installed both CodeBlocks and MinGW from the install file for the official release(I did a full install)
I have tried looking for info on compiling from makefile and the only info I have found doesn't work for this release. It says that I must select Compile From Makefile(under compiler options) rather than Invoke Directly and the problem with this, is the option box is grayed out and can not be changed.
Whenever I try to compile a makefile project, I get nothing but that the process returned 2(after about 10 seconds or so of "compiling"). Apparently this process is make.exe (full command line logging doesn't work completely either)
I have tried most everything, and have yet to get a fix, so I am posting here...
Jenna:
Have you checed "This is a custom Makefile" in your prohject's properties?
Right-click on your project in manager chose "Properties", on the first tab check "This is a custom Makefile" and of course write the name of your makefile in the textbox.
Now you can chose/change the appropriate make-commands in your projects "Build options"
Google:
--- Quote from: jens on March 09, 2008, 06:26:50 pm ---Have you checed "This is a custom Makefile" in your prohject's properties?
Right-click on your project in manager chose "Properties", on the first tab check "This is a custom Makefile" and of course write the name of your makefile in the textbox.
Now you can chose/change the appropriate make-commands in your projects "Build options"
--- End quote ---
I have the same problem. I checked "This is a custom Makefile", but the Build options list box is still disabled.
That's really wired.
Google:
I searched in the forum, and found the same problem since 2005. But no solution yet, at least I did not find it. One guy suggested a method to put something in the Pre/post build steps, BUT, the input area does not allow to input!! Did I miss something?
hckr83:
Actually, though the compiler "use makefile method" option was greyed out; after I fixed make.exe to an updated version(that wasn't DJGPP!!) after that it worked.. maybe make sure that you can execute make.exe from a command line. Codeblocks 8.02(with MinGW) does NOT include make. You must download and install it yourself(for install, you can just copy to codeblocks/mingw/bin/)
Navigation
[0] Message Index
[#] Next page
Go to full version