Installation
Gravit Home / Documentation Index
Windows
The Windows installer is easy. All dependencies (SDL, Lua, etc) are included and installed automatically. Follow these steps:
- Download the latest Gravit for Windows at http://gravit.slowchop.com/. It should be called something like gravit-0.4.0-win32-installer.exe.
- Run the file you just downloaded
- Follow the installation instructions
- The installer will install Gravit on to your computer with optional shortcuts, program group and screensaver.
UNIX
Version 0.4.0 has a configure script to make life a little easier:
Compiling on Windows
If you feel the need to play with the source code in Windows I
maintain a Microsoft Visual C++ 6 project file. You'll need to do the
following:
- All SDL "devel VC6" packages from:
- Extract them somewhere, then in VC6 set up your include and lib paths (explained below)
- For LUA, I use lua+lib.lib and lua+lib.dll in LuaBinaries-5.0.3.zip at:
- Ok you should have 4 include and 4 lib directories. Set up VC6 include paths like this:
- In VC6, go into Tools -> Options menu
- Select the Directories tab
- "Show directories for:" should be "Include files"
- Add all 4 SDL and Lua include directories. eg c:\src\SDL-1.2.8\include
- change "Show direcotories for:" to "Library files"
- Add all 4 SDL and Lua library directories: eg c:\src\SDL-1.2.8\lib
- Hit OK. VC6 should be ready to compile Gravit.
- Open gravit.dsw from the source distribution and build.