[issue32535] msvcr140.dll has been replaced with vcruntime140.dll

2018-01-11 Thread Bruno Abreu Calfa

Bruno Abreu Calfa <baca...@gmail.com> added the comment:

Correct. I installed the x86_64 version from mingw32-w64 
(https://mingw-w64.org, v5.0.3).

I found this post https://mingwpy.github.io/ucrt.html, which actually 
references a post of yours. I honestly don't know if UCRT is supported by MinGW 
compiler. What are you going for? After googling a lot, I found many complaints 
of "missing msvcr140.dll", so I'm pretty much convinced that doesn't exist and 
has been replaced. But what does this have to do with the UCRT business? This 
is a bit beyond my knowledge on the matter. :)

--

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32535>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32535] msvcr140.dll has been replaced with vcruntime140.dll

2018-01-11 Thread Bruno Abreu Calfa

Bruno Abreu Calfa <baca...@gmail.com> added the comment:

Steve, I tried building the pyhsmm project (https://github.com/mattjj/pyhsmm) 
using:

python setup.py build -c mingw32

I got a link error saying that -lmsvcr140 could not be found. Then I realized 
that msvcr140.dlll doesn't exist. Instead, vcruntime140.dll seems to be the 
correct DLL. I was only able to build that project after making the 
modifications mentioned in my previous message, which requires changing a few 
files.

In order to try to reproduce the problem, one should try to build that project 
after installing Visual C++ 2015 Redistributable or Visual Studio 2015 to fall 
into the same MSVC version case as mine.

Does this clarify the issue?

--

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32535>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32535] msvcr140.dll has been replaced with vcruntime140.dll

2018-01-11 Thread Bruno Abreu Calfa

New submission from Bruno Abreu Calfa <baca...@gmail.com>:

File msvcr140.dll does not exist after installing Microsoft Visual C++ 2015 
Redistributable or Visual Studio 2015. It has been replaced with 
vcruntime140.dll. See discussion here: 
https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/yLH46ilPQeo

In addition, I was only able to build an extension 
(https://github.com/mattjj/pyhsmm) after copying the vcruntime140.dll from the 
Python installation folder (Anaconda 3 5.0.1 64-bit, Python 3.6.3) to the libs 
folder. I also had to change file include/pyconfig.h by removing the 
definitions of hypot (https://github.com/python/cpython/pull/880).

In sum, I suggest replacing

return ['msvcr140']

with

return ['vcruntime140']

--
components: Distutils
messages: 309816
nosy: Bruno Abreu Calfa, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: msvcr140.dll has been replaced with vcruntime140.dll
versions: Python 3.6

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32535>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com