Installing & Building all Components for Project Exodus

From NEOSYS Dev Wiki
Jump to navigationJump to search

Software to install:

  1. WinRAR.
  2. PostgresSQL.
  3. TortoiseSVN 9(32 bit).
  4. Boost c++ libraries 1.34.0 .
  5. Visual Studio C++ Express Edition.
  6. Downloading & Installing Platform SDK.

Downloading & Installing WinRAR:

  1. Go to www.download.com.
  2. In the the search engine, type WinRAR.
  3. Look for WinRAR 3.7, its would normally be first of the download list.
  4. Click on the big button saying Download WinRAR.
  5. You come to another web page, wait for a moment, and a little window pop up asking whether to save or run. It would be advisable to save it in a folder called Downloads.
    (If you haven't already done so).
  6. There should be a few moments of downloading, depending on your internet connection. Then click Run, then click Run again.
  7. Click Install.
  8. A window should pop up called WinRAR set-up, click Ok.
  9. Done.

Downloading and Installing PostgresSQL:

Part 1: Downloading & Installing PostgresSQL

  1. Go to http://www.postgresql.org/
  2. In the search engine at the top right hand corner copy & paste postgresql-8.1.9-1.zip and press enter.
  3. Click the one pointed to you by the red arrow
    GetpgSQL1.jpg


if not included, look for something similar, keeping in mind you need thepostgresql-8.1.9-1.zip)

  1. Select find your national flag and click on the ftp link.
  2. Click the link "Win32"
  3. Click the link "postgresql-8.2.5-1.zip"
  4. Now a window will pop up asking whether you want to save or run the installation program. Save it in your download folder, if you haven't created one do so. The purpose of having a Download file is that every time you download a big file you save it so that you don't have to waste your time downloading it again. However with small files, there is no point in saving them because of the small amount of time they take to download.
  5. Look in your download folder for postgresql-8.1.9-1.zip
  6. Right click on postgresql-8.1.9-1.zip click Extract to postgresql-v8.1.9-1.zip\
  7. Go to the folder you just extracted to in your download folder.
  8. Double click on the file postgresql-8.1.msi, and to check whether you have the right version, look at the size, is it 134Kb.
  9. A window should have popped up, saying what language you want to use in the installation. Select your preferred language. (if you have any other windows close them down and SAVE your work)
  10. This window is important, so don't miss any thing out. Scroll down to Database drivers, and click on the small triangle pointing downwards, a small list of options will appear click "Entire feature will be unavailable".
  11. Scroll to the very bottom to Development, now just like the other one click on the small triangle pointing downwards and again the options will appear, this time click "Entire feature will be installed on your local driver". Click Next.
  12. In the next window type into the User name field any random name, as you will not have to remember it. Then click Next. Click Yes. Click Ok.
  13. In the current window there are some drop down menus you MUST change:
    • The field next to Encoding, use the drop down menu to find UTF-8.
    • The field next to Locale, use the drop down menu to find your language.
  14. Type in a password and take a note of it and click Next.
  15. Then you come to a window called Enable contrib modules, tick Tsearch2 near the right hand side and click Next.
  16. Then to start the Installation click Next.

Part 2: Set-up & Configuration

  1. Go to your start menu, all programs, PostgreSQL 8.1, pgadmin III. Click the close button for the tips.
  2. Double click on PostgreSQL database server 8.1 (Localhost:5432), and it will ask you for the password you took note of in Part1 of the exercise. Type it in
  3. On the right hand side of the window there are the files of the SQL Server. To make a new database right click on Database(1)and click the New Database option. Type in NEOSYS into the name field.
  4. On the right hand side of the window look for Login Roles (1), at the bottom of the list.
  5. Right click it and click the New Login Role.

Loginrole.JPG

UNSURE WHAT TO PUT HERE, CANT PUT DADS PASS IN.

