[swift-users] Swiften.h. Where is it?

Kevin Smith kevin at kismith.co.uk
Mon Sep 1 08:07:21 CEST 2014


Hi Chris,
  I just posted the same reply to your question on SO:

I think we've not updated scons to handle VS 2013 yet. I've got a
pending patch to add support for some newer VSs, which I'll try to
check includes 2013 and get integrated in the next couple of days.

/K

On Fri, Aug 29, 2014 at 2:55 PM, Chris F
<christopher.fortmueller at gmail.com> wrote:
> Hi Remko,
>
> thanks for your mail.
>
> I am trying to follow the build instructions at
> http://swift.im/git/swift-contrib/tree/Documentation/BuildingOnWindows.txt,
> with Visual Studio Express 2013.
> From what I gather from these instructions, qt is not necessary, so I just
> skip that part. Since openssl is also optional, I skip this part as well.
> This means, according to the instructions, that I don't need to create
> config.py, since it only includes directories of qt and openssl.
>
> So my guess is that I can just go on to run scons, which I do, however, I
> get the following output:
>
>
> c:\swift-2.0>scons
> scons: Reading SConscript files ...
> scons: warning: No installed VCs
> File "C:\swift-2.0\SConstruct", line 1, in <module>
> scons: warning: No version of Visual Studio compiler found - C/C++ compilers
> most likely not set correctly
> File "C:\swift-2.0\SConstruct", line 1, in <module>
> scons: warning: No installed VCs
> File "C:\swift-2.0\SConstruct", line 1, in <module>
> scons: warning: No version of Visual Studio compiler found - C/C++ compilers
> most likely not set correctly
> File "C:\swift-2.0\SConstruct", line 1, in <module>
> KeyError: 'MSVS_VERSION':
>   File "C:\swift-2.0\SConstruct", line 1:
>     variant_dir = SConscript("BuildTools/SCons/SConscript.boot")
>   File
> "c:\swift-2.0\3rdParty\SCons\scons-local-2.0.0.final.0\SCons\Script\SConscript.py",
> line 614:
>     return method(*args, **kw)
>   File
> "c:\swift-2.0\3rdParty\SCons\scons-local-2.0.0.final.0\SCons\Script\SConscript.py",
> line 551:
>     return _SConscript(self.fs, *files, **subst_kw)
>   File
> "c:\swift-2.0\3rdParty\SCons\scons-local-2.0.0.final.0\SCons\Script\SConscript.py",
> line 260:
>     exec _file_ in call_stack[-1].globals
>   File "C:\swift-2.0\BuildTools\SCons\SConscript.boot", line 240:
>     if int(env["MSVS_VERSION"].split(".")[0]) < 10 :
>   File
> "c:\swift-2.0\3rdParty\SCons\scons-local-2.0.0.final.0\SCons\Environment.py",
> line 409:
>     return self._dict[key]
>
> Where can I set the version of visual studio/compiler used?
>
> Thanks,
>
> best regards,
>
> Chris
>
>
> On Fri, Aug 29, 2014 at 8:49 AM, Remko Tronçon <remko at el-tramo.be> wrote:
>>
>> Hi Chris,
>>
>> > Is the example not up to date, or why is the file missing from my
>> > library,
>> > as well as the master branch in the git repo at
>> > http://swift.im/git/swift/tree/Swiften?
>>
>> Swiften.h is generated, so you need to build Swiften first if you're
>> using a source version of Swiften.
>>
>> cheers,
>> Remko
>
>
>
> _______________________________________________
> swift-users mailing list
> swift-users at swift.im
> http://swift.im/lists/mailman/listinfo/swift-users
>


More information about the swift-users mailing list