Configuring your C++ Environment - Part 2
In the last article in this series I let you know about a more up-to-date... and more importantly free C++ environment. In this article I will give you some step-by-step instructions for creating the environment on your PC.

The following instructions will set up a Source Code Repository, Source Code Browser, Source Code Documenter, Executable Compiler for completed projects and finally the C++ IDE.

NOTE : This blog was written after I had installed the environment, in the future I hope to give you better step-by-step instructions for a carefree installation.

 
CollabNet Subversion (http://www.collab.net/downloads/subversion/)  

  1. Download and install Collabnet Subversion.
  2. During the installation you will be asked to enter a default repository, set the location to "C:\svn_repository".
  3. During the installation you will be asked to install Apache Tomcat, use default setting to install this application on port 80.    
  4. Wait until setup is completed.
  5. In Windows Explorer navigate to the Collabnet Subversion HTTPD Conf directory ("C:\Program Files\CollabNet\Subversion Server\httpd\conf").
  6. In Notepad open file "httpd.conf".
  7. Locate and change the "Listen 80" line to "Listen 85".
  8. Save "httpd.conf".
  9. Reboot.
TortoiseSVN (http://tortoisesvn.net/downloads)
  1. Download and install TortoiseSVN.
  2. Straight forward setup, no further instructions required.
Configure CollabNet Subversion and TortoiseSVN
  1. In Windows Explorer go to the SVN Repository Directory ("C:\svn_repository").
  2. Create a new directory called Project ("C:\svn_repository\Project").
  3. On the Project directory right click and select TortoiseSVN --> Create Repository Here.
  4. In Windows Explorer create a new working directory ("C:\svn_working_folder")
  5. Create a new directory called Project ("C:\svn_working_folder\Projects").
  6. Create a new branch repository directory for completed versions ("C:\svn_working_folder\Projects\Branches").
  7. Create a new branch repository directory for in progress versions ("C:\svn_working_folder\Projects\Trunk").
  8. In Windows Explorer select the directory called "C:\svn_working_folder" and right-click.
  9. Select TortoiseSVN --> Import. This will import the new directory structure to the SVN Repository.
  10. In Windows Explorer delete ("C:\svn_working_folder\Projects\Branches").
  11. In Windows Explorer delete ("C:\svn_working_folder\Projects\Trunk").
  12. In Windows Explorer select the directory called "C:\svn_working_folder\Projects" and right-click.
  13. Select TortoiseSVN --> Check Out...
  14. In URL Repository select "file:///C:/svn_repository/Projects/Trunk"
  15. In Checkout Directory select "C:\svn_working_folder\Projects"
  16. In Checkout Depth select "Fully Inclusive".
  17. In Revision Select "HEAD Revision".
  18. Click "OK".
  19. "C:\svn_working_folder\Projects" now has SVN Commit/Update functionality. 
If everything went as planned you should see the following information...
  1. In windows explorer select the directory called "C:\svn_working_folder\".
  2. Right-cick and select TortoiseSVN --> Repo-browser.
  3. In the URL windows type "file:///C:/svn_repository/Projects" and click <OK>.
  4. Expand the projects direcortory, the screen should show the following...


 In windows explorer you should see the following directory structure and SVN icons...



Doxygen (http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc)
  1. Download and install Doxygen.
  2. Straight forward setup, no further instructions required.
InnoSetup (http://www.jrsoftware.org/isdl.php)
  1. Download and install InnoSetup.
  2. Straight forward setup, no further instructions required.
Microsoft Visual C++ Express 2010 (http://www.microsoft.com/express/Downloads/#)
  1. Download and install Microsoft Visual C++ Express 2010.
  2. Straight forward setup, no further instructions required.