Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0002624Dwarf FortressTechnical -- Renderingpublic2010-07-11 06:172016-06-29 18:24
CyberSkull 
lethosor 
normalblockalways
confirmedreopened 
PowerPCMac OS X10.5.8
0.31.10 
 
0002624: Bundled SDL version uses NSQuickDrawView on OS X; deprecated/unavailable in newer versions of OS X
The second message issued by DF is "2010-07-11 06:10:00.438 dwarfort.exe[25904:10b] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz."

QuickDraw should not be used in Mac OS X. It is not a native API and is there for legacy support only. Quartz is the main drawing and windowing system. It also supports hardware accelleration, something that QuickDraw does not.
Launch Dwarf Fortress. The warning is issued right when it starts to use graphics.
(lethosor:) This only affects 2D and related print modes, and is fixed in SDL 1.2.15
Manager's note: Suggested fix: update SDL to SDL 1.2.15
1. Download SDL-1.2.15.dmg from https://www.libsdl.org/download-1.2.php [^] (under Mac OS X). Direct link as of May 2016: https://www.libsdl.org/release/SDL-1.2.15.dmg [^]
2. Open the downloaded .dmg file
3. Replace SDL.framework (possibly displayed as "SDL") in the libs folder in your DF folder with the downloaded version of SDL.framework
Fixed in 0.43.05?, Probable Quick Fix, SDL
related to 0007389confirmed lethosor freetype missing on OS X; causes crashes when entering fullscreen and/or starting DF 
has duplicate 0006641resolved lethosor Deprecated Function and Library Warning 
has duplicate 0006108resolved lethosor SDL Framework version uses [highly] depreciated Quicktime rather than Quartz. 
has duplicate 0009098resolved lethosor Game crash (window disappears) during launch following upgrade to Mac OS X El Capitan (10.11) in PRINT_MODE:2D 
has duplicate 0009166resolved lethosor Game Crashes at startup 
has duplicate 0009158resolved lethosor Crash on Startup 
has duplicate 0009238resolved lethosor Crash on launch 
has duplicate 0009555resolved lethosor Vanilla game simply will not start on MacOS ElCapitan 
has duplicate 0009680resolved lethosor Cannot open the df executable. 
related to 0005260resolved Toady One Can't play fullscreen on Mac OS X Lion (bug in outdated SDL) 
related to 0009431resolved lethosor Mac launch script does not launch DF 
Issue History
2010-07-11 06:17CyberSkullNew Issue
2010-07-11 10:30FootkerchiefIssue Monitored: Baughn
2010-07-11 10:30FootkerchiefNote Added: 0009943
2010-07-11 16:13BaughnNote Added: 0009968
2010-07-11 16:45FootkerchiefNote Added: 0009972
2010-07-11 16:45FootkerchiefStatusnew => resolved
2010-07-11 16:45FootkerchiefResolutionopen => not fixable
2010-07-11 16:45FootkerchiefAssigned To => Footkerchief
2014-07-08 09:01lethosorRelationship addedhas duplicate 0006641
2014-11-14 13:59lethosorRelationship addedhas duplicate 0006108
2014-11-14 14:01lethosorAssigned ToFootkerchief => lethosor
2014-11-14 14:01lethosorNote Added: 0030990
2014-11-14 14:01lethosorStatusresolved => needs feedback
2014-11-14 14:01lethosorResolutionnot fixable => reopened
2015-08-25 19:46lethosorNote Added: 0033000
2015-08-25 19:46lethosorStatusneeds feedback => confirmed
2015-08-25 19:46lethosorTag Attached: Probable Quick Fix
2015-08-25 19:46lethosorNote Edited: 0033000bug_revision_view_page.php?bugnote_id=0033000#r13281
2015-08-28 08:04lethosorTag Attached: SDL
2015-10-14 13:01lethosorNote Added: 0033110
2015-10-14 13:01lethosorSeverityminor => block
2015-10-17 18:58lethosorSummaryNSQuickDrawView used by DF => Bundled SDL version uses QuickDraw on OS X; deprecated/unavailable in newer versions of OS X
2015-10-17 19:03lethosorRelationship addedhas duplicate 0009098
2015-10-18 08:27fricyIssue Monitored: fricy
2015-10-18 09:55lethosorAdditional Information Updatedbug_revision_view_page.php?rev_id=13333#r13333
2015-10-18 10:46lethosorNote Edited: 0033110bug_revision_view_page.php?bugnote_id=0033110#r13335
2015-10-18 10:46lethosorNote Edited: 0033110bug_revision_view_page.php?bugnote_id=0033110#r13336
2015-10-18 10:54lethosorRelationship addedrelated to 0005260
2015-10-18 10:54lethosorRelationship addedrelated to 0007389
2015-10-18 17:31ZapperierNote Added: 0033120
2015-12-02 20:10lethosorRelationship addedhas duplicate 0009166
2015-12-02 20:10lethosorRelationship addedhas duplicate 0009158
2015-12-05 13:49lethosorRelationship addedhas duplicate 0009238
2015-12-28 06:44lethosorRelationship addedrelated to 0009431
2016-01-20 10:25tabaccoNote Added: 0034490
2016-01-26 15:40lethosorAdditional Information Updatedbug_revision_view_page.php?rev_id=13924#r13924
2016-02-06 05:53fraveydankNote Added: 0034610
2016-02-06 08:16lethosorNote Added: 0034611
2016-04-04 13:40lethosorSummaryBundled SDL version uses QuickDraw on OS X; deprecated/unavailable in newer versions of OS X => Bundled SDL version uses NSQuickDrawView on OS X; deprecated/unavailable in newer versions of OS X
2016-04-04 13:41lethosorRelationship addedhas duplicate 0009555
2016-04-05 10:05lethosorRelationship addedhas duplicate 0009680
2016-05-17 16:52lethosorAdditional Information Updatedbug_revision_view_page.php?rev_id=14195#r14195
2016-06-29 18:23lethosorTag Attached: Fixed in 0.43.05?
2016-06-29 18:24lethosorNote Added: 0035525
2016-09-30 11:44lethosorNote Edited: 0035525bug_revision_view_page.php?bugnote_id=0035525#r14483

