Author Topic: Visual Studio 2010  (Read 1757 times)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Visual Studio 2010
« on: 27 December 2009, 19:11:08 »
Have any of you tried Visual Studio 2010 yet? Will glest/gae work on it? As far as I know, every new version is compatible with previous ones, but has anyone physically tried it yet? Will resources such as libraries, etc work? I'm going to try VS 2010 beta 2, having downloaded it. Especially since I was having trouble with my last version ('08).
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Visual Studio 2010
« Reply #1 on: 28 December 2009, 01:54:19 »
Quote
Have any of you tried Visual Studio 2010 yet?
Not I.

Quote
Will glest/gae work on it?
Yes.

Quote
As far as I know, every new version is compatible with previous ones, but has anyone physically tried it yet?
No.

Quote
Will resources such as libraries, etc work?
Yes.

Quote
I'm going to try VS 2010 beta 2, having downloaded it. Especially since I was having trouble with my last version ('08).
If you couldn't get it going with 2008, you're entirely likely to have exactly the same problems with 2010..  In this case, your best option is to get acquainted with IRC, then hope to catch myself or hailstone online sometime, or post output (of errors, not warnings) here, and we will try to help as best we can.

Glest Advanced Engine - Code Monkey

Timeline | Downloads

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Visual Studio 2010
« Reply #2 on: 28 December 2009, 05:14:59 »
If you couldn't get it going with 2008, you're entirely likely to have exactly the same problems with 2010...

It's a registry error. Can't create new VCPROJ files. Something to do with the extension in the reg. There's a way around it though. A program called sub something or the other. Just tested '10, and that problem is persistant, so I must use that program again (it worked the first time [I think]).

I'm actually pretty good at finding the problems behind the compilation errors (except the stupid io ones). For example, just today, I got an email from someone (can't remember who. I deleted after I replied to save space) asking if they could tell why their program wasn't compiling. Without even testing it, I noticed that they declared the function twice, once as a variable and again later on when they used the function. The work-around would be to either just keep the first entry and remove the 'double' keyword before the second entry so that it isn't declared again, or to remove the first entry so it declared just once (recommended). They are apparently very common exercises in programming books (spot the error), but are a good test of skill and understanding.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

assassin

  • Guest
Re: Visual Studio 2010
« Reply #3 on: 28 December 2009, 19:07:23 »
Well it's kinda easy if gcc tells you exactly what the problem is  ;) .

Oh and your really shouldn't ignore compiler warnings  :)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Visual Studio 2010
« Reply #4 on: 29 December 2009, 00:52:15 »
Dunno about that. I usually get my share of compiler warnings. Mostly about conversions to different types, primarily int to double/float/longs or shorts. I think I've seen something about an operator too, though I don't remember much. I never pay much heed to warnings (why? because they aren't errors!).

Even vanilla glest has its share of compiler warnings.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

assassin

  • Guest
Re: Visual Studio 2010
« Reply #5 on: 30 December 2009, 11:42:18 »
It's when strange stuff happens in your programs that you realise that they need fixing  ;)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Visual Studio 2010
« Reply #6 on: 31 December 2009, 02:13:18 »
It appears to be very widespread. If you ask me, I bet it was the fact I used a CD image to install. I don't know what the others who got this problem used to install. The only other one who stated how he installed also stated that he used the disc. That's why I'm not using the disc this time and hope that the online install will work.

I'll warn you all to never use the disc image version, since once done, you can't reverse it until you reinstall vista (or XP, since I remember someone using XP had this before too). There's supposed to be a fix using the SubInACL program, but I never got a chance to use it. The two times I tried to use it, my computer was screwed from windows update. At first I though the program was the cause of my computer troubles, but I later narrowed it down to windows update. Thanks microsoft.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

 

anything