[webkit-dev] Help needed. WebKit with Windows XP

Jaganathan.Satagopan at nokia.com Jaganathan.Satagopan at nokia.com
Tue Feb 19 16:10:00 PST 2008


Hi Matt
   Thanks for quickly pointing out the  issue. I have not even compiled
those projects. I looked at the Makefile at the root and it lists the
following modules MODULES = JavaScriptCore JavaScriptGlue WebCore WebKit
WebKitTools 
 
I don't see a *.sln file in some of the modules. If I follow the above
module order and compile the solution file wherever it exists, will it
be OK?
 
I looked around for  any document that will tell me  the order in which
all the solution files need to be compiled. If one exists, Can you
please point me to that?
 
While compiling the JavaSciptCore, I get  some errors now. Thanks to
your suggestion,  I at least  know the issues that I need to resolve
now. Thanks again to you & Brent for the help/hints.
 
Thanks
Jagan S
 


________________________________

From: ext Matt Lilek [mailto:webkit at mattlilek.com] 
Sent: Tuesday, February 19, 2008 2:50 PM
To: Satagopan Jaganathan (Nokia-S&S/MtView)
Cc: bfulgham at gmail.com; webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] Help needed. WebKit with Windows XP


There are several projects built before QTMovieWin and one of those is
failing. Look at the build logs for the WTF and JavaScriptCore projects
as your error indicates that JavaScriptCore isn't building properly.

 
Your WebCore error will likely go away once the projects before it are
actually built.

 
Also, as Brent alluded to earlier, you may need to remove your
WebKitBuild folder and start from scratch if the errors stem from
generated files.

 
- Matt

 
On 2/19/08, Jaganathan.Satagopan at nokia.com
<Jaganathan.Satagopan at nokia.com> wrote: 

	Hi Brent
	 
	   I appreciate your help. I installed cygwin tools fresh on
this machine as specified on step #3 of windows section
http://webkit.org/building/tools.html
<http://webkit.org/building/tools.html> .  Is Apple installer different
from this one? 
	 
	I  am looking at the errors in my VStudio output window and I
don't see any errors like missing Platform.h file. Here is the complete
the output for QTMovieWin project where I get this include file
directive error 

	

	------ Rebuild All started: Project: QTMovieWin, Configuration:
Debug Win32 ------

	Deleting intermediate and output files for project 'QTMovieWin',
configuration 'Debug|Win32'

	Performing Pre-Build Event...

	Compiling...

	QTMovieWin.cpp

	
c:\cygwin\home\satagopa\WebKit\WebCore\ForwardingHeaders\wtf/Platform.h(
1) : fatal error C1083: Cannot open include file:
'JavaScriptCore/Platform.h': No such file or directory

	QTMovieWinTimer.cpp

	
c:\cygwin\home\satagopa\WebKit\WebCore\ForwardingHeaders\wtf/Platform.h(
1) : fatal error C1083: Cannot open include file:
'JavaScriptCore/Platform.h': No such file or directory

	Generating Code...

	Project : warning PRJ0018 : The following environment variables
were not found:

	$(PRODUCTION)

	Build log was saved at
"file://C:\cygwin\home\satagopa\WebKit\obj\QTMovieWin\Debug\BuildLog.htm
"

	QTMovieWin - 2 error(s), 0 warning(s)

	Incidentally WebCoreGenerated project is getting compiled
without any errors & warning. There were lot of message on output window
and I am removing them as there is no issue with this project build. It
is tough to understand how this project build is working fine without
any issue.

	------ Rebuild All started: Project: WebCoreGenerated,
Configuration: Release Win32 ------

	WebCoreGenerated - 0 error(s), 0 warning(s)

	Then I see just one error on the output window for WebCore
Project where it is reporting a missing tmp.cpp file. Here is the
complete message from output window ( without any editing) for this
project build
	------ Rebuild All started: Project: WebCore, Configuration:
Debug Win32 ------

	Deleting intermediate and output files for project 'WebCore',
