[vtk-developers] Bug fix 13443

Lodron, Gerald Gerald.Lodron at joanneum.at
Wed Mar 13 05:11:18 EDT 2013


Hello

I compiled VTK 5.10.1 with qt 4.8.1 on VisualStudio 2008 in 64bit mode whereby I changed


VTK_USE_QT to on
BUILD_TESTING to off
BUILD_SHARED_LIBS to on
VTK_USE_QTCHARTS to on

in Cmake.

In Release mode it compiles without errors, in Debug mode it fails on vtkQtChart in linking:

Linking...
   Creating library D:\Develop\win64-msv90-build\vtk-5.10.1\bin\Debug\vtkQtChart.lib and object D:\Develop\win64-msv90-build\vtk-5.10.1\bin\Debug\vtkQtChart.exp
vtkQtBarChart.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)" (__imp_?IsNan at vtkMath@@SAHN at Z) referenced in function "public: virtual void __cdecl vtkQtBarChart::layoutChart(class QRectF const &)" (?layoutChart at vtkQtBarChart@@UEAAXAEBVQRectF@@@Z)
vtkQtChartSeriesModelRange.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)" (__imp_?IsNan at vtkMath@@SAHN at Z)
vtkQtLineChart.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)" (__imp_?IsNan at vtkMath@@SAHN at Z)
D:\Develop\win64-msv90-build\vtk-5.10.1\bin\Debug\vtkQtChart.dll : fatal error LNK1120: 1 unresolved externals

Error executing link.exe (tool returned code: 1120)

vtkQtChart - 4 error(s), 596 warning(s)

When i look at the vtkMath code i found #ifndef __WRAP__ // Fixes bug 13443 for VTK 5.10,

Could it be that this compile error is caused by this bug fix?


_________________________________________________________________

JOANNEUM RESEARCH Forschungsgesellschaft mbH

DIGITAL - Institute for Information and Communication Technologies
Steyrergasse 17, 8010 Graz, Austria

phone: +43 316 876-1751
fax: +43 316 8769-1751
e-mail: gerald.lodron at joanneum.at<mailto:gerald.lodron at joanneum.at>
web: www.joanneum.at/digital<http://www.joanneum.at/digital>
_________________________________________________________________

This message and any attached files are confidential and intended solely for the addressee(s). Any publication, transmission or other use of the information by a person or entity other than the intended addressee(s) is prohibited. If you receive this in error please contact the sender and delete the material. The sender does not accept liability for any errors or omissions as a result of the transmission.

Please consider the environment before printing this page.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130313/413bfc12/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001.txt
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130313/413bfc12/attachment-0001.txt>


More information about the vtk-developers mailing list