1. Installing The Instinct Graphics Package – Windows

1. Installing The Instinct Graphics Package – Windows
ZD YouTube FLV Player

h


Installing The Instinct Graphics Package – Windows

Before we can use the Instinct Graphics Package on Windows, let’s go ahead and get ourselves a nice programming environment and then get the Graphics Package resources.

Installing the Code::Blocks IDE with the MinGW C++ Compiler

So first thing is first, let’s download Code::Blocks with the bundled C++ Compiler so we have a place to make our programs.

To download the Code::Blocks IDE and MinGW Compiler: Click Here

Go ahead and walk through the simple installation steps and once that is done let’s try making a sample C++ program.

Using Code::Blocks

So once you have fully installed Code::Blocks and the MinGW compiler, go ahead and click “New->Empty File”.  A blank file should pop up for you to write your own C++ program.  Go ahead and write a Hello World program in there to make sure everything installed and is working correctly.

#include <iostream>

using namespace std;

int main()
{
    cout << "Hello World" << endl;
    return 0;
}

Once you have finished typing this, go ahead and click on the button that looks like build which will compile and run your program.

It will ask you to save the file,  just put it anywhere and call it “main.cpp”.  Don’t worry about putting it in a special place for now, you can delete this file once we are done here.

If you happened to have a compiler error, Code::Blocks will show you, just go ahead and fix it and press build and run again until there are no more errors.

When your Hello World program runs, you should see something similar to this:

helloworld

If you see the words Hello World in a terminal, then you have successfully installed Code::Blocks and the MinGW compiler!

Wait, I Can’t Get My Program To Work, It Keeps Saying Cannot Find mingw32-g++.exe

If your program wont even attempt to compiler or run and you get a message similar to the one above, then something probably went wrong with your installation.  First thing to check is to see if Code::Blocks knows where the MinGW compiler is at.

Go ahead and click “Settings->Compiler and Debugger”.  In the window that pops up, click the “Toolchain Executables” tab.  There will be a section for the Compilers installation directory.  Go ahead and click “auto detect” and make sure the path listed there exists on your computer.  If it does not exist, perhaps you installed this on another disk drive and should try to find it on there and point Code::Blocks there if you can find it.

If after all that things still don’t work, perhaps the installation itself just failed and go run the installer once again and remember where you told it to install.

Getting the Instinct Graphics Package

Instinct Graphics Package Project Folder: Download Here