| [ Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]
STR #3141
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 1 - Specific to a machine/printer |
Subsystem: | Core Library |
Summary: | OSX 10.10 build failed |
Version: | 1.3.2 |
Created By: | scr34m |
Assigned To: | AlbrechtS |
Fix Version: | 1.3.3 |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | scr34m 11:37 Oct 19, 2014 |
| When building under OSX 10.10 Yosemite problem occures (see below), the fix attached please confirm.
Thanks
Build error:
Compiling Fl_cocoa.mm... Compiling Fl_Quartz_Printer.mm... Compiling Fl_Native_File_Chooser_MAC.mm... Compiling Fl.cxx... Compiling Fl_Adjuster.cxx... Fl_cocoa.mm:1325:24: error: cannot initialize a parameter of type 'id<NSFileManagerDelegate>' with an rvalue of type 'FLDelegate *' [NSApp setDelegate:[[FLDelegate alloc] init]]; ^~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/S DKs/MacOSX10.10.sdk/usr/include/objc/NSObject.h:60:1: note: instance method 'init' is assumed to return an instance of its receiver type ('FLDelegate *') - (instancetype)init; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/S DKs/MacOSX10.10.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFil eManager.h:109:47: note: passing argument to parameter 'delegate' here @property (assign) id <NSFileManagerDelegate> delegate NS_AVAILABLE(10_5, 2_0); ^ Fl_cocoa.mm:2234:21: error: cannot initialize a parameter of type 'id<NSWindowDelegate>' with an rvalue of type 'id<NSFileManagerDelegate>' [cw setDelegate:[NSApp delegate]]; ^~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/S DKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow. h:307:41: note: passing argument to parameter 'delegate' here @property (assign) id<NSWindowDelegate> delegate; ^ Compiling Fl_Bitmap.cxx... 2 errors generated. make[1]: *** [Fl_cocoa.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [install] Error 1 | |
|
#2 | AlbrechtS 06:13 Oct 30, 2014 |
| Is this still relevant with current svn ? | |
|
#3 | scr34m 06:43 Oct 30, 2014 |
| Tested with fltk-1.3.x-r10392 and built sucessfully. | |
|
#4 | AlbrechtS 07:22 Oct 30, 2014 |
| Fixed in Subversion repository.
Thanks for the quick confirmation.
Maybe Manolo can add the svn release this was fixed in? | |
|
#5 | AlbrechtS 03:51 Nov 21, 2014 |
| Fixed in Subversion repository. | |
[ Return to Bugs & Features ]
|
| |