[Scons-users] MSVC 2013

Philipp Kraus philipp.kraus at tu-clausthal.de
Thu Sep 26 01:32:00 EDT 2013


The same thing here. Seems to be working with MSVC 2013 Ultimate RC, but I will run some test on other projects

Phil




Am 25.09.2013 um 16:07 schrieb Jarrett Chisholm <j.chisholm at chisholmsoft.com>:


> Tried it last night, and the warning message went away. Seems to work!

>

> Cheers

>

> Jarrett

>

> On 24/09/13 04:14 PM, William Deegan wrote:

>> Jarrett,

>>

>> Thanks!

>>

>> -Bill

>> On Sep 24, 2013, at 10:56 AM, Jarrett Chisholm <j.chisholm at chisholmsoft.com> wrote:

>>

>>> Hey all

>>>

>>> I'm also trying to get MSVC 2013 working with scons, but on windows 7. I'll give the below 'patch' a go this week as well.

>>>

>>> Cheers

>>>

>>> Jarrett

>>>

>>>

>>>

>>>

>>>

>>>

>>> [Scons-users] MSVC 2013

>>>

>>> William Deegan bill at baddogconsulting.com

>>> Mon Sep 23 12:48:31 EDT 2013

>>> Previous message: [Scons-users] MSVC 2013

>>> Next message: [Scons-users] Decider which checks md5 checksums unexpectedly detecting changed/invalid ones

>>> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

>>> Thanks!

>>> -Bill

>>> On Sep 23, 2013, at 5:03 AM, Philipp Kraus <philipp.kraus at tu-clausthal.de> wrote:

>>>

>>>

>>>> Hi @all,

>>>> I hope I can test this or next week

>>>> Phil

>>>> Am 23.09.2013 um 04:48 schrieb Bill Deegan:

>>>>> Phil,

>>>>> If you can try it, and let us know if that works on you system, then we can consider the patch.

>>>>> -Bill

>>>>> On Sat, Sep 21, 2013 at 11:42 AM, Philipp Kraus <philipp.kraus at tu-clausthal.de> wrote:

>>>>> Thanks that's nice, but I will wait for the next version. It is only on my test system, so it can wait some times

>>>>> Phil

>>>>> Am 21.09.2013 um 20:01 schrieb Brian Fitzgerald <bfitz at blizzard.com>:

>>>>>> Not yet. The file to fix is I believe SCons/Tool/MSCommon/vc.py. There's a handful of arrays that contain the various Visual Studio versions that will be detected, and in the SCons 2.3.0 source, I only see up to 11 which is Visual Studio 2012.

>>>>>> It should be easy to update, since I think Visual Studio 2013 is very similar in structure to 2012. But I'm loathe to submit a patch since I haven't yet tried 2013.

>>>>>> If you don't mind hacking up your install, here's my best guess. This is completely speculative, based on my experience with previous Visual Studio versions.

>>>>>> -------

>>>>>> vc.py

>>>>>> replace line 132 with this

>>>>>> _VCVER = ["12.0", "11.0", "11.0Exp", "10.0", "10.0Exp", "9.0", "9.0Exp","8.0", "8.0Exp","7.1", "7.0", "6.0"]

>>>>>> and then insert these lines right after _VCVER_TO_PRODUCT_DIR at line 134

>>>>>> '12.0': [

>>>>>> r'Microsoft\VisualStudio\12.0\Setup\VC\ProductDir'],

>>>>>> -------

>>>>>> vs.py

>>>>>> add this at line 214

>>>>>> # Visual Studio 12

>>>>>> # The batch file we look for is in the VC directory,

>>>>>> # so the devenv.com executable is up in ..\..\Common7\IDE.

>>>>>> VisualStudio('12.0',

>>>>>> sdk_version='6.1',

>>>>>> hkeys=[r'Microsoft\VisualStudio\12.0\Setup\VS\ProductDir'],

>>>>>> common_tools_var='VS120COMNTOOLS',

>>>>>> executable_path=r'Common7\IDE\devenv.com',

>>>>>> batch_file_path=r'Common7\Tools\vsvars32.bat',

>>>>>> default_dirname='Microsoft Visual Studio 12',

>>>>>> supported_arch=['x86', 'amd64'],

>>>>>> ),

>>>>>> -------

>>>>>> msvs.py

>>>>>> Add this at existing line 1208

>>>>>> if self.version_num >= 12.0:

>>>>>> self.versionstr = '13.00'

>>>>>> Replace existing lines 1314 and 1315 (def PrintSolution body), because I think the current code is wrong, and also to turn the if into an elif.

>>>>>> if self.version_num >= 12.0:

>>>>>> self.file.write('# Visual Studio 2013\n')

>>>>>> elif self.version_num >= 11.0:

>>>>>> self.file.write('# Visual Studio 2012\n')

>>>>>> -----Original Message-----

>>>>>> From: scons-users-bounces at scons.org [mailto:scons-users-bounces at scons.org] On Behalf Of Philipp Kraus

>>>>>> Sent: Saturday, September 21, 2013 5:16 AM

>>>>>> To: scons-users at scons.org

>>>>>> Subject: [Scons-users] MSVC 2013

>>>>>> Hello,

>>>>>> I have created a test installation with MSVC Ultimate RC 2013 (Win 8) and current stable SCons version (2.3.0). On running a C/C++ build process I get the warning:

>>>>>> scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly

>>>>>> with MSVC 2012 the build process works.

>>>>>> Does SCons support the MSVC 2013 at the moment?

>>>>>> Phil

>>>>> _______________________________________________

>>>>> Scons-users mailing list

>>>>> Scons-users at scons.org

>>>>> http://four.pairlist.net/mailman/listinfo/scons-users

>>>>> _______________________________________________

>>>>> Scons-users mailing list

>>>>> Scons-users at scons.org

>>>>> http://four.pairlist.net/mailman/listinfo/scons-users

>>>> _______________________________________________

>>>> Scons-users mailing list

>>>> Scons-users at scons.org

>>>> http://four.pairlist.net/mailman/listinfo/scons-users

>>>

>>> -------------- next part --------------

>>> An HTML attachment was scrubbed...

>>> URL: http://four.pairlist.net/pipermail/scons-users/attachments/20130923/162b1832/attachment-0001.htm

>>> Previous message: [Scons-users] MSVC 2013

>>> Next message: [Scons-users] Decider which checks md5 checksums unexpectedly detecting changed/invalid ones

>>> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

>>> More information about the Scons-users mailing list

>>> _______________________________________________

>>> Scons-users mailing list

>>> Scons-users at scons.org

>>> http://four.pairlist.net/mailman/listinfo/scons-users

>>

>>

>>

>> _______________________________________________

>> Scons-users mailing list

>> Scons-users at scons.org

>> http://four.pairlist.net/mailman/listinfo/scons-users

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users



-----------------------------------------------------
Dipl.-Inf. Philipp Kraus
Clausthal University of Technology
Department of Informatics
Julius-Albert-Str. 4, Room 211
D-38678 Clausthal-Zellerfeld

Phone: +49 - 5323 / 72-7109
EMail: philipp.kraus at tu-clausthal.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20130926/9141c68f/attachment.html


More information about the Scons-users mailing list