<div class="gmail_extra">I just tried deleting my whole build directory and trying again. Again the Release and Release with Debug Info worked and Debug failed. Any ideas?<br><br><div class="gmail_quote">On Mon, Apr 23, 2012 at 3:17 PM, Jonathan Morra <span dir="ltr"><<a href="mailto:jonmorra@gmail.com" target="_blank">jonmorra@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra">I just did a build on Release, and everything worked fine, however Debug continued to fail.<div>
<div class="h5"><br><br><div class="gmail_quote">On Mon, Apr 23, 2012 at 2:08 PM, Michael Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Not sure what to provide but basically make sure anything you are building and anything that what you are building depends on ALL have the same type of build: Release with Debug Info. If some are Release and Some are debug then you will get a mixing of the runtime libs and most likely this error.<br>
<br>
Does "Debug" and "Release" both build OK?<br>
--<br>
Mike Jackson <<a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a>><br>
<div><div><br>
On Apr 23, 2012, at 4:54 PM, Jonathan Morra wrote:<br>
<br>
> OK<br>
> 1. What information could I provide/look at myself to help diagnose exactly what is going wrong.<br>
> 2. Why does this exact same cmake file work fine in Release with debug info?<br>
><br>
> On Mon, Apr 23, 2012 at 1:51 PM, Michael Jackson <<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>> wrote:<br>
> You seem to be mixing versions of Visual Studio built products or service packs of Visual Studio. That is what the "side-by-side configuration" means. Basically the executable is looking for one set of runtime libs and a library that the executable loads is looking for a different set/version of the runtime libraries.<br>
> ___________________________________________________________<br>
> Mike Jackson Principal Software Engineer<br>
> BlueQuartz Software Dayton, Ohio<br>
> <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a> <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
><br>
> On Apr 23, 2012, at 4:38 PM, Jonathan Morra wrote:<br>
><br>
> > Does anyone have any ideas on this? I still can't seem to get it to compile.<br>
> ><br>
> > On Tue, Apr 17, 2012 at 10:39 PM, Jonathan Morra <<a href="mailto:jonmorra@gmail.com" target="_blank">jonmorra@gmail.com</a>> wrote:<br>
> > I get the following compilation errors, does anyone know what the problem is? This only happens in Debug, in release everything works fine.<br>
> > 1>------ Build started: Project: vtkMaterialLibraryConfiguredFiles, Configuration: Debug x64 ------<br>
> > 1>Generating vtkMaterialXMLLibrary.h<br>
> > 1>The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.<br>
> > 1>Project : error PRJ0019: A tool returned an error code from "Generating vtkMaterialXMLLibrary.h"<br>
> > 1>Build log was saved at "file://c:\MVS\VTK\bin\x64\Utilities\MaterialLibrary\vtkMaterialLibraryConfiguredFiles.dir\Debug\BuildLog.htm"<br>
> > 1>vtkMaterialLibraryConfiguredFiles - 1 error(s), 0 warning(s)<br>
> > 2>------ Build started: Project: vtkParallel, Configuration: Debug x64 ------<br>
> > 2>Generating vtkSocketCommunicatorHash.h<br>
> > 2>The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.<br>
> > 2>Project : error PRJ0019: A tool returned an error code from "Generating vtkSocketCommunicatorHash.h"<br>
> > 2>Build log was saved at "file://c:\MVS\VTK\bin\x64\Parallel\vtkParallel.dir\Debug\BuildLog.htm"<br>
> > 2>vtkParallel - 1 error(s), 0 warning(s)<br>
> > 3>------ Build started: Project: vtkHybrid, Configuration: Debug x64 ------<br>
> > 3>Linking...<br>
> > 3>LINK : fatal error LNK1104: cannot open file '..\bin\Debug\vtkParallel.lib'<br>
> > 3>Build log was saved at "file://c:\MVS\VTK\bin\x64\Hybrid\vtkHybrid.dir\Debug\BuildLog.htm"<br>
> > 3>vtkHybrid - 1 error(s), 0 warning(s)<br>
> > 4>------ Build started: Project: vtkWidgets, Configuration: Debug x64 ------<br>
> > 4>Linking...<br>
> > 4>LINK : fatal error LNK1104: cannot open file '..\bin\Debug\vtkHybrid.lib'<br>
> > 4>Build log was saved at "file://c:\MVS\VTK\bin\x64\Widgets\vtkWidgets.dir\Debug\BuildLog.htm"<br>
> > 4>vtkWidgets - 1 error(s), 0 warning(s)<br>
> > 5>------ Build started: Project: vtkInfovis, Configuration: Debug x64 ------<br>
> > 5>Linking...<br>
> > 5>LINK : fatal error LNK1104: cannot open file '..\bin\Debug\vtkWidgets.lib'<br>
> > 5>Build log was saved at "file://c:\MVS\VTK\bin\x64\Infovis\vtkInfovis.dir\Debug\BuildLog.htm"<br>
> > 5>vtkInfovis - 1 error(s), 0 warning(s)<br>
> > 6>------ Build started: Project: vtkViews, Configuration: Debug x64 ------<br>
> > 6>Linking...<br>
> > 6>LINK : fatal error LNK1104: cannot open file '..\bin\Debug\vtkInfovis.lib'<br>
> > 6>Build log was saved at "file://c:\MVS\VTK\bin\x64\Views\vtkViews.dir\Debug\BuildLog.htm"<br>
> > 6>vtkViews - 1 error(s), 0 warning(s)<br>
> > 7>------ Build started: Project: QVTK, Configuration: Debug x64 ------<br>
> > 7>Linking...<br>
> > 7>LINK : fatal error LNK1104: cannot open file '..\..\bin\Debug\vtkViews.lib'<br>
> > 7>Build log was saved at "file://c:\MVS\VTK\bin\x64\GUISupport\Qt\QVTK.dir\Debug\BuildLog.htm"<br>
> > 7>QVTK - 1 error(s), 0 warning(s)<br>
> > 8>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------<br>
> > 8>Project not selected to build for this solution configuration<br>
> > ========== Build: 0 succeeded, 7 failed, 45 up-to-date, 1 skipped ==========<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> ><br>
> > Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
> ><br>
> > Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> ><br>
> > Follow this link to subscribe/unsubscribe:<br>
> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>