|
Boost Users : |
Subject: Re: [Boost-users] [python] Linker error when initializing numpy
From: Christian Henning (chhenning_at_[hidden])
Date: 2017-11-17 21:51:43
OK, I agree that linking to static libs works for boost::python out of the
box. I think the problem lies with boost::python::numpy which only looks
for dynamic libs.
Regards,
Christian
On Fri, Nov 17, 2017 at 4:37 PM, Christian Henning <chhenning_at_[hidden]>
wrote:
> Hi degski,
>
> thanks for your insight.
>
> Is it true to say, that by default boost::python is looking for the shared
> variants, like "boost_python3-vc141-mt-gd-x64-1_66"?. Do you know how to
> force boost to use static libs?
>
> Thanks!
>
> On Fri, Nov 17, 2017 at 4:32 PM, degski via Boost-users <
> boost-users_at_[hidden]> wrote:
>
>> On 17 November 2017 at 09:16, Christian Henning via Boost-users <
>> boost-users_at_[hidden]> wrote:
>>
>>> It seems that linking to static boost libs is not supported on Windows
>>> with Visual Studio 2017. Not sure why?
>>>
>>
>> This is not the case, linking to static libs works just fine.
>>
>> degski
>>
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>>
>
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net