Page 2 of 2

Re: Questions about starting development

Posted: 12 Jun 2018, 15:16
by AnyOldName3
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.

Re: Questions about starting development

Posted: 12 Jun 2018, 15:25
by psi29a
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!

Re: Questions about starting development

Posted: 12 Jun 2018, 15:39
by AnyOldName3
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.

Re: Questions about starting development

Posted: 12 Jun 2018, 15:45
by psi29a
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.

Re: Questions about starting development

Posted: 12 Jun 2018, 18:04
by Starsheep
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

Re: Questions about starting development

Posted: 12 Jun 2018, 19:40
by iloveket
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!

Re: Questions about starting development

Posted: 12 Jun 2018, 19:41
by psi29a
That's great to see. :)

Re: Questions about starting development

Posted: 12 Jun 2018, 20:26
by AnyOldName3
Wiki updated.