Setting up Code::Blocks to develop Pylon- Install Code::Blocks in the usual way.
- when that is finished, do no open pylon. open the C::B IDE then go to "Settings" -> "Global Variables ..."
- under the "Current Set" press "New" and type in 'pylon', without quotes, then press "Ok"
- under the "Current Variable" press "New" and type in 'python' without quotes, then press "Ok"
- in the variable 'python' the sections should be as follows:
- base to "C:\Python27"
- include to "C:\Python27\include"
- lib to "C:\Python27\libs"
- lflags to "python27"
it should look like this:
- under the "Current Variable" press "New" and type in 'base' without quotes, then press "Ok"
- in the variable 'base' the sections should be as follows:
- base to "C:\Program Files\CodeBlocks\MinGW"
- include to "C:\Program Files\CodeBlocks\MinGW\include"
- lib to "C:\Program Files\CodeBlocks\MinGW\lib"
it should look like this:
- under the "Current Variable" select "base" then press "Clone" and type in 'opengl' without quotes, then press "Ok"
- in the variable 'opengl' the sections should be as follows:
- base to "C:\Program Files\CodeBlocks\MinGW"
- include to "C:\Program Files\CodeBlocks\MinGW\include"
- lib to "C:\Program Files\CodeBlocks\MinGW\lib"
- lflags to "opengl32"
- under the "Current Variable" select "base" then press "Clone" and type in 'glu' without quotes, then press "Ok"
- in the variable 'glu' the sections should be as follows:
- base to "C:\Program Files\CodeBlocks\MinGW"
- include to "C:\Program Files\CodeBlocks\MinGW\include"
- lib to "C:\Program Files\CodeBlocks\MinGW\lib"
- lflags to "glu32"
- under the "Current Variable" select "base" then press "Clone" and type in 'glut' without quotes, then press "Ok"
- in the variable 'glut' the sections should be as follows:
- base to "C:\Program Files\CodeBlocks\MinGW"
- include to "C:\Program Files\CodeBlocks\MinGW\include"
- lib to "C:\Program Files\CodeBlocks\MinGW\lib"
- lflags to "glut32"
Troubleshooting- Step 3 may be an issue, and is not really needed, so it is fine to ignore it.
|