configuration 'Debug|Win32'

	Performing Pre-Build Event...

	'touch' is not recognized as an internal or external command,

	operable program or batch file.

	cl : Command line warning D9040 : ignoring option '/analyze';
Code Analysis warnings are not available in this edition of the compiler

	tmp.cpp

	c1xx : fatal error C1083: Cannot open source file:
'C:\cygwin\home\satagopa\WebKit\tmp.cpp': No such file or directory

	Project : warning PRJ0018 : The following environment variables
were not found:

	$(PRODUCTION)

	$(AnalyzeWithLargeStack)

	Build log was saved at
"file://C:\cygwin\home\satagopa\WebKit\obj\WebCore\Debug\BuildLog.htm"

	WebCore - 1 error(s), 1 warning(s)

	========== Rebuild All: 1 succeeded, 2 failed, 0 skipped
==========

	If you feel that my issue will be really due to incompatible
cygwin, I will go by your advise to install it using Apple Installer and
try it out again. Can you please point me to the right place for Apple
Installer?

	Thanks

	Jagan S

	
	 
________________________________

	From: webkit-dev-bounces at lists.webkit.org
[mailto:webkit-dev-bounces at lists.webkit.org] On Behalf Of ext Brent
Fulgham
	Sent: Tuesday, February 19, 2008 1:08 PM
	To: Webkit Development List 
	
	Subject: Re: [webkit-dev] Help needed. WebKit with Windows XP
	

	 
	
	Forgot to CC the list for future archive searches...
	
	
	On Feb 19, 2008 1:07 PM, Brent Fulgham <bfulgham at gmail.com>
wrote:
	

		Hi Jagan,
		
		You probably encountered an earlier build error.  If
things fail early-on in the build, you will get complaints about missing
Platform.h and so forth.
		
		Make sure you have the Cygwin tools installed based on
the Apple installer.  If you start from an existing Cygwin installation,
you may be missing important tools (like gperf) that are needed to
build.
		
		Also make sure you have done the full "update-webkit" to
download the Apple libraries and headers you will need to perform the
build.
		
		-Brent
		
		
		On Feb 19, 2008 12:50 PM,
<Jaganathan.Satagopan at nokia.com> wrote:
		 

			I was trying to build the  Webkit by following
the instruction on
http://trac.webkit.org/projects/webkit/wiki/BuildingOnWindows. I got the
following two errors and one warning. Should I  be looking into correct
include directive for the first error? I have no clue for the second
error. I appreciate your help

			1) QTMovieWinTimer.cpp

	
c:\cygwin\home\satagopa\WebKit\WebCore\ForwardingHeaders\wtf/Platform.h(
1) : fatal error C1083: Cannot open include file:
'JavaScriptCore/Platform.h': No such file or directory

			Generating Code...

			2)  c1xx : fatal error C1083: Cannot open source
file: 'C:\cygwin\home\satagopa\WebKit\tmp.cpp': No such file or
directory

			3)  Project : warning PRJ0018 : The following
environment variables were not found:

			    $(PRODUCTION)

			Thanks
			Jagan 
			 
________________________________

			From: webkit-dev-bounces at lists.webkit.org
[mailto:webkit-dev-bounces at lists.webkit.org] On Behalf Of ext Brent
Fulgham
			Sent: Tuesday, February 19, 2008 9:09 AM
			To: Ivan Shusky
			Cc: WebKit Development 

			Subject: Re: [webkit-dev] Help needed. WebKit
with Windows XP
			 

			 
			Hi Ivan,
			
			Did you remember to set the environment
variables as shown in "Building from Within Visual Studio"?  You need to
go to "Control Panel\System" settings, select the "Advanced" tab, and
use the "Environment" button to set these values.
			
			If they are not set, VS can't find the stuff in
the tools directory.
			
			-Brent
			
			
			On Feb 18, 2008 11:54 PM, Ivan Shusky
<ijshusky at hotmail.com> wrote:
			

				I keep getting this error when trying to
