Installing & Building all Components for Project Exodus

From NEOSYS Dev Wiki
Jump to navigationJump to search

Software to install:

  1. Visual Studio C++ Express Edition.
  2. WinRAR (If you don't have).
  3. PostgresSQL.
  4. TortoiseSVN 9(32 bit).
  5. Boost c++ libraries 1.34.0 .

Downloading & Installing Visual Studio C++ Express Edition:

  1. Go to http://msdn2.microsoft.com/en-gb/express/aa700735.aspx
  2. Now 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.

Downloading & Installing WinRAR:

  1. Go to www.download.com.
  2. In the the search engine, type WinRAR.
  3. Now look for WinRAR 3.7, its would normally be first of the download list.
  4. Now click on the big button saying Download WinRAR.
  5. Now 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. Now a window should pop up called WinRAR set-up, click Ok.
  9. Done.

Downloading and Installing PostgresSQL:

Part 1

  1. Go to http://www.master.postgresql.org/download/mirrors-ftp?file=%2Fsource%2Fv8.1.9%2Fpostgresql-base-8.1.9.tar.gz
  2. Select find your national flag and click on the http link.
  3. 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.
  4. Now look in your download folder for postgresql-8.1.9-1.zip & postgresql-base-8.1.9.tar.gz
  5. Right click on postgresql-8.1.9-1.zip click Extract to postgresql-v8.1.9-1.zip\
  6. Now go to the folder you just extracted to in your download folder.
  7. 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.
  8. 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)
  9. Now 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".
  10. Now 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.
  11. 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.
  12. Now 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.
  13. Type in a password and take a note of it and click Next.
  14. Then you come to a window called Enable contrib modules, tick Tsearch2 near the right hand side and click Next.
  15. Then to start the Installation click Next.

Part 2

  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 exersise. 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. Now 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.
  6. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

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. Now 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. Now you should be looking at a web page with a blue tortoise. The title should also be "TortoiseSVN".
  6. Now look for the subheading "Download Application"
  7. Click on "TortoiseSVN-1.4.5.10425-win32-svn-1.4.5.msi 32 bit.
  8. Now 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.

FOR HOW TO USE GO TO 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 completely 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).

Getting MV onto your pc:

  1. Go to your desktop, and create a new folder.
  2. Right click on the folder, and got to TortoiseSVN, export.
  3. Then 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.

Downloading & Installing SDK:

Part 1

  1. Go to http://www.microsoft.com/downloads/details.aspx?familyid=0baf2b35-c656-4969-ace8-e4c0c0716adb&displaylang=en.
  2. Now click the "continue" button.
  3. Now click on the link called "Download Files Below", you can find the link in the horizontal blue bar goind 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 u have a Intel prosesser, download the top one if you have a AMD prosesser and download the bottom one if you have a if you have nither an Intel or AMD prosesser.
  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. Now 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 chage 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, chage 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. Now run Microsoft Visual Studio C++ Express Edition.
  2. Now 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. Now got to Tools, Options and open Project and Solutions.
  4. Your window should look like this:
    VSC++EEoptions.JPG
  5. Now 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. Now 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. Now 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
Now 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.
  1. http://www.boost.org/ for help on Boost
  1. http://www.postgresql.org/ for help on PostgeSQL
  1. http://www.win-rar.com/winrarsupport.html for help with WinRAR.
  1. http://tortoisesvn.tigris.org/ help on tortoiseSVN.
  1. http://devwiki.neosys.com/index.php/Installing_and_Using_Tortoise_Subversion on how to use tortoise subversion