View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007705VTK(No Category)public2008-09-18 11:432009-01-27 10:39
ReporterMike Jackson 
Assigned ToDavid Cole 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0007705: vtkfreetype will not compile on OS X when SDK is set to 10.4u and compiling on OS X 10.5
DescriptionA compile error occurs when the OS X deployment target is set to 10.4 and the SDK is set to 10.4u while running on OS X 10.5. The issue is in the ftmac.c file where the following code is found:

  /* The ResourceIndex type was only added in the 10.5 SDK */
#ifndef MAC_OS_X_VERSION_10_5
typedef short ResourceIndex;
#endif

This does not resolve correctly under the conditions above. Using the following will fix the problem:

  /* The ResourceIndex type was only added in the 10.5 SDK */
#if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5)
typedef short ResourceIndex;
#endif

This also affects ParaView CVS.
Additional InformationI am doing some work with CMake that will allow builders of VTK to select which deployment target and SDK to use so currently you would not see this issue with VTK or ParaView but it may be seen in the future.


TagsNo tags attached.
Project
Type
Attached Files

 Relationships
duplicate of 0007199closedSean McBride VTK's freetype is out of date. Currently version 2.3.6 includes security fixes. 

  Notes
(0013516)
Sean McBride (developer)
2008-09-18 13:18

This is fixed in freetype 2.3.7, but updating VTK to 2.3.7 causes other problems, se 7199.

I guess I'll just move that one change over to VTK's version of freetype 2.3.5.
(0013517)
Sean McBride (developer)
2008-09-18 13:38

/cvsroot/VTK/VTK/Utilities/vtkfreetype/README.VTK.txt,v <-- README.VTK.txt
new revision: 1.8; previous revision: 1.7
/cvsroot/VTK/VTK/Utilities/vtkfreetype/src/base/ftmac.c,v <-- src/base/ftmac.c
new revision: 1.7; previous revision: 1.6
(0013518)
Sean McBride (developer)
2008-09-18 13:43

David, can you put this in the 5.2 branch? (let's give it a couple of days on the dashboard...)
(0014166)
David Cole (developer)
2008-11-24 15:59

Changes merged to the VTK-5-2 branch:

    /cvsroot/VTK/VTK/Utilities/vtkfreetype/README.VTK.txt,v <-- Utilities/vtkfreetype/README.VTK.txt
    new revision: 1.7.6.1; previous revision: 1.7
    /cvsroot/VTK/VTK/Utilities/vtkfreetype/src/base/ftmac.c,v <-- Utilities/vtkfreetype/src/base/ftmac.c
    new revision: 1.6.2.1; previous revision: 1.6
(0014177)
Sean McBride (developer)
2008-11-25 10:15

Closing.
(0014685)
David Cole (developer)
2009-01-27 10:39

Fixed in CVS HEAD, the VTK-5-2 branch and verified by Sean McBride.

 Issue History
Date Modified Username Field Change
2008-09-18 11:43 Mike Jackson New Issue
2008-09-18 12:56 Sean McBride Status backlog => tabled
2008-09-18 12:56 Sean McBride Assigned To => Sean McBride
2008-09-18 12:57 Sean McBride Relationship added duplicate of 0007199
2008-09-18 13:18 Sean McBride Note Added: 0013516
2008-09-18 13:38 Sean McBride Status tabled => @80@
2008-09-18 13:38 Sean McBride Resolution open => fixed
2008-09-18 13:38 Sean McBride Note Added: 0013517
2008-09-18 13:43 Sean McBride Note Added: 0013518
2008-09-18 13:43 Sean McBride Assigned To Sean McBride => David Cole
2008-09-18 13:43 Sean McBride Status @80@ => tabled
2008-11-24 15:59 David Cole Note Added: 0014166
2008-11-24 15:59 David Cole Status tabled => @80@
2008-11-25 10:15 Sean McBride Note Added: 0014177
2008-11-25 10:15 Sean McBride Status @80@ => tabled
2009-01-27 10:39 David Cole Note Added: 0014685
2009-01-27 10:39 David Cole Status tabled => closed
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team