[vtkusers] problems building the sources of vtk

David Doria daviddoria at gmail.com
Wed Mar 2 07:52:31 EST 2011


On Wed, Mar 2, 2011 at 7:03 AM, alby13 <albagarin1986 at hotmail.com> wrote:

> hello,
>
> im trying to build the sources of vtk to use them (cmake and building with
> visual studio) and in visual studio when buidling i get the following
> error:
> "Creating library C:\vtk-5.6.0_build\bin\Debug\QVTK.lib and object
> C:\vtk-5.6.0_build\bin\Debug\QVTK.exp
> 42>vtkQtSQLDatabase.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: static int __cdecl
> vtkSQLDatabase::IsTypeOf(char const *)"
> (__imp_?IsTypeOf at vtkSQLDatabase@@SAHPBD at Z) referenced in function "public:
> static int __cdecl vtkQtSQLDatabase::IsTypeOf(char const *)"
> (?IsTypeOf at vtkQtSQLDatabase@@SAHPBD at Z)..."
> i dont even wanna use sql and i dont know how to fix it.
> could anyone help me?
> thanks,
>
>
You could try turning off VTK_USE_MYSQL in the advanced options of the VTK
CMake configuration. If that doesn't work you could also turn off VTK_USE_QT
(if you don't need to use Qt with your VTK applications).

Give that a shot and let us know how it goes.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110302/b8510053/attachment.htm>


More information about the vtkusers mailing list