[vtkusers] Problem executing VTK in release mode with Visual Studio 2013

Andras Lasso lasso at queensu.ca
Tue Jul 5 15:17:33 EDT 2016


I haven't found ant obvious problem in the code. Check that you don’t have any directories in the path that contains debug-mode DLLs. You can also build your code as RelWithDebInfo and run it in a debugger to see where the problem occurs.



Andras



From: Olivier Ameline<mailto:olivameline at gmail.com>
Sent: Tuesday, July 5, 2016 4:54 PM
To: vtkusers at vtk.org<mailto:vtkusers at vtk.org>
Subject: Re: [vtkusers] Problem executing VTK in release mode with Visual Studio 2013



Thank you Andras for your answer.

I am aware of this problem with uninitialized variables, but the code that I
try to execute in release mode
is a VTK example (available  here
<https://gitlab.kitware.com/vtk/vtk/tree/8f27431046ddbfe6665790b334f1a78d56c961fe/Examples/GUI/Qt/SimpleView>
).

The code is very simple (only 2 small .cpp) and I don't see any
uninitialized variable.

Except if, for instance,
this->TableView = vtkSmartPointer<vtkQtTableView>::New();
does not count as an initialization ?

Olivier



--
View this message in context: http://vtk.1045678.n5.nabble.com/Problem-executing-VTK-in-release-mode-with-Visual-Studio-2013-tp5739093p5739107.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
Powered by www.kitware.com<http://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/20160705/d67852ca/attachment.html>


More information about the vtkusers mailing list