Compiling errors

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);

The only things I had to do when going to Yosemite were:

  1. Reinstall Xquartz from: xquartz.macosforge.org/landing/

  2. Resinstall the command like tools: xcode-select --install

and of course recompile all ROOT (make distclean).

it works, thank you vey much

[quote=“couet”]The only things I had to do when going to Yosemite were:

  1. Reinstall Xquartz from: xquartz.macosforge.org/landing/

  2. 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…

Do you have any idea?

sorry for the disturbing!

The “latest” version works.
I installed version 6.02.00, and it past the
compiling.