Setting up a Development Environment

This document explains how to set up a development environment on a fresh Windows installation. For reference, Rebuilding the Development Tree discusses rebuilding the entire development tree from scratch. Mind that you don’t need to do this, and if you do, you’ll overwrite lots of third-party binaries which have been committed to the repository.

Just follow these instructions and you can start building your own HiSPARC software installation packages.

git (a Distributed Version Control System (DVCS))

Homepage:http://git-scm.com/
Version:1.7.10.4 (Standalone)
Download:http://git-scm.com/downloads
Direct Link (win):
 http://git-scm.com/download/win
Direct Link (mac):
 http://git-scm.com/download/mac

Installation steps:

  1. Download and run the installer

HiSPARC Software Checkout

Direct Link:https://github.com/HiSPARC/station-software.git
Command Line:git clone git@github.com:HiSPARC/station-software.git
GitHub For Windows link:
 github-windows://openRepo/https://github.com/HiSPARC/station-software
GitHub For Mac link:
 github-mac://openRepo/https://github.com/HiSPARC/station-software

Steps:

  1. Run Command Prompt (Start -> Run -> cmd)

  2. git clone git@github.com:HiSPARC/station-software.git <checkout-location>. Example:

    C:\Documents and Settings\David Fokkema>cd "My Documents"
    C:\Documents and Settings\David Fokkema\My Documents>mkdir HiSPARC
    C:\Documents and Settings\David Fokkema\My Documents>git clone git@github.com:HiSPARC/station-software.git HiSPARC\trunk
    
  3. Edit \persistent\configuration\startup_settings.bat to your personal taste

  4. You can now run \hisparc_cmd.bat if you want to start a command terminal with a HiSPARC detector pc environment

Notepad++ (a Source Code Editor) (Optional)

Homepage:http://notepad-plus-plus.org/
Version:6.1.3 (Installer)
Download:http://notepad-plus-plus.org/download/
Direct Link:http://download.tuxfamily.org/notepadplus/6.1.3/npp.6.1.3.Installer.exe

Installation steps:

  1. Download and run the installer
  2. All defaults are ok
  3. Navigate to a Python source file and double-click on it.
  4. Windows cannot open this file: Select the program from a list
  5. Choose the program you want to use to open the file: Select Notepad++ and click Open. If Notepad++ is not in the list, click Browse
    1. Navigate to Notepad++/notepad++ and click Open
    2. Select Notepad++ and click Open

LabVIEW Run-Time Engine

Although the run-time engine has already been installed, the license requires a serial number which is not committed in the repository.

Installation steps:

  1. Copy \admin\niruntimeinstaller\Bin\silent_install.txt to \admin\niruntimeinstaller and rename to hisparcspec.ini
  2. Edit hisparcspec.ini and enter user information (serial number)