Page 1 of 1

Visual Studio 2008 Format

Posted: Sat Oct 05, 2013 19:56
by Enjay
I see that the project has been updated to Visual Studio 2008 format. This now means that Visual Studio 2005 cannot open the vcproj file:

[spoiler]

Code: Select all

The following error has occurred during XML parsing:

File: gzdoom.vcproj
Line: 9
Column: 2
Error Message:
'9,00' violates enumeration constraint of '7.00 7,00 7.10 7,10 8.00 8,00'.
The attribute 'Version' with value '9,00' failed to parse.

The file 'gzdoom.vcproj' has failed to load.
[/spoiler]

So, I guess it is probably time for me to get a newer version of Visual Studio. Anyone fancy posting a "how to" covering what needs to be downloaded and how to configure things once they are downloaded? The ZDoom Wiki is still written from a VS 2005 perspective.

Re: Visual Studio 2008 Format

Posted: Sat Oct 05, 2013 21:56
by Graf Zahl
Visual C++ 2008 Express with the same setup as 2005 should do just fine.

I made the switch because I own a Professional version of 2008 but only have 2005 Express. 2008 allows me to do 64 bit compiles (they turned out completely useless, btw, because they are SLOWER than 32 bit - ugh...) but more importantly I can use other features of the commercial version, like the profiler. 2005 was also giving me some system stability headaches. I had to run it in XP compatibility mode to prevent it from crashing and the limitations of that just became too annoying.

Re: Visual Studio 2008 Format

Posted: Wed Oct 09, 2013 18:31
by Enjay
Well, as far as I can tell, it all went OK. I installed VS2008 express, set up the directories that I had been using with the old 2005 setup and I think it compiled OK. It certainly runs and seems to play KDiZD from a quick test.

I have placed a copy of my g1.8.1-303-gcb74dd9 compile on the DRD server so that people can get access to a newer version until things with the nightly builds are resolved.

FWiW, I noticed the following warnings. I assume that they are known about already...

This one appeared in quite a few places:

Code: Select all

Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
This one appeared in fewer places (twice I think):

Code: Select all

LINK : warning LNK4224: /OPT:NOWIN98 is no longer supported;  ignored
Neither look especially worrying but I thought I'd mention them just in case.

Re: Visual Studio 2008 Format

Posted: Thu Oct 10, 2013 23:11
by Graf Zahl
Don't worry. Both are harmless. And once the CMake files are working properly the project files will be discontinued anyway.