zahniser.net :: software

— Strange —

Chaotic attractors

 

— HyperList —

Hierarchical to-do lists

— hsiloP —

Calculator program

— Hexie —

Hex editor

— Mirth —

Read daily comics

— etc. —

Other programs

 

 

 

contact email:

michael at zahniser dot net

Strange :: Download

Current version: 0.5.

 

Build instructions

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

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 Strange.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 Strange folder, or into your system folder (C:\WINDOWS\system32).

Open Strange.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 SDL-dev.

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

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