You should also make sur that you're doing the same kind of build (i.e. debug vs. release) on both the command-line and in Xcode.
Mihai On Tue, Jan 25, 2011 at 12:18 AM, Won J Jeon <[email protected]> wrote: > Thanks for your response. However, even though I changed the build > directory to WebKit/WebKitBuild and added a custom executable > (/Application/Safari.app), the same error occurred. BTW, I'm using XCode > 3.2.5 on OS X 10.6.6. > > Won > > > On Mon, Jan 24, 2011 at 11:38 PM, Ryosuke Niwa <[email protected]> wrote: > >> Go to Project setting and set the build directory to be <Project >> root>/WebKitBuild. By default, it's at Source/WebCore/build and it won't >> just work. >> >> - Ryosuke >> >> On Mon, Jan 24, 2011 at 11:12 PM, Won J Jeon <[email protected]> wrote: >> >>> Thanks for your response. >>> I have no problem to build WebKit from terminal by using 'build-webkit' >>> script. >>> When I open the project file, 'WebCore.xcodeproj' and tried to compile it >>> by using the default settings, I have the endless error messages starting >>> with: >>> >>> JavaScriptCore/Platform.h: No such file or directory >>> "PLATFORM" is not defined >>> Missing binary operator before token "(" >>> "OS" is not defined >>> Missing binary operator before token ")" >>> "PLATFORM" is not defined >>> Missing binary operator before token "(" >>> ... >>> >>> and it hangs. I have no problem to build 'JavaScriptCore.xcodeproj' with >>> XCode though. Any suggestions? >>> >>> Thanks, >>> Won >>> >>> >>> On Mon, Jan 24, 2011 at 10:00 PM, Patrick Gansterer >>> <[email protected]>wrote: >>> >>>> Please have a look at [1] and [2]. You need to run build-webkit first. >>>> BTW: If provide error messages instead of "fails to compile" only, it's >>>> easier for other people to help you. >>>> >>>> [1] http://webkit.org/building/build.html >>>> [2] http://webkit.org/building/debug.html >>>> >>>> - Patrick >>>> >>>> Won J Jeon: >>>> >>>> Thanks, Eric. I opened WebCore.xcodeproj file with XCode but it fails to >>>> compile the code and it hangs without success, whereas >>>> JavaScriptCore.xcodeproj doesn't have any problem to be compiled with >>>> XCode. >>>> Are there any known issues with XCode? >>>> >>>> Won >>>> >>>> On Mon, Jan 24, 2011 at 1:53 PM, Eric Seidel <[email protected]> wrote: >>>> >>>>> There is not a gyp-like build system for Apple's Mac build (yet). >>>>> >>>>> You generally need to use XCode to edit the WebCore.xcodeproj file. >>>>> But if you're trying to build on a Mac you need XCode installed >>>>> anyway. >>>>> >>>>> .pri and .pro are not related to the Apple Mac build. >>>>> >>>>> -eric >>>>> >>>>> On Mon, Jan 24, 2011 at 1:03 PM, Won J Jeon <[email protected]> wrote: >>>>> > Hi all, >>>>> > I'd like to test some code by adding a new idl and its implementation >>>>> to >>>>> > WebCore on Mac. >>>>> > How can I let the build system know the addition of such files? >>>>> > Is there any gyp-like build system on Mac? >>>>> > Can anyone explain what *.pri and *.pro files are and how I can use >>>>> them? >>>>> > Regards, >>>>> > Won >>>>> > _______________________________________________ >>>>> > webkit-dev mailing list >>>>> > [email protected] >>>>> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev >>>>> > >>>>> > >>>>> >>>> >>>> _______________________________________________ >>>> webkit-dev mailing list >>>> [email protected] >>>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev >>>> >>>> >>>> >>> >>> _______________________________________________ >>> webkit-dev mailing list >>> [email protected] >>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev >>> >>> >> > > _______________________________________________ > webkit-dev mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev > >
_______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

