View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016754VTK(No Category)public2016-06-24 15:122016-07-12 11:49
ReporterMax Smolens 
Assigned ToMax Smolens 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0016754: Build fails with CMAKE_OSX_DEPLOYMENT_TARGET=10.6
DescriptionFollowing https://gitlab.kitware.com/vtk/vtk/merge_requests/1405 [^]
building VTK fails with CMAKE_OSX_DEPLOYMENT_TARGET=10.6:

$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.6.8
BuildVersion: 10K549

$ cmake --version
cmake version 3.5.2

$ cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.6 -DBUILD_TESTING:BOOL=OFF ../VTK && make
...
In file included from /path/to/VTK/Rendering/OpenGL2/vtkCocoaRenderWindowInteractor.mm:17:
/path/to/VTK/Rendering/OpenGL2/vtkCocoaMacOSXSDKCompatibility.h:29:4: error: #error VTK requires a deployment target of Mac OS X 10.6.8 or later
...

$ cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.6.8 -DBUILD_TESTING:BOOL=OFF ../VTK && make
...
CMake Error at /path/to/CMake.app/Contents/share/cmake-3.5/Modules/Platform/Darwin.cmake:84 (message):
  CMAKE_OSX_DEPLOYMENT_TARGET (10.6.8) is greater than CMAKE_OSX_SYSROOT SDK:

   /Developer/SDKs/MacOSX10.6.sdk

  Please set CMAKE_OSX_DEPLOYMENT_TARGET to 10.6 or lower.
...

TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0036340)
Max Smolens (developer)
2016-07-12 11:49

Per https://gitlab.kitware.com/vtk/vtk/merge_requests/1405#note_132167, [^] this is formally a CMake issue. It should ignore any patch version specified in the deployment target when comparing to the SDK version.

 Issue History
Date Modified Username Field Change
2016-06-24 15:12 Max Smolens New Issue
2016-06-24 15:13 Max Smolens Description Updated
2016-07-06 10:14 Tim Thirion Assigned To => Tim Thirion
2016-07-06 15:11 Tim Thirion Assigned To Tim Thirion =>
2016-07-12 11:49 Max Smolens Note Added: 0036340
2016-07-12 11:49 Max Smolens Status backlog => closed
2016-07-12 11:49 Max Smolens Assigned To => Max Smolens
2016-07-12 11:49 Max Smolens Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team