NB; (An updated version of this guide can be found on the wiki)
- Visual Studio 2013 or 2015 (Community edition is enough)
- MSYSGit or Git for Windows as it's also called (
cinst git.install
if you have Chocolatey) - Note that WSL does not work for this, as it needs to execute windows executables.
- 7-zip in your path (
cinst 7zip.install
works, if you have Chocolatey) - CMake in your path (
cinst cmake.install
for Chocolatey) - ~10GB of free space per build platform (32/64-bit), for all the build artefacts.
- Time. An hour or two most likely for full release and debug builds.
- Clone the OpenMW repo.
git://github.com/OpenMW/openmw.git
- Open a Git Bash shell in the repo.
- Run the following command:
CI/before_script.msvc.sh -k -p Win64 -v 2015
. (SubstituteWin64
withWin32
if doing a 32-bit build, 2015 can also be substituted with 2013 for VS2013) - Wait for the build environment to be set up.
- ???
- Develop.
UPDATE: I fixed the below issue by doing this in the script.
It keeps on crashing on me.
Running prebuild outside of Appveyor. -> then crashes.
Dump File is the only clue it returns:
Exception: STATUS_STACK_OVERFLOW at rip=7FF81E019A27
rax=0000000000001058 rbx=00000000000F6610 rcx=D18BCB9127EF0000
rdx=0000000000000001 rsi=00000000000F846C rdi=0000000000000001
r8 =00000000000E6CB4 r9 =000000000000001B r10=00000000FFFFA000
r11=00000000FFE039C0 r12=0000000000000424 r13=00000000000F8450
r14=0000000000000000 r15=0000000000000000
rbp=00000000000F6610 rsp=00000000FFFFB0A0
program=C:\Program Files\Git\usr\bin\bash.exe, pid 8772, thread unknown (0x1310)
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
000000F6610 7FF81E019A27 (00180010018, 000000E1B14, 000000F846C, 000000E6CB4)
000000F6610 7FF81A2B54EA (000000E1B14, 000000F846C, 000000E6CB4, 000FFFFB4A0)
000000F6610 7FF81A2B72CE (000000F665E, 00000000420, 00000000420, 000000F86BC)
00000000420 7FF81A2B79C6 (000FFFFB3C8, 000000001D8, 00000000000, 0018026E740)
00000000420 7FF81AE7C9E6 (00000000001, 00000000000, 000FFFFB4A0, 00100000001)
00000000420 7FF81C1E3B53 (000FFFFB620, 00000000000, 00000000000, 00000000001)
00000000420 001800A9EA2 (000FFFFB5C0, 00000000000, 00000000000, 00000000000)
000FFFFB640 001800AAA45 (00100410FBB, 00000000001, 0060004F200, 001004E6740)
000FFFFB840 0018011A58B (00100410FBB, 00000000001, 0060004F200, 001004E6740)
000FFFFB840 0000254E458 (00100410FBB, 00000000001, 0060004F200, 001004E6740)
End of stack trace