Skip to content
tiffany352 edited this page Feb 22, 2013 · 25 revisions

A fair warning

You will need fairly up to date drivers in order to run IntenseLogic, as it uses OpenGL 3.1 (3.2 on OS X). You need a Sandybridge or newer CPU if you plan to run on Intel integrated graphics, but any fairly recent AMD/NVidia GPU should do (OpenGL 3.1 is several years old, after all). Note that if your drivers are provided through your OEM (HP does this), they will be extremely out of date and you will not be able to run IL at all on Intel cards.

OpenGL 3.2 is required on OS X as 3.1 support is not available. IntenseLogic does not use any features of 3.2.

IntenseLogic should build on anything with a half-decent POSIX implementation (ignoring library dependencies...), but there is probably quite a lot of platform-dependent behaviour, so if you find any please be sure to report it.

Windows

We will provide packages when we begin to add version numbers to engine versions.

MinGW + Msys

(Only tested for 32bit) Include directory: Anywhere you want, if you don't care just use /C/MinGW/include Library directory: Anywhere you want that windows can load DLLs from, if you don't care just use your IL source tree or /C/Windows/

GLFW

Prerequisites: Download and unzip the GLFW source distribution. The windows binaries will not work. They are compiled for Visual Studio.

  1. mingw32-make win32-msys
  2. Copy the contents of include/ to your include directory
  3. Copy libglfw.a, libglfw.dll.a, and glfw.dll from lib/win32 into your library directory

GLEW

Prerequisites: Download and unzip the GLEW source. Again, the windows binaries will not work, as they are for Visual Studio.

  1. mingw32-make
  2. Copy the contents of include/ to your include directory
  3. Copy the contents of lib/ to your library directory

LuaJIT

Prerequisites: Download and unzip the LuaJIT source.

  1. mingw32-make
  2. Copy the .h files in src/ to your include directory
  3. Copy src/lua51.dll to your library directory

zlib

Zlib is needed as a dependency of libpng. Prerequisites: Download and unzip the zlib source (scroll down). The binaries will probably not work, but this has not been tested.

  1. ./configure
  2. mingw32-make install

libpng

Prerequisites: Download and unzip the Zlib source (section "Source code" under 1.5.14).

  1. ./configure
  2. mingw32-make install

libevent

Prerequisites: Download and unzip the libevent source. The make, file, and mktemp utilities in /C/MinGW/msys/1.0/bin have been broken for me on two systems, and I suggest renaming or removing them, or the configure script will fail.

  1. MAKE=mingw32-make ./configure
  2. mingw32-make
  3. mingw32-make install

Scons

Prerequisites: Download and install the 32-bit version of Python 2.7. The 64bit version does not work. Download and install Scons

IntenseLogic

cd IntenseLogic
scons platform=mingw

Visual Studio

Shit out of luck, sorry

OSX

Homebrew is the best option for OSX.

cd IntenseLogic
brew install scons libevent glfw glew lua luajit
scons platform=osx

Linux

Ubuntu

apt-get cannot download many of the dependencies, so you'll need to compile from source.

ArchLinux

cd IntenseLogic
pacman -S libevent libpng glfw glew luajit
scons platform=arch
Clone this wiki locally