Windows Build

Dependencies

  • dependencies:
    • MS Visual Studio 2005
      • it would be really good if we could get VC++ Express working with the build system
    • boost 1.34
    • boost jam
    • dxsdk
    • windows platform sdk (if directdraw is required)
    • Cg 1.5 (not the nvidia SDK; this has Cg but only 1.3)
    • FBX 2005.8 (2006.11 will not work)
    • glew & glut
    • ffmpeg (prebuilt if possible; requires mingw/msys to build)
    • SDL
      • SDL-devel-1.2.11-VC6.zip
    • libpng
    • zlib
    • openAL 1.1 SDK
    • openexr 1.4.0
    • py2exe
    • Qt3.3.6 (specifically!)
    • quicktime 7.1 sdk
    • python 2.4
    • pycrypto
    • ezPyCrypto

Building

  • ensure boost has been rebuilt for the appropriate compiler
  • ensure libraries are in correct locations
    • GLEW, GLUT must be placed in the main include, lib directories
    • glew32.dll also needs to go into c:\windows\system32 for installer
    • INCLUDE, LIB are ignored (!)
    • SDL, openEXR must be placed under c:
  • build using the python winbuild.py script
    • by default this will do a clean rebuild a multi-threaded debug version of the libraries
    • To build without a clean use: python winbuild.py -b build
  • build the runtime and also sdk installers
  • installl the sdk installer
  • build jahwidgets:
    • start visual studio, build all projects

FFMPEG

BUILDING

  • take a build/sync to r8965; r8966 introduced a bug on SSE2 machines that causes a crash on encoding.
  • configure --enable-memalign-hack --enable-shared --enable-gpl --disable-static --disable-swscaler --disable-libmp3lame --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --enable-libfaac --enable-libfaad --enable-libogg
    • --disable-swscaler is required to make img_convert be built
  • to add LAME
    • download source ball of LAME
    • in mingw shell, ./configure, make, make install
    • this should have installed to /usr/local/include, /usr/local/lib
    • reconfigure ffmpeg:
      • add --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --enable-libmp3lame
  • to support Quicktime with audio requires FAAD2, FAAC
  • to support 3GP requires libamr

INSTALLING

Running

  • ensure PYTHONPATH is set
    • on windows, it appears as though an entry in PYTHONPATH surrounded by inverted commas will corrupt that entry