<div dir="ltr">'nvm fixed it', lol.<div><br></div><div>Seems to work OK if I manually edit the openssl.py in Python35\Lib\site-packages\<wbr>pyqtdeploy\sysroot\plugins\<wbr>openssl.py to include 'no-asm' in the common_options.  </div><div><br></div><div>Which leads me to another question that should hopefully be a little easier to answer.  Exactly what does the openssl dependency actually get used in?  How much slower would my final application be if I'm purposely skipping the assembly optimizations?  An answer on stackoverflow seems to indicate 2-4x slower performance when crunching openssl algorithms, but exactly how much of Qt5, PyQt5, python stdlib modules, and/or common third-party modules (requests <a href="http://et.al">et.al</a>.) actually utilizes openssl?  Sorry if this is a dumb question but seems important, as it's the difference between this being a valid workaround, and it being a hack that will be detrimental in the long run.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 7, 2018 at 10:56 AM, Neil Jansen <span dir="ltr"><<a href="mailto:neil.jansen@rockwellcollins.com" target="_blank">neil.jansen@rockwellcollins.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>Apologies if this has been posted before.  I'm usually very self-sufficient with these sort of things, but I'm positively stuck at this point, and Google hasn't turned up much.<br></div><div><br></div>I'm trying to get the demo pyqtdeploy project working, but I'm stuck on the step where it's trying to compile openssl as a part of building sysroot.  The instructions / tutorials are VERY vague and leave a lot of interpretation up to the reader.  I'm not even 100% sure I'm using the right versions as there is no documentation on which dependency version(s) have been confirmed to work together.  I've posted a few snippets of the build window below.  I've struggled to get even this far, but now that it's to the point of failing with syntax errors in assembly language, I'm bailing out and need help at this point.   <div><br></div><div>Can anyone tell me if this is an easy fix?<div><br></div><div>Build machine:</div><div>------------------</div><div>OS: Windows 7 Enterprise 64-bit</div><div>Architecture: Intel Core i7-4790</div><div>Memory: 16 GB</div><div><br></div><div>Build tools:</div><div>----------------</div><div>Python version: Python 3.5.1<br>Perl version: ActivePerl 5.6.1 Build 631<br>Compiler suite: VS2015 x64, via 'VisualCppBuildTools_Full.exe' as obtained from <a href="http://landinghub.visualstudio.com/visual-cpp-build-tools" target="_blank">http://landinghub.<wbr>visualstudio.com/visual-cpp-<wbr>build-tools</a></div><div><div>pyqtdeploy version: 2.1 from pypi, per the instructions on this page: <a href="https://www.riverbankcomputing.com/software/pyqtdeploy/download" target="_blank">https://www.<wbr>riverbankcomputing.com/<wbr>software/pyqtdeploy/download</a><br></div></div><div><br></div><div>Dependencies:</div><div>---------------------</div><div>pyqt5 source version: PyQt5_gpl-5.10.tar.gz<br></div><div>openssl source version: openssl-1.0.2n.tar.gz, which I downloaded from the official site.</div><div><br></div><div><br></div><div>--------------------------</div><div><div>        cl /Fotmp32\fips_ers.obj  -Iinc32 -Itmp32 /MT /Ox -DOPENSSL_THREADS  -DDSO_W</div><div>IN32 -W3 -Gs0 -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -</div><div>DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_</div><div>MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM</div><div>-DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM</div><div> -DECP_NISTZ256_ASM -DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO</div><div>_MDC2 -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPE</div><div>NSSL_NO_WEAK_SSL_CIPHERS -DOPENSSL_NO_DYNAMIC_ENGINE /Zl /Zi /Fdtmp32/lib -c .\crypt</div><div>o\fips_ers.c</div><div>fips_ers.c</div><div>        set ASM=ml64 /c /Cp /Cx /Zi</div><div>        perl crypto\<a href="http://x86_64cpuid.pl" target="_blank">x86_64cpuid.pl</a> tmp32\x86_64cpuid.asm</div><div>        ml64 /c /Cp /Cx /Zi /Fotmp32\x86_64cpuid.obj tmp32\x86_64cpuid.asm</div><div>Microsoft (R) Macro Assembler (x64) Version 14.00.24210.0</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div> Assembling: tmp32\x86_64cpuid.asm</div><div>tmp32\x86_64cpuid.asm(43) : error A2009:syntax error in expression</div><div>tmp32\x86_64cpuid.asm(44) : error A2009:syntax error in expression</div><div>tmp32\x86_64cpuid.asm(190) : error A2009:syntax error in expression</div><div>tmp32\x86_64cpuid.asm(191) : error A2009:syntax error in expression</div><div>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\</div><div>BIN\amd64\ml64.EXE"' : return code '0x1'</div><div>Stop.</div><div>Traceback (most recent call last):</div><div>  File "c:\python35\lib\runpy.py", line 170, in _run_module_as_main</div><div>    "__main__", mod_spec)</div><div>  File "c:\python35\lib\runpy.py", line 85, in _run_code</div><div>    exec(code, run_globals)</div><div>  File "C:\Python35\Scripts\<wbr>pyqtdeploy-sysroot.exe\__main_<wbr>_.py", line 9, in <module></div><div><br></div><div>  File "c:\python35\lib\site-<wbr>packages\pyqtdeploy\<wbr>pyqtdeploysysroot_main.py", line 83</div><div>, in main</div><div>    sysroot.build_components(args.<wbr>component, args.no_clean)</div><div>  File "c:\python35\lib\site-<wbr>packages\pyqtdeploy\sysroot\<wbr>sysroot.py", line 103, in b</div><div>uild_components</div><div>    component.build(self)</div><div>  File "c:\python35\lib\site-<wbr>packages\pyqtdeploy\sysroot\<wbr>plugins\openssl.py", line 9</div><div>6, in build</div><div>    self._build_win(sysroot, common_options)</div><div>  File "c:\python35\lib\site-<wbr>packages\pyqtdeploy\sysroot\<wbr>plugins\openssl.py", line 2</div><div>27, in _build_win</div><div>    sysroot.run(sysroot.host_make, '-f', 'ms\\nt.mak')</div><div>  File "c:\python35\lib\site-<wbr>packages\pyqtdeploy\sysroot\<wbr>sysroot.py", line 562, in r</div><div>un</div><div>    subprocess.check_call(args)</div><div>  File "c:\python35\lib\subprocess.<wbr>py", line 584, in check_call</div><div>    raise CalledProcessError(retcode, cmd)</div><div>subprocess.CalledProcessError: Command '('nmake', '-f', 'ms\\nt.mak')' returned non-</div><div>zero exit status 2</div><div><br></div><div><br></div></div></div><div>Any help would be greatly appreciated.</div></div>
</blockquote></div><br></div>