Author Topic: Moving to VC++ 2010 soon  (Read 2156 times)

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Moving to VC++ 2010 soon
« on: 20 April 2012, 02:16:39 »
I have updated the build system to support VC++ 2010 (and a new windows dependency archive exists on sf for that).

I have not tested it yet but I added a new build batch file for VC++ 2010 in mk\windoze called:

build-mg-2010.bat

This should download 7z and the new windows_deps.7z (and extract it) then build using vc++ 2010.

Thanks

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Moving to VC++ 2010 soon
« Reply #1 on: 20 April 2012, 06:11:18 »
I remember having to build GAE in 2008. So annoying. Too bad they won't set this up. Almost makes me want to move to MG.
Not to get more offtopic, but GAE builds fine in 2010, just make sure you choose it in Cmake.

Also somewhat offtopic, but less so, why do we persist to mock Window users with using "windoze" in paths? Hardly seems any more reasonable than calling all linux stuff "penguin_os".
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Re: Moving to VC++ 2010 soon
« Reply #2 on: 20 April 2012, 14:33:23 »
Please update svn and retry running the batch file. If you get errors post them somewhere so we can help you.

FYI, both VC++ 2008 and VC++ 2010 build batch files will:

1. Download 7z.* if they don't exist
2. Download wget.exe if it does't exist
3. Download the Windows Dependencies from SourceForge if they don't exist
4. Extract the Windows Dependencies if the folder does not already exist
5. Update the code to the latest from SVN
6. Build the projects
This should make things very simple for anyone to build megaglest. Just checkout the project from source forge, then open a command prompt and change to the folder mk\windows and run:

build-mg.bat (for VC++ 2008) or
build-mg-2010.bat (for VC++ 2010)

Thanks
« Last Edit: 20 April 2012, 15:16:51 by softcoder »

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Moving to VC++ 2010 soon
« Reply #3 on: 23 April 2012, 22:22:08 »
I myself run windows, and tbh, i find it a tad amusing. Properly only enough to raise a eyebrow.
WiP Game developer.
I do danish translations.
"i break stuff"

carolinus

  • Daemon
  • Posts: 8
    • View Profile
Re: Moving to VC++ 2010 soon
« Reply #4 on: 16 May 2012, 20:53:42 »
I'm stuck for vc++2008 (  tomreyn and others: thx for helping);
Few times I repeated  procedure from zero without success.

Tom suggested that should I try new vc++2010 and..... success :)

[big]building project using VC++ 2010 confirmed
[/big]
my machine spec:
OS:               Microsoft Windows 7  64bit Home      6.1.7601 Service Pack 1 Kompilacja 7601
Procesor      Intel(R) Pentium(R) CPU B940 @ 2.00GHz, 2000 MHz; 3 GB  RAM
sliksvn         ver 1.7.4-SlikSvn-1.7.4-WIN32 (SlikSvn/1.7.4) WIN32 Mar  8 2012, 13:26:42

total time starting from zero: ~3 hrs (incl. download and install sliksvn, vc++, svn download & update, compiling)

batch file for vc++2010 works fine

THX dev team for hard work :)

--
#191319 win7 home 64/ lubuntu 12.04 i686 Pentium b940 /graph: hd3000

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Moving to VC++ 2010 soon
« Reply #5 on: 16 May 2012, 21:09:37 »
Glad you could make it at last, and I'm sorry we couldn't get it to work on VC++ 2008. Anyways, I guess this topic has its title for a reason. ;-)
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Re: Moving to VC++ 2010 soon
« Reply #6 on: 16 May 2012, 23:11:06 »
All builds should be working again. The VC++ 2008 build needs users to redownload the win32_deps.7z which is done autmatcially if you delete the win32_deps folder and win32_deps.7z file when running build-mg.bat