View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012086VTK(No Category)public2011-04-14 12:462013-04-05 20:25
ReporterDon Bigler 
Assigned ToDavid Partyka 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformIntelOSWindows 64 bitOS Version7 Ultimate
Product Version 
Target VersionFixed in Version 
Summary0012086: Linker Error When Building VTK 5.6.1 Static Uncer VS10 Prof with Ogg Theora Support Enabled
DescriptionBuilding static debug version of VTK 5.6.1 in Windows 7 Ultimate 64 bit with Visual Studio 2010 Professional fails due to a linker error when VTK_USE_OGGTHEORA_ENCODER is enabled. The linker is expecting the /machine option, which is not specified and therefore defaults to x86 instead of x64. It appears like the addition of the vtkoggtheora.def and vtkoggtheora.rc files is the root of the problem.
Steps To ReproduceEnable VTK_USE_OGGTHEORA_ENCODER with BUILD_SHARED_LIBS disabled.
Additional InformationReplacing the following lines in Utilities/vtkoggtheora/CMakeLists:

IF(MSVC)
  LIST(APPEND VTKOGGTHEORA_SRCS vtkoggtheora.def vtkoggtheora.rc)
ENDIF(MSVC)

with:

IF(MSVC)
  IF(BUILD_SHARED_LIBS)
    LIST(APPEND VTKOGGTHEORA_SRCS vtkoggtheora.def vtkoggtheora.rc)
  ESLE(BUILD_SHARED_LIBS)
    LIST(REMOVE_ITEM VTKOGGTHEORA_SRCS vtkoggtheora.def vtkoggtheora.rc)
  ENDIF(BUILD_SHARED_LIBS)
ENDIF(MSVC)

removes the linker error.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0026178)
David Partyka (developer)
2011-04-14 13:11

Fixed for VTK 5.8 with this commit

http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=59de4927e5d094f045261bd6a07eb6e13dbfb6ed [^]

 Issue History
Date Modified Username Field Change
2011-04-14 12:46 Don Bigler New Issue
2011-04-14 12:56 David Partyka Assigned To => David Partyka
2011-04-14 12:56 David Partyka Status backlog => tabled
2011-04-14 13:11 David Partyka Note Added: 0026178
2011-04-14 13:11 David Partyka Status tabled => @80@
2011-04-14 13:11 David Partyka Resolution open => fixed
2013-04-05 20:25 Berk Geveci Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team