My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
SetUpCodeBlocks  
how to setup the code::blocks compiler for pylon compilation under windows.
Featured, Phase-Implementation
Updated Feb 26, 2012 by tarpeyd12

Setting up Code::Blocks to develop Pylon

  1. Install Code::Blocks in the usual way.
  2. when that is finished, do no open pylon. open the C::B IDE then go to "Settings" -> "Global Variables ..."
  3. under the "Current Set" press "New" and type in 'pylon', without quotes, then press "Ok"
  4. under the "Current Variable" press "New" and type in 'python' without quotes, then press "Ok"
  5. 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:
  6. under the "Current Variable" press "New" and type in 'base' without quotes, then press "Ok"
  7. 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:
  8. under the "Current Variable" select "base" then press "Clone" and type in 'opengl' without quotes, then press "Ok"
  9. 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"
  10. under the "Current Variable" select "base" then press "Clone" and type in 'glu' without quotes, then press "Ok"
  11. 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"
  12. under the "Current Variable" select "base" then press "Clone" and type in 'glut' without quotes, then press "Ok"
  13. 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.
Powered by Google Project Hosting