<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>I've been using Cmake to create a fixup bundle on Win32. Unfortunately, the VTK libraries are completely missing. </div>
<div><br>
</div>
<div>Cmake appears to have the correct paths to these dependencies, but looks for .dll's instead of .lib's. </div>
<div><br>
</div>
<div>When I try to build the INSTALL project in Visual Studio, I get the following output:</div>
<div><br>
</div>
<div>
<div>>EXEC : warning : cannot resolve item 'vtkGUISupportQt-6.0.dll'</div>
<div>3> </div>
<div>3> possible problems:</div>
<div>3> need more directories?</div>
<div>3> need to use InstallRequiredSystemLibraries?</div>
<div>3> run in install tree instead of build tree?</div>
<div>3> </div>
<div>3>EXEC : -- warning : gp_resolved_file_type non-absolute file 'vtkGUISupportQt-6.0.dll' returning type 'other' -- possibly incorrect</div>
</div>
<div><br>
</div>
<div>Here's what I have in my CmakeLists.txt file:</div>
<div><br>
</div>
<div>
<div> if(WIN32)</div>
<div> set(DEPENDENCY_DIRS ${QT_BINARY_DIR} ${VTK_LIBRARY_DIRS})</div>
<div> include(InstallRequiredSystemLibraries)</div>
<div> endif()</div>
</div>
<div><br>
</div>
<div>
<div> INSTALL(CODE "</div>
<div> file(GLOB_RECURSE QTPLUGINS \"\${CMAKE_INSTALL_PREFIX}/${PLUGIN_DEST_DIR}/plugins/*${CMAKE_SHARED_LIBRARY_SUFFIX}\")</div>
<div> include(BundleUtilities)</div>
<div> fixup_bundle(\"${APPS}\" \"\${QTPLUGINS}\" \"${DEPENDENCY_DIRS}\")</div>
<div> " COMPONENT Runtime)</div>
</div>
<div><br>
</div>
<div>The problem also happens for a static win32 library for gdal, but I figured the VTK community would have some experience with this.</div>
<div><br>
</div>
<div>Thanks if you do!</div>
<div><br>
</div>
<div>-Aaron</div>
</div>
</body>
</html>