<div dir="ltr"><div>Well, did you compile Python 2.7.9 yourself? Because it is incompatible with extensions compiled with Visual Studio 2013.<br><br></div>Also, did you follow <a href="https://github.com/PySide/pyside2/blob/qt5/README_WIN.rst">these</a> guidelines? <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 2, 2015 at 1:51 PM, Bob Hood <span dir="ltr"><<a href="mailto:bhood2@comcast.net" target="_blank">bhood2@comcast.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, all!  I am attempting to build (current) PySide v2.0.0.dev0 within the<br>
following environment:<br>
<br>
        Python: 2.7.9 64-bit<br>
Visual Studio: 2013 Update 4 64-bit (VC/bin/amd64/vcvars64.bat)<br>
       OpenSSL: 1.0.1h 64-bit<br>
            Qt: 5.4.2 64-bit (shared)<br>
<br>
I have cloned pyside-setup2/, and within that folder I am running the<br>
following command:<br>
<br>
     python setup.py build --qmake=Q:\Qt\5.4.2\64_dll\bin\qmake.exe<br>
--openssl=E:\openssl_64_dll\bin --jom --jobs=4<br>
<br>
This build ultimately encounters the error:<br>
<br>
     ...<br>
     [100%] Built target shibokenmodule<br>
     Generating Shiboken documentation shiboken...<br>
     Running process: E:\jom_1_0_16\jom.exe doc<br>
     Error: Target doc doesn't exist.<br>
     error: Error generating documentation shiboken<br>
<br>
On the off chance that the problem involves using jom, I removed that (so it<br>
uses nmake instead) and encountered:<br>
<br>
     Linking CXX shared module ..\QtCore.pyd<br>
        Creating library QtCore.lib and object QtCore.exp<br>
<br>
     qtcore_module_wrapper.cpp.obj : error LNK2019: unresolved external symbol<br>
"__declspec(dllimport) public: int __cdecl QString::toWCharArray(unsigned<br>
short *)const " (__imp_?toWCharArray@QString@@QEBAHPEAG@Z) referenced in<br>
function "struct _object * __cdecl QStringRef_CppToPython_QStringRef(void<br>
const *)" (?QStringRef_CppToPython_QStringRef@@YAPEAU_object@@PEBX@Z)<br>
<br>
     ..\QtCore.pyd : fatal error LNK1120: 1 unresolved externals<br>
<br>
I understand this is development, and may well be broken at the moment, but I<br>
wanted to make sure I wasn't doing anything wrong on my end.<br>
<br>
Thanks for any help.<br>
_______________________________________________<br>
PySide mailing list<br>
<a href="mailto:PySide@qt-project.org">PySide@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/pyside" rel="noreferrer" target="_blank">http://lists.qt-project.org/mailman/listinfo/pyside</a><br>
</blockquote></div><br></div>