[email protected] schrieb: >> ----Message d'origine---- >> De: [email protected] >> Date: 2009.07.24 11:19 >> À: <[email protected]> >> Copie: "GNUstep general"<[email protected]> >> Objet: Re: CGFloat error when compiling GNUstep gui >> >> [email protected] schrieb: >>> Having a problem compiling NSAffineTransform.m which is throwing an error >>> message after latest svn update >>> >>> Anyone been able to resolve this? >>> >>> I tried make distclean; make but still no go >>> >>> it gives a message that a closing parenthesis is needed before CGFloat >>> (line 100, 101 ...) >>> >>> It appears everywhere CGFloat was used for latest Mac OSX update. >> You did not specify where you are getting this problem, if it is while >> compiling gui you should have a look at bug report #27030. There I try >> to explain why you may get this error when you still have an old version >> of base installed and try to compile a new gui. >> > Thanks for responding Fred. > > I looked at your referenced bug report and tried again... > as my user: > cd /home/gerold/dev/gnustep/modules/make > make distclean > . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh > ./configure --with-installation-domain=SYSTEM > make > > then as root: > make install > > I repeated this for base and gui. > Compiling file NSAffineTransform.m ... > In file included from NSAffineTransform.m:41: > ../Headers/AppKit/NSBezierPath.h:100: error: expected ‘)’ before ‘CGFloat’ > ../Headers/AppKit/NSBezierPath.h:101: error: expected ‘)’ before ‘CGFloat’ > ../Headers/AppKit/NSBezierPath.h:229: error: expected ‘)’ before ‘CGFloat’ > ../Headers/AppKit/NSBezierPath.h:230: error: expected ‘)’ before ‘CGFloat’ > make[3]: *** [obj/NSAffineTransform.m.o] Error 1 > make[2]: *** [internal-library-all_] Error 2 > make[1]: *** [libgnustep-gui.all.library.variables] Error 2 > make: *** [internal-all] Error 2 > > Any suggestions welcome.
I still think you have an old version of GNUstep installed and gui is using this while compiling. Could you please check at both locations (normally /usr/GNUstep/System/Library/Libraries and below your home directory) whether there is an old GNUstep installation that interferes with the new? You will have to deinstall that first. All of this is a result of the new installation domain concept and others may be better able to explain that to you. I don't understand it myself. Fred _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
