Skip to content
Rafael Picanço edited this page Sep 3, 2017 · 29 revisions

Welcome to the Stimulus Control wiki!

Downloading the most recent version

Compiling from Source.

Linux

Windows 7 SP1 or later

Compiling

  • Create an account on Github;
  • Install GitHub Desktop for windows: https://desktop.github.com/.
  • Associate your account to Github Desktop.
  • Open GitHub Shell (it came with Github Desktop);
  • Clone the repository by executing the following command in the Github Shell prompt:
git clone --recursive https://github.com/cpicanco/stimulus_control.git
  • go to the stimulus_control cloned folder using your file explorer.
  • Copy platform specific (64 or 32 bits) *.dll files from the dependency folder to the stimulus_control.exe file folder, for example:
    • from stimulus_control/dependency/lbass/windows/64/bass.dll to stimulus_control/bass.dll
    • from stimulus_control/dependency/libzmq-builds/windows/64/libzmq.dll to stimulus_control/libzmq.dll
    • from stimulus_control/dependency/inpout32.dll to stimulus_control/inpout32.dll (optional)
  • Install Lazarus IDE (in this case 64 bits);
  • Open Lazarus
  • Choose the Build Mode for your platform (for example, Windows64 release) by clicking at the drop down arrow of the engine button;
  • Press the play button (the green one) or F9 and wait until compilation is done;
  • Enjoy!

NOTE: Install Visual C++ redistributable 2017 if necessary (libzmq dependency):

NOTE: The distributed libzmq.dll requires at least service pack 1: https://superuser.com/a/1041874

Synchronizing

To synchronize your source code and be updated with recent changes:

  • Open GitHub Shell;
  • execute the following commands pressing enter for each line:
cd .\stimulus_control
git stash
git pull
  • Recompile the program.
  • Done!

Optional for all systems