Author Topic: unable to build with Visual Studio Community 2015 on Win7 64  (Read 1873 times)

nig

  • Technician
  • ****
  • Posts: 110
    • View Profile
As I tried to build a new Version of Megaglest from Github these days I have to see that my building programs seem to be outdated (with a look at the compiling Doc, still hard to find at https://docs.megaglest.org/MG/Windows_Compiling)

So I scratched all my old Visual and C++ installs manually to avoid confusions amd updated my git to 2.7.1.windows.1 (32Bit, because the old one was 32 Bit too).

After that I installed Visual Studio Community 2015. There was an Errormessage during that:

well, ....

after that I followed the compiling wiki and the build script couldnt find "msbuild". Googling around  I found: seems to be a bug in Frameworks or configuration, no known solutions, just workarounds. So I set a path in windowsenvironmet to the newest msbuild.exe I found. (lots of msbuild.exe are on the machine).

now all building scripts stop like this:

(click to show/hide)

please help

nig
« Last Edit: 13 February 2016, 12:01:44 by nig »

nig

  • Technician
  • ****
  • Posts: 110
    • View Profile
Re: unable to build with Visual Studio Community 2015 on Win7 64
« Reply #1 on: 13 February 2016, 17:02:20 »
finally found it:

By default on windows the c++ compilers are not installed by installing visualstudio community 2015.

After installing visualstudio community 2015 you can install the c++ SDK by trying to open an own softwareobject. Do this:

Quote
You need to launch Visual studio, then do: file > new > project, in the window than opened, select "Model > Visual C++" and in the middle of the window you should see a button "install microsoft C++" or something like that, click on it and it will launch the install process for the C++ & Microsoft SDK.

Be ready to watch your machine again installing for half an hour, eating another GB. Of course i get the incompatibilitywarning again:


But who cares? Ican build my own megaglrst64.dev again, enjoing being blocked from lobby!

There might be some installation-properties you can set at first installing of "visualstudio community 2015" to avoid this fumbling around. Maybe someone checks that out and put it to the compiling WIKI.
Dont expect Windowsusers to do researches like this. There is a reason, why they are not at Linux.

greets
nig
« Last Edit: 13 February 2016, 17:27:04 by nig »

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Re: unable to build with Visual Studio Community 2015 on Win7 64
« Reply #2 on: 13 February 2016, 19:41:33 »
Thx for finding this  :) this information will help for other testers  :thumbup:

... and mICROSOFT did a "great job" again  :thumbdown:.

This is quite good source of informations about this situation (read also comments on the bottom):
https://blogs.msdn.microsoft.com/vcblog/2015/07/24/setup-changes-in-visual-studio-2015-affecting-c-developers/

... and there is some helpful video too:
https://www.youtube.com/watch?v=U1MRUiJAOq0