1
所以我試圖在我的Mac OS X 10.10上安裝FLTK。我按照README.OSX.txt文件,但是當我真正在安裝它使命令,我收到以下錯誤和警告:在Mac OS X上安裝FLTK 1.3.3時出錯10.10
Fl_cocoa.mm:4080:5: error: unknown type name 'NSOperatingSystemVersion'
NSOperatingSystemVersion version = [[NSProcessInfo processInfo] operatingSystemVersion];
^
Fl_cocoa.mm:4080:69: warning: instance method '-operatingSystemVersion' not found (return type defaults to 'id') [-Wobjc-method-access]
NSOperatingSystemVersion version = [[NSProcessInfo processInfo] operatingSystemVersion];
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:20:12: note:
receiver is instance of class declared here
@interface NSProcessInfo : NSObject {
沒有人有任何的想法是什麼原因造成這個錯誤或者我可以做什麼來解決它?謝謝!
你能解決嗎? – ChatCloud 2015-09-30 14:24:19