[vtkusers] installing 5.6.1 with qt 4.7.0 on windows7

Dr. Helmut Schumacher hel.schumacher at fz-juelich.de
Thu Oct 7 02:27:50 EDT 2010


Hello,

I give a lesson to students on VTK.
Because compiling VTK on a slow machine is very time consuming, I want to
give them a pre-compiled version.
On my laptop I have both, Visual Studio AND mingw, installed. That may be
the problem.
I have a proper Qt-4.7.0-Installation and can compile and run normal
Qt-Projects.
I want to compile VTK with mingw.
I put the mingw-bin-directory first in my PATH and compiled a new downloaded
VTK.
By the way, on my Linux-machine VTK5.6.1 and Qt-4.7.0 works fine together.
But if I run a Qt-VTK-Application on Windows, I get "Invalid parameter
passed to C runtime function." twice.
I tried to find the crash in the QVTKWidget-Source, but the constructor for
QVTKWidget is not executed.
The program crashes before the first statement.
During compilation I get warnings, that "the visibility attribute is not
used and ignored".
And the linker gives warnings that "auto import is used without
--enable-auto-import".
I trid to give --enable-auto-import as linker-flag, but it was ignored by
cmake.

And qmake and the designer-include-dir are correct.

Any ideas?
What do you guess?

Dr. Helmut Schumacher
Forschungszentrum Jülich
Jülich Supercompting Centre
Leo-Brandt-Straße
52425 Jülich
Tel.: +49-2461/61-2482
Fax: +49-2461/61-6656
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5713 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101007/c538f376/attachment.bin>


More information about the vtkusers mailing list