<div dir="ltr"><div>I am replying to my own post. For issue # 2, I checked file <br>GUISupport/Qt/PluginInstall.cmake<br><br></div>The contents of this file are as follows:<br>----<br># Configured file and directory locations.<br>
SET(VTK_LIB_DIR &quot;E:/VTKDebugBuild/bin&quot;)<br>SET(VTK_INSTALL_QT_DIR &quot;/plugins/designer&quot;)<br>SET(VTK_INSTALL_QT_PLUGIN_DIR &quot;${CMAKE_INSTALL_PREFIX}${VTK_INSTALL_QT_DIR}&quot;)<br>SET(VTK_INSTALL_QT_PLUGIN_FILE &quot;QVTKWidgetPlugin.dll&quot;)<br>
SET(VTK_CONFIGURATIONS &quot;Debug;Release;MinSizeRel;RelWithDebInfo&quot;)<br><br>IF(VTK_CONFIGURATIONS)<br>  SET(VTK_LIBSUBDIR &quot;/${BUILD_TYPE}&quot;)<br>ENDIF(VTK_CONFIGURATIONS)<br><br># Install the file to the specified location.<br>
FILE(INSTALL DESTINATION &quot;${VTK_INSTALL_QT_PLUGIN_DIR}&quot; TYPE SHARED_LIBRARY<br>  FILES &quot;${VTK_LIB_DIR}${VTK_LIBSUBDIR}/${VTK_INSTALL_QT_PLUGIN_FILE}&quot;)<br><div><div><div class="gmail_extra">----<br></div>
<div class="gmail_extra">If we look at line :<br></div><div class="gmail_extra">SET(VTK_INSTALL_QT_PLUGIN_FILE &quot;QVTKWidgetPlugin.dll&quot;)<br><br></div><div class="gmail_extra">we see that it is looking for file &quot;QVTKWidgetPlugin.dll&quot;. But since, I already added a postfix d, it cannot find this file and therefore is giving errors. If I change the file name to QVTKWidgetPlugind.dll, the build &quot;Install&quot; step succeeds.<br>
<br></div><div class="gmail_extra">Is this a bug?<br><br></div><div class="gmail_extra">Issue # 1, still remains. I am still not able to run the  RenderWindowNoUiFile example after adding postfix d.<br><br>Can anyone please help?<br>
<br></div><div class="gmail_extra">Thanks,<br>Ashish<br><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 24, 2013 at 12:26 PM, Ashish Singh <span dir="ltr">&lt;<a href="mailto:asinghmlists@gmail.com" target="_blank">asinghmlists@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br>1) I am trying to build VTK5.10.1 with Qt 4.8.4 on Windows 7, x64 platform with Visual Studio 2010 with postfix &#39;d&#39; option. The build goes fine without any errors. I am able to run the cone example( plain VTK example) using my build.  But when I run the RenderWindowNoUiFile ( VTK + Qt example), I get a runtime error saying -<br>

&quot;The application was unable to start correct (0xc000000d). Click OK to close the application&quot;<br></div><br>2) When I try to build &quot;Install&quot; for this VTK build, I  get the following error:<br><br>1&gt;  -- Up-to-date: E:/VTKDebugBin/bin/QVTKd.dll<br>

1&gt;  CMake Error at GUISupport/Qt/PluginInstall.cmake:13 (FILE):<br>1&gt;    file INSTALL cannot find &quot;E:/VTKDebugBuild/bin/Debug/QVTKWidgetPlugin.dll&quot;.<br>1&gt;  Call Stack (most recent call first):<br>1&gt;    GUISupport/Qt/cmake_install.cmake:89 (INCLUDE)<br>

1&gt;    GUISupport/cmake_install.cmake:32 (INCLUDE)<br>1&gt;    cmake_install.cmake:181 (INCLUDE)<br>1&gt;  <br>1&gt;  <br>1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command &quot;setlocal<br>

1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: &quot;C:\Program Files (x86)\CMake 2.8\bin\cmake.exe&quot; -DBUILD_TYPE=Debug -P cmake_install.cmake<br>1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd<br>

1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmEnd<br>1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone<br>

1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmErrorLevel<br>1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: exit /b %1<br>

1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmDone<br>1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd<br>

1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd&quot; exited with code 1.<br>1&gt;<br>1&gt;Build FAILED.<br>1&gt;<br>1&gt;Time Elapsed 00:00:10.95<br>========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br>

<br>Can anyone please help me figure out what is going wrong here and how to fix these 2 issues?<br><br>The details of my environment are:<br></div>VTK version: 5.10.1<br></div>Qt: 4.8.4<br></div>OS: windows 7 64 bit<br>
</div>
Visual Studio 2010<br><br></div>Thanks,<br></div>Ashish<br></div>
</blockquote></div><br></div></div></div></div>