<div dir="ltr">Hi,<div>Dependency walker only see the .exe direct DLL, those used by Qml are not seen and they are the one not found when compiling into Windows 8.1 on others Windows (8.0-). I use the msvc precompiled Python 2.7.10 (I'm stuck in 2.7.x since mercurial module is only compatible for 2.x, no 3.x port is available yet) and pip to install most module. I had to compile sip and PyQt5 (I only have Visual Studio 2013 here, so it what I used for nmake). I known Python 2.7.x used VS2008 for it's compilation, not sure if this may cause problems.</div><div><br></div><div><ul><li>Python 2.7.10 x64 from binary (VS2008)</li><li>sip copmiled using VS2013</li><li>PyQt5 compiled using VS2013</li><li>Mercurial x64 2.7 from binary</li><li>python-hglib from pip</li><li>requests from pip</li><li>python-redmine from pip</li><li>rbtools from pip</li><li>Qt5.3 compiled using VS2013</li><li>Some C++ Qml plugins compiled into VS2013 (we already have some Qml applications in C++ that use Qt 5.3.0 and wish to use the same plugins here from Python Qml)</li></ul>For the compilation into Windows 8.1, the generated exe does launch but failed to find the qml platform windows.dll even if I put it directly into the .exe path I added the relative folder to environment var QT_PLUGIN_PATH. </div><div><br></div><div>Maybe I should compile a python 2.7.10 using VS2013 (I haven't check what it imply and hope I do not have to do this under Windows). Or I may wait to move to VS2015, use Python 3.5 and replace the mercurial modules usage for full hglib if possible...</div><div><br></div><div>This VS dependencies mismatch is a nightmare. 3.4 is VS2010, there's no Python version for 2013 it seem.</div><div><br></div><div>Thanks for your help,</div><div>Jerome</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 8:52 PM, michael h <span dir="ltr"><<a href="mailto:michaelkenth@gmail.com" target="_blank">michaelkenth@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div><div><blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div><div><div><div dir="ltr"><div><br><div>ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.</div></div><div><br></div></div></div></div></div></div></div></blockquote></div></div></div></div></blockquote></div></div></blockquote></div></div></blockquote><div><br></div></span><div>You can use dependency walker to narrow this kind of problem down.</div><div><br></div><div>Are all the python extensions built using the same toolchain (e.g. msvc vs mingw)?</div><div><br></div><div>(I have an app using pyqt5/py3/py2exe that runs on win 7/8/8.1 without issue, so it is possible.)</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>- michael</div></font></span></div></div></div>
</blockquote></div><br></div>