
- #CODEBLOCKS 13.12 MINGW SETUP EXE HOW TO#
- #CODEBLOCKS 13.12 MINGW SETUP EXE INSTALL#
- #CODEBLOCKS 13.12 MINGW SETUP EXE SOFTWARE#
- #CODEBLOCKS 13.12 MINGW SETUP EXE WINDOWS 7#
- #CODEBLOCKS 13.12 MINGW SETUP EXE DOWNLOAD#
Next click Search directories next to the Linker Settings tab. In the other linker options panel type in the following: -lmingw32 -lSDL2main -lSDL2 -lSDL2_image -lSDL2_ttf -lSDL2_mixer -lopengl32 -lglu32 -lglew32 -lglew32mx In the menu box click on Linker Settings. Setting up codeblocks to work with SDL2.0 GLEW and openglĬlick on Settings in the top menu. Next go to C:\glew\glew-1.10.0\src copy glew.o and glew.mx.o and paste them in C:\Program Files (x86)\CodeBlocks\MinGW\libįinally copy the header files glew.h, glsew.h and wglew.h from C:\glew\glew-1.10.0\include\GL and place them inĬ:\Program Files (x86)\CodeBlocks\MinGW\include\GL. Now go to C:\glew\glew-1.10.0\lib copy all files and paste them in C:\Program Files (x86)\CodeBlocks\MinGW\lib Then past them in C:\Program Files (x86)\CodeBlocks\MinGW\include\GL In your file manager got to C:\glew\glew-1.10.0\include\GL and copy all the files. If you don't know how simply type compile.bat and press enter. Next open a command terminal and change directories to C:\glew\glew-1.10.0 Next copy compile.bat into C:\glew\glew-1.10.0 or the perspective directory for your version

Installing and compiling GLEW for mingwįirst create a directory called glew (case sensitive) in on your C: drive. If you need a utility to extract them you could I recommend 7-zip. Next create a directory in C: called SDL (case sensitive)Įxtract them into the C:\SDL directory so that it looks like this.
#CODEBLOCKS 13.12 MINGW SETUP EXE SOFTWARE#
I did it to just the longest names saving about 25% You may not have this issue at all I happen to be running a lot of compilers and other software that needs it. Use dir /x to get the 8dot3 name of each directory. The best suggestion I can give here is to use an editor like notepad++ and switch directory names to 8dot3 format. If you find you are getting a message about the path being too long and being truncated you will need to edit the path variable. Setx PATH "%path% C:\Program Files (x86)\CodeBlocks\MinGW\bin "
#CODEBLOCKS 13.12 MINGW SETUP EXE WINDOWS 7#
The simplest way under windows 7 and 8 maybe to use the command setx This will need to be done so GLEW can be compiled for this system. You will want to add C:\Program Files (x86)\CodeBlocks\MinGW\bin to the end of the path and then reboot your system to make use of it.
#CODEBLOCKS 13.12 MINGW SETUP EXE HOW TO#
It will very depending on what windows system you are running as how to get to the path.
#CODEBLOCKS 13.12 MINGW SETUP EXE INSTALL#
Installing codeblocks is simple install it to its default directory and accept the agreements and so on.Īt this point you want to make sure code blocks is included in your system path. This will save you from the headache of having to fix issues later on. It is important to install the files in the directories I specify when you are learning.
#CODEBLOCKS 13.12 MINGW SETUP EXE DOWNLOAD#
You will also want to download compile.bat from here compile.bat. The current version is 1.10 which you can download here TGZ. Download the the TGZ version the windows binaries will not work they are for visual studio. For use with code blocks you will want to go in and download the perspective file that has "" in the name.

The more common ones use include SDL_image, SDL_mixer, SDL_net and SDL_ttf. Next you will want to down load any libraries that you may choose to use with SDL such as image, mixer and so on.

There should be a fix in the next revision for the current bug discussed here. If you wish to use 2.0.3 you should replace the SDL_platform.h file in it with the one from 2.0.2. You can download 2.0.2 here SDL2-devel-2.0. You can download 2.0.3 here SDL2-devel-2.0. As of this being written 2.0.3 has a bug in it SDL_platform.h file and will cause compile errors. You can find it at Go to download SDL 2.0 and then select the version that reads like SDL2-devel-2.0. the 2.0.3 is the version number in this case shown. The next thing you will need to do is download SDL 2.0. As of me writing this the current release is 13.12 available at sourceforge here codeblocks-mingw-setup.exe download from either BerliOS or. Select one of the ones listing the mingw in the name. Click first on "download" then "Download the binary release". You will want to download the correct one. The first thing you will need to do is download codeblocks. Last updated Tutorial Color Key button or links in codeblocks, file directories, file names, Text that needs to be copied, console commands Downloading required files How to setup SDL2 OPENGL GLEW with codeblocks & mingw32
