<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi list<br><br></div>I am trying to compile my project under Windows<br><a href="https://github.com/GauiStori/PyQt-Qwt">https://github.com/GauiStori/PyQt-Qwt</a><br><br></div>I have copied the configure.py script from Qscintilla, boilerplate version 2.3 and<br></div>it works perfectly under Linux (Debian)<br><br></div>But when I try to compile it under Windows I run into problems.<br><br></div>it doesn't find qwidget.h but that I can fix with adding:<br>QT += core widgets gui<br></div>to the Qwt.pro file. The configure script should preferably insert this, I will figure that out later.<br><br></div>But then I get linking problems, see below, that I cannot fix.<br><br></div>I can compile the Qwt C++ examples and the QScintilla python sip files without problems<br></div>but I cannot compile my project.<br><br></div>There is one difference between Windows and Linux.<br></div>Linux:<br></div>C++ library is named libqwt.so....<br></div>Python library is named Qwt.so<br><br></div>Windows:<br></div>C++ library is named Qwt.dll<br></div>Python library is named Qwt.dll<br></div>which is not preferable. I have tried to change the Python library name but get the same result.<br></div>Any good solution to this problem is well accepted.<br><div><div><div><div><div><div><div><div><div><div><div><div><div><br>Here is the compilation output.<br><br>Generating Code...<br>Compiling...<br>sipQwtQwtTextPaintAttributes.cpp<br>sipQwtQwtThermo.cpp<br>sipQwtQwtWeedingCurveFitter.cpp<br>sipQwtQwtWheel.cpp<br>Generating Code...<br>        link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL /SUBSYSTEM:WINDOWS /OUT:release\Qwt.dll @C:\Users\Gudjon\AppData\Local\Temp\nm9F41.tmp<br>   Creating library release\Qwt.lib and object release\Qwt.exp<br>sipQwtcmodule.obj : error LNK2019: unresolved external symbol "public: __thiscall QwtText::QwtText(class QString const &,enum QwtText::TextFormat)" (??0QwtText@@QAE@ABVQString@@W4TextFormat@0@@Z) referenced in function "class QwtText __cdecl sipVH_Qwt_103(enum PyGILState_STATE,void (__cdecl*)(struct _sipSimpleWrapper *,enum PyGILState_STATE),struct _sipSimpleWrapper *,struct _object *,int)" (?sipVH_Qwt_103@@YA?AVQwtText@@W4PyGILState_STATE@@P6AXPAU_sipSimpleWrapper@@0@Z1PAU_object@@H@Z)<br>sipQwtQwtPlotItem.obj : error LNK2001: unresolved external symbol "public: __thiscall QwtText::QwtText(class QString const &,enum QwtText::TextFormat)" (??0QwtText@@QAE@ABVQString@@W4TextFormat@0@@Z)<br>sipQwtQwtText.obj : error LNK2001: unresolved external symbol "public: __thiscall QwtText::QwtText(class QString const &,enum QwtText::TextFormat)" (??0QwtText@@QAE@ABVQString@@W4TextFormat@0@@Z)<br>sipQwtQwtText.obj : error LNK2001: unresolved external symbol "public: __thiscall QwtText::QwtText(class QwtText const &)" (??0QwtText@@QAE@ABV0@@Z)<br>sipQwtQwtTextLabel.obj : error LNK2001: unresolved external symbol "public: __thiscall QwtText::QwtText(class QwtText const &)" (??0QwtText@@QAE@ABV0@@Z)<br>sipQwtcmodule.obj : error LNK2001: unresolved external symbol "public: __thiscall QwtText::QwtText(class QwtText const &)" (??0QwtText@@QAE@ABV0@@Z)<br>sipQwtQList0100QwtText.obj : error LNK2001: unresolved external symbol "public: __thiscall QwtText::QwtText(class QwtText const &)" (??0QwtText@@QAE@ABV0@@Z)<br>sipQwtQwtPlotBarChart.obj : error LNK2001: unresolved external symbol "public: __thiscall QwtText::QwtText(class QwtText const &)" (??0QwtText@@QAE@ABV0@@Z)<br>sipQwtQwtPlotItem.obj : error LNK2001: unresolved external symbol "public: __thiscall QwtText::QwtText(class QwtText const &)" (??0QwtText@@QAE@ABV0@@Z)<br>sipQwtQwtText.obj : error LNK2001: unresolved external symbol "public: __thiscall QwtText::~QwtText(void)" (??1QwtText@@QAE@XZ)<br>sipQwtcmodule.obj : error LNK2001: unresolved external symbol "public: __thiscall QwtText::~QwtText(void)" (??1QwtText@@QAE@XZ)<br>sipQwtQList0100QwtText.obj : error LNK2001: unresolved external symbol "public: __thiscall QwtText::~QwtText(void)" (??1QwtText@@QAE@XZ)<br><br><br></div><div>Regards<br></div><div>Gudjon<br><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>