Example Code

This page explains how to check out the code, the structure of the code, and how to build the code.

Set up

To build the example code used in the descriptions in this blog you will need to have installed a C++ compiler, SCons (Python is also needed for SCons), and Subversion. Later you will need other things installed, but that is all you need for the first steps.

Getting the code

You can check out the code using Subversion with the following command on the command line (all on one line):

svn checkout

http://www.mereidea.com/svn/testing/trunk/mi_test_scons

This should create the directory mi_test_scons in the current directory containing all the current example code.

If using Windows and TortoiseSVN, right click on the directory you want to place the code in and select SVN checkout from the menu. Put:

http://www.mereidea.com/svn/testing/trunk/mi_test_scons

in the URL of repository box. TortoiseSVN doesn’t create the mi_test_scons directory for you, so you will need to either create it first and right click on it, or add mi_test_scons to the end of the directory in the Checkout directory box. Another option is to put

http://www.mereidea/svn/testing/trunk

in the URL of repository box, but this will check out everything in the trunk, which may not be what you want.

If you are using any other Subversion client, I’m afraid you are on your own, but I’m sure it’s pretty straightforward given the above information.

Pages: 1 2 3