Hi,
I am trying to recompile root after I upgraded the operating system to OSX Yosemite,
I have reinstalled XCode and other applications.
I get an error message says
/Users/alhroob/ROOT/graf2d/cocoa/src/ROOTApplicationDelegate.mm:10:28: error: cannot initialize a parameter of type ‘id’ with an lvalue of type ‘ROOTApplicationDelegate *’
[NSApp setDelegate : self];
^~~~
/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:109:47: note: passing argument to parameter ‘delegate’ here @property (assign) id delegate NS_AVAILABLE(10_5, 2_0);
Resinstall the command like tools: xcode-select --install
and of course recompile all ROOT (make distclean).[/quote]
The same problem happened to my Yosemite.
I followed the steps and still got the error message mentioned by @mhoroub.
/opt/local/root/graf2d/cocoa/src/ROOTApplicationDelegate.mm:10:28: error: cannot initialize a parameter of type
’id’ with an lvalue of type ‘ROOTApplicationDelegate *’
[NSApp setDelegate : self];
^~~~
/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:109:47: note: passing argument to parameter 'delegate’
here @property (assign) id delegate NS_AVAILABLE(10_5, 2_0);
^
1 error generated.
make: *** [graf2d/cocoa/src/ROOTApplicationDelegate.o] Error 1
make: *** Waiting for unfinished jobs…