[C++-sig] Python.Boost + Python2.7 + VS2008 issues
Niall Douglas
s_sourceforge at nedprod.com
Thu Apr 19 14:48:34 CEST 2012
Surely Python absolutely requires DLL support for its extension
support?
Anything targeted at the Windows API will assume DLL support. You
might fare better using a GCC ecosystem. Your proprietary device, I
would assume, will use a GCC ecosystem anyway.
Niall
On 19 Apr 2012 at 0:09, JS Unkn0wn wrote:
> -:Background:-
> I am working on a cross platform project (Win32 with proprietary graphics
> lib, and a proprietary embedded device running a custom OS with custom
> compilers)
>
> -:Goals:-
> Using Boost.Python on both platforms (without dlls, as we will have to
> embed Python anyway).
>
> -:Problems:-
> Receiving <<fatal error C1189: #error : "Mixing a dll boost library with a
> static runtime is a really bad idea...">> in /MT, which is concerning to me
> since compiling as a DLL works but I must be able to deploy this on a
> system that has no DLL system.
>
> -:Setup steps taken so far (in order), and system config:-
> 1 - Windows XP Pro + SP3
> 2 - Visual Studio 2008 Standard + Service Pack (C++ and C# installed)
> 3 - Python 2.7 installed
> 4 - Boost Pro 1.47 installer for Windows installed (c:\boost_1_47)
> 5 - Boost 1.47 copied to (c:\boost_1_47_0)
> 6 - Boost Build 1.47 downloaded
>
> ...
>
> I've written a much more detailed log here (
> http://jsperfunkn0wn.blogspot.co.uk/2012/04/installing-boostpython-python-27-for.html
> ).
>
> Here is the code I am trying to compile: http://pastebin.com/Rg2AeTms
>
> Regards,
> JSPerf Unkn0wn
>
--
Technology & Consulting Services - ned Productions Limited.
http://www.nedproductions.biz/. VAT reg: IE 9708311Q.
Work Portfolio: http://careers.stackoverflow.com/nialldouglas/
More information about the Cplusplus-sig
mailing list