zahniser.net :: software

— hsiloP —

Calculator program

 

— HyperList —

Hierarchical to-do lists

— Hexie —

Hex editor

— Mirth —

Read daily comics

— Strange —

Chaotic attractors

— etc. —

Other programs

 

 

 

contact email:

michael at zahniser dot net

hsiloP :: Download

Current version: 1.0.

 

Setting a shortcut key

I find it useful to be able to launch hsiloP with a keyboard shortcut. On Windows you can set this up by creating a shortcut to hsiloP on the desktop, then editing its properties and entering something in the "Shortcut Key" box. On the Mac, you can use Quicksilver or a similar launcher application.

 

Build instructions

The following instructions are for programmers wanting to modify hsiloP and for people using operating systems other than Mac OS X and Windows. If all you want to do is run hsiloP on a Mac or Windows machine, just click on the appropriate link above.

Note: instead of downloading the source code from the link above, you can also get it via Subversion from the hsiloP project page on Google Code.

Mac OS X: Download the latest Mac OS X "Runtime Library" version of SDL from here. (On the Mac, runtime libraries contain all the data necessary to link them to a program. You do not need the "Development Library" for the Mac, although you may find it useful if you will be developing other SDL applications in the future.)

Copy the SDL.framework into /Library/Frameworks.

Open hsiloP.xcodeproj. You will need Xcode version 2 or higher (the version that comes with Mac OS X 10.4).

Click the "build and run" button.

Windows (Visual Studio): Download and install the latest Windows SDL "Development Library" from here.

Copy SDL.dll into the hsiloP folder, or into your system folder (C:\WINDOWS\system32).

Open hsiloP.sln. You will probably need Visual Studio 2005 or later. If you are running an earlier version, you can create a project file by doing the following:

  • In File->New->Project... select Win32 Console Aplication, then click the "Empty Project" button.
  • Drag all the source files (except those specific to other operating systems) into the new project.
  • Set Properties->General->Character Set to "Not Set".
  • In Properties->Linker->Input->Aditional Dependencies, add "SDL.lib".
  • Set Properties->Linker-System->SubSystem to "Not Set"
  • If you want to make a Debug build, add "_DEBUG" to the Debug configuration Properties->C/C++->Preprocessor->Preprocessor Definitions, and set the Debug configuration Properties->C/C++->Code Generation->Runtime Library to Multi-threaded debug.

In Tools->Options->Projects and Solutions->VC++ Directories, add "<path/to/your/SDL/install>/lib" to the libraries path, and add "<path/to/your/SDL/install>/include" to the includes path.

Compile and run.

Linux: Use your favorite package manager to install libsdl1.2-dev and libgtk2.0-dev.

In a terminal window, navigate to the hsiloP directory and type "make".

Type "./hsiloP" to run the executable that is produced.