Saturday, July 25, 2015

How to Install Bloodshed Dev C++ (plus extra notes on OpenGL + Dev C++)

Get the Dev C++ installer.

Bloodshed website: 

or

download it from here:

I've learned to keep backup copies of all the files I've downloaded in the past to avoid future complications, which happens, because, as I've learned the hard way, not everything uploaded on the internet stays on the internet forever, because, data needs servers and sometimes data owners have the power to delete data. Which is kind of ironic, really, because I'm using google drive to backup this copy.

Once you've set up a typical installation, don't forget to rename C:\MinGW (tip: Why is my compiler just not working? ), if you've had a previous MinGW installation on your computer. Or else, you'd get an error during compilation. In my case, I changed the name to C:\MinGW_ext and that solved the problem.

Extra note:
Now, I was doing this because I needed to work with OpenGL and glut (Setup instructions here: OpenGL with Dev C++)  and my lecturer preferred Dev C++. I though all was well, but it turns out that all was not well when I encounter another problem with glut.h. I tried to compile a code without an #include <iostream> and got an error. So to fix that, make sure you include <iostream>. (Tip: Glut in Dev C++ error “redeclaration of C++ built-in type `short'”.)

Regards,
HAJAR.

No comments:

Post a Comment