Notes
(0009943)
Footkerchief   
2010-07-11 10:30   
Reminder sent to: Baughn

Hey Baughn, not sure what you want to do with this one.
(0009968)
Baughn   
2010-07-11 16:13   
DF does not use QuickDraw.. It uses SDL, which uses quckdraw.

There's nothing I can do, really, but a future SDL version might fix this.
(0009972)
Footkerchief   
2010-07-11 16:45   
Thanks for your input. Sounds like, for our purposes, it's not fixable.
(0030990)
lethosor   
2014-11-14 14:01   
Reopening per 0006108
(0033000)
lethosor   
2015-08-25 19:46   
This issue is not present in SDL 1.2.15 (which can replace the SDL version DF uses without recompiling DF).

(0033110)
lethosor   
2015-10-14 13:01   
(edited on: 2015-10-18 10:46)
Quickdraw seems to have been removed entirely in OS X 10.11, which causes DF to hang or crash on startup with print modes like 2D (the default). crowder reports that updating to SDL 1.2.15 fixes this.

Instructions: Download SDL 1.2.15+ from https://www.libsdl.org/download-1.2.php [^] (direct link: https://www.libsdl.org/release/SDL-1.2.15.dmg [^]), and replace <DF>/libs/SDL.framework with the downloaded version of SDL.framework.

(0033120)
Zapperier   
2015-10-18 17:31   
Replacing SDL.framework with version 1.2.15 as well as SDL_ttf.framework with version 2.0.11 in the /libs folder did indeed resolve the problem on OS X 10.11.
(0034490)
tabacco   
2016-01-20 10:25   
I can confirm that updating the bundled SDL.framework to 1.2.15 fixes a startup crash in OS X 10.11.3
(0034610)
fraveydank   
2016-02-06 05:53   
I can promise you that Quickdraw has not been removed entirely in 10.11. I am working on a port of a vintage Mac game that relies heavily on a lot of Quickdraw features through Carbon and it still works reasonably well. NSQuickdrawView, however, may have been removed (or may have broken) since Apple is trying to convince people to get away from Quickdraw (which my porting project will as soon as something is stable enough for an initial release).

I can confirm that just replacing SDL.framework does work; no need to replace SDL_ttf.framework.

I should note that it still grumbles about Carbon Component Manager usage for the Audio units, which may lead to the same issue further down the road.
(0034611)
lethosor   
2016-02-06 08:16   
Replacing SDL_ttf is necessary for 0007389, which isn't an issue if you've installed XQuartz (or freetype).
(0035525)
lethosor   
2016-06-29 18:24   
(edited on: 2016-09-30 11:44)
May be fixed in 0.43.05, since Toady reports that he is using SDL 1.2.15 now.
Edit: Just in the 64-bit version, it seems.