open any VC project file, am I missing something?
				
				Property sheet file
'$(WebKitLibrariesDir)\tools\vsprops\common.vsprops' was not found or
failed to load.

				Best,
				Ivan
				 

________________________________

				CC: webkit-dev at lists.webkit.org
				From: bfulgham at gmail.com
				To: ijshusky at hotmail.com
				Subject: Re: [webkit-dev] Help needed.
WebKit with Windows XP
				 
				Date: Mon, 18 Feb 2008 21:38:33 -0800 



				 
				If you've got things set up to build the
stock WebKit, you might first want to see if you can get the WinLauncher
to work.  If so, you can feel a bit safer taking the next step.

				 
				To build with Cairo, you need additional
libraries (see
http://trac.webkit.org/projects/webkit/wiki/BuildingCairoOnWindows for
some details).

				 
				You will need to place the libraries
someplace (e.g., c:\build_requirements) and update the Visual Studio
build environment to look there.

				 
				I think I called my project file
"WebCore.vcproj.cairo"; obviously, you will want to rename this to just
"WebCore.vcproj" for the solution to find it.

				 
				Hope that helps,

				 
				-Brent

				 

				 

				On Feb 18, 2008, at 9:26 PM, Ivan Shusky
wrote:


				
				Hi Brent,
				 
				Again many thanx for your help.
				 
				Currently I am going through the blogs
and trying to figure out how to setup the environment. Its a bit
confusing to me.
				
				Hope it is not too much to ask for a
step by step guide to setup the environment for Win. Right now I have
the codes and compiled by using Cygwin. Where should I go next? I have
also downloaded those VS project files for both WebKit and WebCore but
they do not really work.
				
				Sorry I might sound like a
dummy..........
				 
				Best,
				Ivan

________________________________

				CC: webkit-dev at lists.webkit.org
				From: bfulgham at gmail.com
				To: ijshusky at hotmail.com
				Subject: Re: [webkit-dev] Help needed.
WebKit with Windows XP
				Date: Mon, 18 Feb 2008 21:18:05 -0800
				
				Note that there is nothing
Cairo-specific about WinLauncher; you can use it to run the
CoreGraphics-style WebKit as well.  This might be a good thing to try
first, to make sure your debugging environment is set up properly, etc. 

				 
				Let me know if you run into any
problems.  Note that you'll need to grab the changes on
http://bugs.webkit.org/show_bug.cgi?id=17300 to get project files that
build Cairo-style.

				 
				-Brent

				On Feb 18, 2008, at 8:18 PM, Ivan Shusky
wrote:


				
				Many thanx Brent for your help. Really
appreciate it!! :)
				 
				I will go through the planet webkit
blogs and try if I can start to get something started. Might come back
with more questions though.
				 
				Best,
				Ivan
				 

________________________________

				Date: Mon, 18 Feb 2008 13:25:27 -0800
				From: bfulgham at gmail.com
				To: ijshusky at hotmail.com
				Subject: Re: [webkit-dev] Help needed.
WebKit with Windows XP
				CC: webkit-dev at lists.webkit.org
				
				Ivan (and anyone else interested in
WebKit for Windows):
				
				I've added
http://bugs.webkit.org/show_bug.cgi?id=17428 to allow you to build the
WinLauncher application I use for testing.
				
				-Brent
				
				


________________________________

				Express yourself instantly with MSN
Messenger! MSN Messenger
<http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/> 


				 


________________________________

				Express yourself instantly with MSN
Messenger! MSN Messenger
<http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/> 


				 


________________________________

				Express yourself instantly with MSN
Messenger! MSN Messenger
<http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/> 


			 

			_______________________________________________
			webkit-dev mailing list 

			webkit-dev at lists.webkit.org
			 
	
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
			
			 




	_______________________________________________
	webkit-dev mailing list
	webkit-dev at lists.webkit.org
	http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
	
	


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20080219/3a93d8f2/attachment-0001.html 


More information about the webkit-dev mailing list