Questions about starting development

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
User avatar
AnyOldName3
Posts: 1032
Joined: 26 Nov 2015, 03:25

Re: Questions about starting development

Post by AnyOldName3 » 12 Jun 2018, 15:16

The stuff for C++ development might be an optional extra download. Run the Visual Studio Installer (it should show up from a start menu search) choose modify on VS2017, and check you've got 'Desktop development with C++' ticked under the Workloads tab. If it's not installed, install it.

If you don't remember deselecting it during initial installation but it's missing, I'll add that to the guide, too.
AnyOldName3, Master of Shadows

User avatar
psi29a
Posts: 4077
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: Questions about starting development

Post by psi29a » 12 Jun 2018, 15:25

I hope this post serves as a warning about how difficult it is to setup a working C++ development environment on Windows... I mean, this is even before someone even touches OpenMW. This was why my one (and only attempt) took so bloody long.

You guys are being awesome working through all the issues so that we can document it and stream-line the process. Thanks!

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

Re: Questions about starting development

Post by AnyOldName3 » 12 Jun 2018, 15:39

It's not that different from having to install GCC separately from Vim except for Visual Studio coming without C++ support by default being less obvious.
AnyOldName3, Master of Shadows

User avatar
psi29a
Posts: 4077
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: Questions about starting development

Post by psi29a » 12 Jun 2018, 15:45

I remember I had to install a separate package to add x64 bit support for msvc, it wasn't included by default. It was labeled as a 'service pack' I think. This awhile ago though, I suspect that it's on by default now these days.

User avatar
Starsheep
Posts: 54
Joined: 06 Jun 2018, 16:09

Re: Questions about starting development

Post by Starsheep » 12 Jun 2018, 18:04

psi29a wrote:
12 Jun 2018, 15:25
I hope this post serves as a warning about how difficult it is to setup a working C++ development environment on Windows... I mean, this is even before someone even touches OpenMW. This was why my one (and only attempt) took so bloody long.

You guys are being awesome working through all the issues so that we can document it and stream-line the process. Thanks!
The wiki entry on setting up a dev environment is pretty good at the moment. I'm not really a low level dev but wanted to explore the code with a proper interface to learn more about the structure of the project.

I followed the scripted way on my windows computer a couple days ago and it went buttery smooth.
CI/before_script.msvc.sh is just awesome

iloveket
Posts: 6
Joined: 09 Jun 2018, 19:27
Github profile: https://github.com/iloveket

Re: Questions about starting development

Post by iloveket » 12 Jun 2018, 19:40

AnyOldName3 wrote:
12 Jun 2018, 15:16
The stuff for C++ development might be an optional extra download. Run the Visual Studio Installer (it should show up from a start menu search) choose modify on VS2017, and check you've got 'Desktop development with C++' ticked under the Workloads tab. If it's not installed, install it.

If you don't remember deselecting it during initial installation but it's missing, I'll add that to the guide, too.
Yeah everything seems to be working now.

Image

Thanks for all the help!

User avatar
psi29a
Posts: 4077
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: Questions about starting development

Post by psi29a » 12 Jun 2018, 19:41

That's great to see. :)

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

Re: Questions about starting development

Post by AnyOldName3 » 12 Jun 2018, 20:26

Wiki updated.
AnyOldName3, Master of Shadows

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests