here at eyebeam, we’ve been experimenting with using codeblocks as an alternative to devcpp. big props to friedrich for getting us going. it’s based on the same compiler (mingw) but as an IDE has some obvious benifits:
a) active community
b) significantly less buggy
c) just had a new release
we will release 0.05 w/ codeblocks as opposed to devcpp, since devcpp has serious limitations
here’s a step by step tutorial to get up and running, and inport your devcpp projects in codeblocks.
click the images to see big ones
a) download code::blocks binary (latest release)
note: download WITH mingw.
**b) install **
you don’t have to change anything
d) associate c++ files?
I chose not too, since code::blocks is not my primary IDE
e) add files to mingw
similar to devcpp, we will have to add a few libraries to devcpp. you can download the files : here.
in the zip there are two folders, you need to put the contents of them into the contents of folders in mingw.
– add the contents of the folder “add_to_codeblocks_mingw_include” into “C:\Program Files\CodeBlocks\MinGW\include”
(or wherever your app\mingw\include is)
– add the contents of the folder “add_to_codeblocks_mingw_lib” into “C:\Program Files\CodeBlocks\MinGW\lib”
(or wherever your app\mingw\lib is)
f) import your devcpp project
file → import
g) choose compiler (mingw / gnu gcc)
just choose the top one:
h) the default sorting looks terrible
this is an example of the default sorting, which separates cpp and h files:
i) we suggest to change it to this
if you unclick “categorize by file types” things look like normal.
j) need to do one more thing to compile
if we compile now, we get link errors. right click target and say “go to build options”
k) get to the linker settings
navigate to the linker settings. make sure you are not highlighting “default” in the top left. highlight the name of the target.
l) change the lower links to "-l"
m) now we can compile!!
hope that’s helpful for anyone looking for a devcpp alternative —
please let me know if that works, or you have issues, etc.