On Sat, 18 Jun 2016 00:25:08 -0400 Stefan Seefeld <ste...@seefeld.name>
wrote:
> Hello,
> I have started working on a new SCons-based build infrastructure for
> Boost.Python that allows the Boost.Python code to be compiled
> stand-alone against a pre-installed Boost. I have checked in a first
> version to the develop branch, and have enabled Travis-CI to use that.
> 
> While this works reasonably well, and provides a much simpler workflow
> for developers wanting to contribute to Boost.Python, it isn't (yet)
> entirely feature-complete. Notably, running this on Windows (using MSVC)
> produces errors. I'd appreciate any help with this, especially from
> Windows users who are more familiar with MSVC than I am (that shouldn't
> be hard, given I have next to no experience with using MSVC :-) ).

I can be of some (testing) help.
Cloned the repo, configured for x86 target.

arch = 'x86'
toolchain = 'msvc'

First thing that I notice is that the /arch compiler option is missing (1).
The commandline is (cut include dirs):
cl /Fobin.SCons\msvc-14.0\release\dynamic\threading-multi\test
\andreas_beyer.obj /c bin.SCons\msvc-14.0\release\dynamic\threading-multi
\test\andreas_beyer.cpp /TP /nologo
-TP /Z7 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /wd4675 /EHs /DBOOST_ALL_NO_LIB=1 
/DNDEBUG 

In this way the compiler relies on the default architecture.

1: https://msdn.microsoft.com/en-us/library/7t5yh4fd.aspx

-- 
        Giuseppe Corbelli
Software Engineer - Weightpack SRL
<giuseppe.corbe...@weightpack.com>
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to