Downloading & Installing Tortoise SVN (32bit):

  1. Go to your browser, copy and paste the web address into your URL "http://subversion.tigris.org/project_packages.html".
  1. The web page should have a title of "Subversion packets", and have a dark green theme.
  2. Scroll down the page, and look for Windows NT, 2000, XP and 2003.
  3. Look through the text for "If you want a pretty Win32 GUI, TortoiseSVN integrates nicely with the Window Explorer.", near the bottom. Click on the link highlight in blue (tortoiseSVN).
  4. Look for "Latest Version" in a green bar and underneath that, in the text look for "download page" and click it.
  5. You should be looking at a web page with a blue tortoise. The title should also be "TortoiseSVN".
  6. Look for the subheading "Download Application"
  7. Click on "TortoiseSVN-1.4.5.10425-win32-svn-1.4.5.msi 32 bit.
  8. You come to a web page with a URL starting with "http://sourseforge.net/ bla bla bla bla", either a window automatically pops up asking whether to save or run, or you right click on a beige horizontal bar at the top of the web browser window, and select "Download file".
  9. Click Save, and save the file into your download folder. (make a folder named download, if you haven't already done so) then click Run, and click Run again.
  10. When the TortoiseSVN window set-up pops up, click next.
  11. Accept the terms, and click next.
  12. Click next again, then click Install.
  13. Then installation program will ask you to restart.


Getting Project Exodus onto your Computer:

  1. Go to your desktop, and create a new folder.
  2. Right click on the folder, and got to TortoiseSVN, export.
  3. This window should pop up:

TortoiseSVN.JPG

  1. In the URL field type in (or copy and paste) http://svn.neosys.com/svn/trunk and click Ok.
  2. Another window will pop up, and start listing the files you are importing onto your pc.
  3. Click Ok, once loading is finished.

For help on how to use: http://devwiki.neosys.com/index.php/Installing_and_Using_Tortoise_Subversion

Boost C++ Libraries 1.34.0

  1. Go to http://www.boost-consulting.com/products/free
  2. Click the 2nd download, Boost 1.34.0 Installer.
  3. Click Run and again.
  4. Agree to the licenses.
  5. Click Next.
  6. Tick the Visual C++ 8.0 (Visual studio 2005).
  7. Tick the first two Variants.
  8. Now untick every box except:
    • BoostRegex
    • Boost DateTime
    • Boost FileSystem
    • Boost IOstream
    • Boost Thread
    • Boost ProgramOptions
    • Boost header files
    • Start menu shortcut
    • Source and Documentation
    • Tools.

Choosingcomp.jpg
9. Click Next, Install. (take note of where you saved boost).

Downloading & Installing Visual Studio C++ Express Edition:

  1. Go to http://msdn2.microsoft.com/en-gb/express/aa700735.aspx
  2. Click on the download button near the top right hand of your screen.
  3. Scroll down the web page till you see 6 different downloads e.g. Visual Basic, SQL Server and Visual C++.
  4. Select your language for Visual C++ 2005 Express Edition, as soon as you select your language a "File download" window will pop up, click Run.
  5. There should be a bit of loading, once finished click Run and again.
  6. There should be a minute or two of loading, click Next in the Visual Studio C++ set-up.
  7. Accept the terms and click Yes.
  8. Tick the Graphical IDE if it hasn't been ticked already and click Next.
  9. Browse for a location in where you would like Visual Studio C++ (although, it would be best to keep the default location in case something need to find the Visual Studio C++ folder and cannot find it in its default location) then click Next.
  10. If you have any minor jobs to do, I suggest you do so now as it will take a while, but keep checking on how the installation is coming.
  11. Then reboot your computer.
  12. Once your pc is ready look for Visual Studio C++ on icon your desktop, if its not there go to start, all programs in the start menu and look for Visual Studio C++ Edition as show below:
    WhereVSC++.jpg
  13. The window below will pop up, telling you that you need to register your copy of Visual Studio C++ Express Edition.

RegisterVSC++.jpg

Downloading & Installing Platform SDK:

Part 1

  1. Go to http://www.microsoft.com/downloads/details.aspx?familyid=0baf2b35-c656-4969-ace8-e4c0c0716adb&displaylang=en.
  2. Click the "continue" button.
  3. Click on the link called "Download Files Below", you can find the link in the horizontal blue bar going across the web page.
  4. That link takes you to the bottom of the page, where it lists 3 files to download, download the middle one if you have a Intel processor, download the top one if you have a AMD prosesser and download the bottom one if you have a if you have neither an Intel or AMD processor.
  5. Save the file into your download folder.
  6. Then click Run, Then click Run again.
  7. After a second or two, you come to a little window, with one button, click Cancel.
  8. Click Next.
  9. Agree to the terms, and click Next.
  10. Do a custom installation, and click Next.
  11. You come to a stage in the set-up where it asks "In which driver do you want to save you files to?". Pick the drive you prefer. To change from drive to drive you change the beginning of the location. So if you want to save SDK in the C drive, leave it as it is and if you want to save SDK to the D drive, change C to D. Or click browse. Then click Next.
  12. Click Next again, and wait a second for the loading.
  13. Then continue the download, till the end.

Part 2

  1. Run Microsoft Visual Studio C++ Express Edition.
  2. On your screen you should see:
    VSC++EE.JPG
    click on agency, and on the left hand column you should see:
    Solutionexplorer-mv.JPG
  3. Go to Tools, Options and open Project and Solutions.
  4. Your window should look like this:
    VSC++EEoptions.JPG
  5. Click the button that looks like a yellow folder, and in the field where your cursor should be blinking, copy and paste the following path Executable files path, and press Enter: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin.
  6. Click the drop down menu for Show directories for: and click Include Files, now click the button that looks like a yellow folder and in the field were the cursor is blinking copy an paste the following path, and then press Enter: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include.
  7. Click the drop down menu for Show directories for: and click Library files, now click the button that looks like a yellow folder and in the field were the cursor is blinking copy an paste the following path, and then press Enter: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib

Compile by pressing F5.


Helpful Websites

  1. http://msdn2.microsoft.com/en-gb/express/aa700755.aspx for help on Microsoft Visual Studio C++ Express Edition.
  2. http://www.boost.org/ for help on Boost
  3. http://www.postgresql.org/ for help on PostgeSQL
  4. http://www.win-rar.com/winrarsupport.html for help with WinRAR.
  5. http://tortoisesvn.tigris.org/ help on tortoiseSVN.
  6. http://devwiki.neosys.com/index.php/Installing_and_Using_Tortoise_Subversion on how to use tortoise subversion