Qt +VTK+Cmake compilation and environment configuration (third, advanced, resolved)

As mentioned in the previous article, although Cmake can build successfully, most people choose VS compilation, and no one chooses the compiler that comes with Qt.

Shift+right click in the build folder to enter the cmd serial port and execute mingw32-make

mingw32-make

Report an error! ! ! !

Locate the folder on the C drive, and there is no such stability. Temp is a temporary file, did you delete it yourself?

Solution: (Keep the network open, turn off anti-virus software, security guards and the like)

 Re-execute the command:

mingw32-make -j 8

command line executed

 And there are dynamic files under the C:.....temp folder

It is easy to interrupt, if interrupted in the middle, restart the following command.

mingw32-make -j 8

The following is the progress of 26% after re-running after more than 10 interruptions.

 

 Clearly, there was a break.

This VTK's support for Qt is too poor. There is no way, keep the network unobstructed, and execute this way again until the end.

Guess you like

Origin blog.csdn.net/Vertira/article/details/132641313