[vtkusers] QVTKWidget issues

John Drescher drescherjm at gmail.com
Thu Jun 16 08:20:15 EDT 2011


On Thu, Jun 16, 2011 at 6:12 AM, algr <alexander.gryanik at gmail.com> wrote:
> @Clint: I do not mix debug and release, but in visual studio output window I
> can see that visual studio tries to link release dlls.
>
> 'HelloWorld.exe': Loaded 'L:\SVN\extern\Vtk\5.6.1\bin\QVTK.dll', Binary was
> not built with debug information.
> 'HelloWorld.exe': Loaded 'L:\SVN\extern\Qt\4.7.3\bin\QtGui4.dll', Binary was
> not built with debug information.
> 'HelloWorld.exe': Loaded 'L:\SVN\extern\Qt\4.7.3\bin\QtCore4.dll', Binary
> was not built with debug information.
> 'HelloWorld.exe': Loaded
> 'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.5570_none_509463cabcb6ef2a\msvcp90.dll',
> Symbols loaded.
> 'HelloWorld.exe': Loaded
> 'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.5570_none_509463cabcb6ef2a\msvcr90.dll',
> Symbols loaded.
> 'HelloWorld.exe': Loaded 'L:\SVN\extern\Qt\4.7.3\bin\QtSql4.dll', Binary was
> not built with debug information.
>
> But I use following dependencies for debug mode:
> qtmaind.lib
> QtCored4.lib
> QtGuid4.lib
> QtXmld4.lib
> QtOpenGLd4.lib
> QVTK.lib <- this one is release since I don't want debug in VTK source code.
> I compiled VTK only in release mode. Can this be the problem?

Yes. You can not safely mix debug and release libs or even libs from
different compiler versions.


http://stackoverflow.com/questions/1227653/linking-against-library-in-release-and-exe-in-debug-crashes-in-visual-studio

John



More information about the vtkusers mailing list