<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 "E:/VTKDebugBuild/bin")<br>SET(VTK_INSTALL_QT_DIR "/plugins/designer")<br>SET(VTK_INSTALL_QT_PLUGIN_DIR "${CMAKE_INSTALL_PREFIX}${VTK_INSTALL_QT_DIR}")<br>SET(VTK_INSTALL_QT_PLUGIN_FILE "QVTKWidgetPlugin.dll")<br>
SET(VTK_CONFIGURATIONS "Debug;Release;MinSizeRel;RelWithDebInfo")<br><br>IF(VTK_CONFIGURATIONS)<br> SET(VTK_LIBSUBDIR "/${BUILD_TYPE}")<br>ENDIF(VTK_CONFIGURATIONS)<br><br># Install the file to the specified location.<br>
FILE(INSTALL DESTINATION "${VTK_INSTALL_QT_PLUGIN_DIR}" TYPE SHARED_LIBRARY<br> FILES "${VTK_LIB_DIR}${VTK_LIBSUBDIR}/${VTK_INSTALL_QT_PLUGIN_FILE}")<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 "QVTKWidgetPlugin.dll")<br><br></div><div class="gmail_extra">we see that it is looking for file "QVTKWidgetPlugin.dll". 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 "Install" 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"><<a href="mailto:asinghmlists@gmail.com" target="_blank">asinghmlists@gmail.com</a>></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 'd' 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>
"The application was unable to start correct (0xc000000d). Click OK to close the application"<br></div><br>2) When I try to build "Install" for this VTK build, I get the following error:<br><br>1> -- Up-to-date: E:/VTKDebugBin/bin/QVTKd.dll<br>
1> CMake Error at GUISupport/Qt/PluginInstall.cmake:13 (FILE):<br>1> file INSTALL cannot find "E:/VTKDebugBuild/bin/Debug/QVTKWidgetPlugin.dll".<br>1> Call Stack (most recent call first):<br>1> GUISupport/Qt/cmake_install.cmake:89 (INCLUDE)<br>
1> GUISupport/cmake_install.cmake:32 (INCLUDE)<br>1> cmake_install.cmake:181 (INCLUDE)<br>1> <br>1> <br>1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "setlocal<br>
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake<br>1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd<br>
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmEnd<br>1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone<br>
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmErrorLevel<br>1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: exit /b %1<br>
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmDone<br>1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd<br>
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.<br>1><br>1>Build FAILED.<br>1><br>1>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>