[vtkusers] Building VTK with VS2008 x64 on Windows 7

Jonathan Morra jonmorra at gmail.com
Mon Apr 23 19:37:27 EDT 2012


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?

On Mon, Apr 23, 2012 at 3:17 PM, Jonathan Morra <jonmorra at gmail.com> wrote:

> I just did a build on Release, and everything worked fine, however Debug
> continued to fail.
>
>
> On Mon, Apr 23, 2012 at 2:08 PM, Michael Jackson <
> mike.jackson at bluequartz.net> wrote:
>
>> 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.
>>
>>  Does "Debug" and "Release" both build OK?
>> --
>> Mike Jackson <www.bluequartz.net>
>>
>> On Apr 23, 2012, at 4:54 PM, Jonathan Morra wrote:
>>
>> > OK
>> > 1.  What information could I provide/look at myself to help diagnose
>> exactly what is going wrong.
>> > 2.  Why does this exact same cmake file work fine in Release with debug
>> info?
>> >
>> > On Mon, Apr 23, 2012 at 1:51 PM, Michael Jackson <
>> mike.jackson at bluequartz.net> wrote:
>> > 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.
>> > ___________________________________________________________
>> > Mike Jackson                    Principal Software Engineer
>> > BlueQuartz Software                            Dayton, Ohio
>> > mike.jackson at bluequartz.net              www.bluequartz.net
>> >
>> > On Apr 23, 2012, at 4:38 PM, Jonathan Morra wrote:
>> >
>> > > Does anyone have any ideas on this?  I still can't seem to get it to
>> compile.
>> > >
>> > > On Tue, Apr 17, 2012 at 10:39 PM, Jonathan Morra <jonmorra at gmail.com>
>> wrote:
>> > > I get the following compilation errors, does anyone know what the
>> problem is?  This only happens in Debug, in release everything works fine.
>> > > 1>------ Build started: Project: vtkMaterialLibraryConfiguredFiles,
>> Configuration: Debug x64 ------
>> > > 1>Generating vtkMaterialXMLLibrary.h
>> > > 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.
>> > > 1>Project : error PRJ0019: A tool returned an error code from
>> "Generating vtkMaterialXMLLibrary.h"
>> > > 1>Build log was saved at
>> "file://c:\MVS\VTK\bin\x64\Utilities\MaterialLibrary\vtkMaterialLibraryConfiguredFiles.dir\Debug\BuildLog.htm"
>> > > 1>vtkMaterialLibraryConfiguredFiles - 1 error(s), 0 warning(s)
>> > > 2>------ Build started: Project: vtkParallel, Configuration: Debug
>> x64 ------
>> > > 2>Generating vtkSocketCommunicatorHash.h
>> > > 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.
>> > > 2>Project : error PRJ0019: A tool returned an error code from
>> "Generating vtkSocketCommunicatorHash.h"
>> > > 2>Build log was saved at
>> "file://c:\MVS\VTK\bin\x64\Parallel\vtkParallel.dir\Debug\BuildLog.htm"
>> > > 2>vtkParallel - 1 error(s), 0 warning(s)
>> > > 3>------ Build started: Project: vtkHybrid, Configuration: Debug x64
>> ------
>> > > 3>Linking...
>> > > 3>LINK : fatal error LNK1104: cannot open file
>> '..\bin\Debug\vtkParallel.lib'
>> > > 3>Build log was saved at
>> "file://c:\MVS\VTK\bin\x64\Hybrid\vtkHybrid.dir\Debug\BuildLog.htm"
>> > > 3>vtkHybrid - 1 error(s), 0 warning(s)
>> > > 4>------ Build started: Project: vtkWidgets, Configuration: Debug x64
>> ------
>> > > 4>Linking...
>> > > 4>LINK : fatal error LNK1104: cannot open file
>> '..\bin\Debug\vtkHybrid.lib'
>> > > 4>Build log was saved at
>> "file://c:\MVS\VTK\bin\x64\Widgets\vtkWidgets.dir\Debug\BuildLog.htm"
>> > > 4>vtkWidgets - 1 error(s), 0 warning(s)
>> > > 5>------ Build started: Project: vtkInfovis, Configuration: Debug x64
>> ------
>> > > 5>Linking...
>> > > 5>LINK : fatal error LNK1104: cannot open file
>> '..\bin\Debug\vtkWidgets.lib'
>> > > 5>Build log was saved at
>> "file://c:\MVS\VTK\bin\x64\Infovis\vtkInfovis.dir\Debug\BuildLog.htm"
>> > > 5>vtkInfovis - 1 error(s), 0 warning(s)
>> > > 6>------ Build started: Project: vtkViews, Configuration: Debug x64
>> ------
>> > > 6>Linking...
>> > > 6>LINK : fatal error LNK1104: cannot open file
>> '..\bin\Debug\vtkInfovis.lib'
>> > > 6>Build log was saved at
>> "file://c:\MVS\VTK\bin\x64\Views\vtkViews.dir\Debug\BuildLog.htm"
>> > > 6>vtkViews - 1 error(s), 0 warning(s)
>> > > 7>------ Build started: Project: QVTK, Configuration: Debug x64 ------
>> > > 7>Linking...
>> > > 7>LINK : fatal error LNK1104: cannot open file
>> '..\..\bin\Debug\vtkViews.lib'
>> > > 7>Build log was saved at
>> "file://c:\MVS\VTK\bin\x64\GUISupport\Qt\QVTK.dir\Debug\BuildLog.htm"
>> > > 7>QVTK - 1 error(s), 0 warning(s)
>> > > 8>------ Skipped Build: Project: INSTALL, Configuration: Debug x64
>> ------
>> > > 8>Project not selected to build for this solution configuration
>> > > ========== Build: 0 succeeded, 7 failed, 45 up-to-date, 1 skipped
>> ==========
>> > >
>> > >
>> > > _______________________________________________
>> > > Powered by www.kitware.com
>> > >
>> > > Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> > >
>> > > Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>> > >
>> > > Follow this link to subscribe/unsubscribe:
>> > > http://www.vtk.org/mailman/listinfo/vtkusers
>> >
>> >
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120423/bdcb11e9/attachment.htm>


More information about the vtkusers mailing list