<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">This problem involves VTK in a peculiar way. I have a Qt+ITK application that I build 64-bit with MSVC2010 on Windows 7. The build is successful on two PCs, but fails on a laptop.
The error message is:<br>
LINK1181: cannot open input file 'vtkCommon.lib'<br>
<br>
The program does not use VTK, and nowhere in CMakeLists.txt is VTK mentioned. In addition, I have ensured that the path to the 64-bit VTK libraries is in the PATH list.<br>
<br>
As far as I can see the build conditions on the different machines are the same - same compiler, same ITK build, same Qt64 build, same QtCreator version - but there is a difference in what I see in QtCreator that may have significance. On a PC that is successful
in building the program, under the project name in the project directory I see CMakeLists.txt, a directory named "Project Files" with a subdirectory "ITK", and the source code files. On the laptop I see CMakeLists.txt, two directories, "CMake 2.8" and "ITK",
and the source files. I do not understand why "CMake 2.8" turns up in the project directory on the laptop but not on the PC.<br>
<br>
I'd be grateful if somebody could shed some light on this odd and annoying problem.<br>
<br>
Gib<br>
</div>
</body>
</html>