[vtkusers] Problem building VTK against Anaconda Qt
Justin Weber
onlyjus at gmail.com
Mon Apr 4 10:11:44 EDT 2016
Why not use conda's version?
>>> conda install vtk
On Sun, Apr 3, 2016 at 9:13 PM, Kent Ogden <ogdenk at upstate.edu> wrote:
> Hi,
>
> I have been trying to build VTK (and ITK) with Python bindings for use in
> Anaconda2. I am using VS 2015 on Win 7 with the most recent Anaconda and
> VTK 6.3 (I get the same problem with version 7). Most of VTK builds
> properly, but I get link errors for a few of the projects:
>
> 226>QVTKWidget.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: class QImage & __cdecl
> QImage::operator=(class QImage &&)" (__imp_??4QImage@@QEAAAEAV0@$$QEAV0@@Z)
> referenced in function "protected: virtual void __cdecl
> QVTKWidget::paintEvent(class QPaintEvent *)" (
> ?paintEvent at QVTKWidget@@MEAAXPEAVQPaintEvent@@@Z)
> 226>QVTKPaintEngine.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: class QPixmap & __cdecl
> QPixmap::operator=(class QPixmap &&)" (
> __imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "public:
> virtual void __cdecl QVTKPaintEngine::drawPixmap(class QRectF const &,class
> QPixmap const &,class QRectF const &)" (
> ?drawPixmap at QVTKPaintEngine@@UEAAXAEBVQRectF@@AEBVQPixmap@@0 at Z)
> 226>vtkQtTableModelAdapter.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: class QString & __cdecl
> QString::operator=(class QString &&)" (
> __imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "private:
> void __cdecl vtkQtTableModelAdapter::updateModelColumnHashTables(void)" (
> ?updateModelColumnHashTables at vtkQtTableModelAdapter@@AEAAXXZ)
> 226>C:\KW\VTKBuild\bin\Release\vtkGUISupportQt-6.3.dll : fatal error
> LNK1120: 3 unresolved externals
> 232>------ Build started: Project: vtkRenderingQt, Configuration: Release
> x64 ------
> 233>------ Build started: Project: vtkGUISupportQtOpenGL, Configuration:
> Release x64 ------
> 232> Building Custom Rule C:/KW/VTK-6.3.0/Rendering/Qt/CMakeLists.txt
> 233> Building Custom Rule
> C:/KW/VTK-6.3.0/GUISupport/QtOpenGL/CMakeLists.txt
>
> I am not very experienced with Qt, could there be something missing from
> the Anaconda distro that is causing this error? This is preventing me from
> importing vtk in Python, the process halts because of the missing dll.
>
> Thanks for any thoughts/comments/suggestions.
>
> Kent
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160404/10bae3c3/attachment.html>
More information about the vtkusers
mailing list