Hi sir,<div><br></div><div>I had a similar problem on Windows.I was using Release build of VTK libs with Debug version of my QT application.</div><div>When I compile my application in Release mode everything was fine.</div>
<div>Could this be a issue for you ?</div><div><br></div><div>best regards,</div><div>umanga</div><div><br></div><div> <br><br><div class="gmail_quote">On 7 October 2010 15:27, Dr. Helmut Schumacher <span dir="ltr">&lt;<a href="mailto:hel.schumacher@fz-juelich.de">hel.schumacher@fz-juelich.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
<br>
I give a lesson to students on VTK.<br>
Because compiling VTK on a slow machine is very time consuming, I want to<br>
give them a pre-compiled version.<br>
On my laptop I have both, Visual Studio AND mingw, installed. That may be<br>
the problem.<br>
I have a proper Qt-4.7.0-Installation and can compile and run normal<br>
Qt-Projects.<br>
I want to compile VTK with mingw.<br>
I put the mingw-bin-directory first in my PATH and compiled a new downloaded<br>
VTK.<br>
By the way, on my Linux-machine VTK5.6.1 and Qt-4.7.0 works fine together.<br>
But if I run a Qt-VTK-Application on Windows, I get &quot;Invalid parameter<br>
passed to C runtime function.&quot; twice.<br>
I tried to find the crash in the QVTKWidget-Source, but the constructor for<br>
QVTKWidget is not executed.<br>
The program crashes before the first statement.<br>
During compilation I get warnings, that &quot;the visibility attribute is not<br>
used and ignored&quot;.<br>
And the linker gives warnings that &quot;auto import is used without<br>
--enable-auto-import&quot;.<br>
I trid to give --enable-auto-import as linker-flag, but it was ignored by<br>
cmake.<br>
<br>
And qmake and the designer-include-dir are correct.<br>
<br>
Any ideas?<br>
What do you guess?<br>
<font color="#888888"><br>
Dr. Helmut Schumacher<br>
Forschungszentrum Jülich<br>
Jülich Supercompting Centre<br>
Leo-Brandt-Straße<br>
52425 Jülich<br>
Tel.: +49-2461/61-2482<br>
Fax: +49-2461/61-6656<br>
</font><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>