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

Chris F christopher.fortmueller at gmail.com
Fri Aug 29 15:55:19 CEST 2014


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </lists/pipermail/swift-users/attachments/20140829/9930883b/attachment.html>


More information about the swift-users mailing list