Skip to content

Latest commit

 

History

History
33 lines (30 loc) · 1.67 KB

File metadata and controls

33 lines (30 loc) · 1.67 KB

===================================== Windows Dependancy Build Instructions

Note for VS 2010, 2013, and 2015 these are already made for you. Nothing more need be done.


Build requirements


Build instructions

  1. From the Visual Studio command prompt
    • Unzip libpng at lpng1256/: unzip lpng1256.zip
    • set INCLUDE=%INCLUDE%;Z:\path\to\openitg\src\zlib
    • from the lpng1256 dir, run: nmake /f .\scripts\makefile.vcwin32
  2. From the repository root in a mingw-w32 shell (.\msys2_shell.cmd -mingw32 -full-path)
    • Install build dependencies: pacman -S unzip diffutils yasm make mingw32/mingw-w64-i686-gcc
    • Untar ffmpeg at ffmpeg-3.0.3/ and cd into it: tar -zxvf ffmpeg-3.0.3.tar.gz; cd ffmpeg-3.0.3
    • run ./configure --prefix=../ffmpeg-build --enable-shared --toolchain=msvc --cpu=opteron, wait forever (Note --cpu=opteron is used to work around incorrect detection of processors having FAST_CLZ)
    • make && make install
    • cp ../ffmpeg-build/bin/*.dll ../Program
  3. Move compiled libs to proper location in extern folder
  4. Follow Directions on building windows release from the normal readme
  5. To build the installer, from cmd or powershell
    • assets\win32-installer\setup-installer-dir.bat
    • cd inst-tmp
    • makensis /nocd ..\assets\win32-installer\OpenITG.nsi