Better windows build instructions

Everything about development and the OpenMW source code.
User avatar
Lenny
Posts: 20
Joined: 01 Nov 2014, 17:34
Location: Germany
Contact:

Better windows build instructions

Post by Lenny » 08 Jan 2017, 21:05

Hey,
so on the irc there have been multiple complaints (from myself included) about not being able to set up a build environment on windows and thus not being able to contribute, even the wiki page about it itself states that it's outdated.

It would be awesome if who ever maintains the windows builds could remake the guide, possibly without one having to manually create tons of env variables and also some instructions on how to get all the libraries working for 64bit builds

User avatar
AnyOldName3
Posts: 1581
Joined: 26 Nov 2015, 03:25

Re: Better windows build instructions

Post by AnyOldName3 » 08 Jan 2017, 21:20

The guide on the wiki isn't much help as it doesn't even mention the easy way of getting set up. There's actually a script that'll set up everything properly (including downloading dependencies) and spit out a Visual Studio solution. All you need installed is cmake, msysgit and 7z (which need to be available from the command line) as well as VS 2013 or 2015, then you can just clone the git repo, and run the CI/before_script.msvc.sh script from git bash. (It obviously won't work right if you do it from Windows Subsystem for Linux, and less obviously, also doesn't work from within Cygwin).
AnyOldName3, Master of Shadows

User avatar
Lenny
Posts: 20
Joined: 01 Nov 2014, 17:34
Location: Germany
Contact:

Re: Better windows build instructions

Post by Lenny » 08 Jan 2017, 23:14

Woa that's actually awesome, will try now

User avatar
Ace (SWE)
Posts: 829
Joined: 15 Aug 2011, 14:56

Re: Better windows build instructions

Post by Ace (SWE) » 10 Jan 2017, 19:36

I thought I added a link to that quick-setup guide on the Wiki?

https://gist.github.com/ananace/de7f30454e99b3952405

Just updated it with what should be the best method for now.
Last edited by Ace (SWE) on 29 Jan 2018, 14:22, edited 1 time in total.

User avatar
AnyOldName3
Posts: 1581
Joined: 26 Nov 2015, 03:25

Re: Better windows build instructions

Post by AnyOldName3 » 10 Jan 2017, 19:39

Your requirements at the top of that guide state that VS 2013 is required, not VS 2013 or 2015. You've updated it lower in the document, though.

EDIT: ... and I'm not seeing any reference to the build script on the wiki, so if you think you added it, it might have been on the wrong page or something.
AnyOldName3, Master of Shadows

User avatar
Ace (SWE)
Posts: 829
Joined: 15 Aug 2011, 14:56

Re: Better windows build instructions

Post by Ace (SWE) » 10 Jan 2017, 19:45

Right, fixed those small issues as well, should hopefully be enough information to help turbocharge the environment setup.

User avatar
psi29a
Posts: 4667
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Better windows build instructions

Post by psi29a » 10 Jan 2017, 20:54

btw, the wiki is slowly being migrated to github/rtd. Just a heads up that when the page is migrated, then it will be removed from the wiki.

User avatar
Lenny
Posts: 20
Joined: 01 Nov 2014, 17:34
Location: Germany
Contact:

Re: Better windows build instructions

Post by Lenny » 13 Jan 2017, 15:25

Got a link to that?


User avatar
Ravenwing
Posts: 334
Joined: 02 Jan 2016, 02:51

Re: Better windows build instructions

Post by Ravenwing » 13 Jan 2017, 21:29

Are we planning on migrating more than just the user documentation from the wiki? I have only been moving stuff from that section. As a side note, have we seen any recent action in the developer documentation area in a while?

Post Reply