Hi Frank,

The compiler is unhappy with the SOCKET definition, most likely because the Windows networking header is not getting included. You could try including <winsock2.h> in the curl.h header before this line just to see if that gets you any further.

I don't see this issue, and I don't believe Mital does either. So perhaps there is something different in our build environments.

I will attempt a build today using current sources in case something has changed recently (i.e., since Thursday) that is complicating matters.

Thanks,

-Brent




On Mar 16, 2009, at 2:08 AM, Frank Thomsen wrote:

It still doesn’t work, unfortunately. I even tried the following, out of desperation:
·         Deleted all code, and checked it out with svn again.
·         Ran ./update-webkit
·         Donwloaded the requirements zip package from 
http://trac.webkit.org/wiki/BuildingCairoOnWindows
·         Patched the code using patch #26992

The problems are the same. Something weird is wrong – the compiler complains about “missing ‘;’ before indentifier curl_socket_t” in the following line:
typedef SOCKET curl_socket_t;


From: Mital Vora [mailto:mital.d.v...@gmail.com]
Sent: 13. marts 2009 16:58
To: Frank Thomsen
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] Cairo-build on Windows fails

try cleaning the solution and building it again.. remove the WebKitBuild directory completely.


Regeards,

Mital Vora.


On Fri, Mar 13, 2009 at 6:00 PM, Frank Thomsen <f...@trifork.com> wrote: I applied the patch (#26992) and the error is still there, unfortunately. The next error in the list is:



error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\cygwin\home\fth\webkit\requirements \include\curl\curl.h 183



I hope you know what causes this problem.



Regards

Frank



From: Mital Vora [mailto:mital.d.v...@gmail.com]
Sent: 13. marts 2009 12:55
To: Frank Thomsen
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] Cairo-build on Windows fails



cairo build is not fully checked in to the ToT
u need to apply the latest patch attached in the following bug...

https://bugs.webkit.org/show_bug.cgi?id=17484


Regeards,

Mital Vora.

On Fri, Mar 13, 2009 at 5:04 PM, Frank Thomsen <f...@trifork.com> wrote:

Hi



I am trying to build the Cairo port on a windows machine (building in Visual Studio) but it fails with the following error message (amongst others):



error C2146: syntax error : missing ';' before identifier 'curl_socket_t' C:\cygwin\home\fth\webkit\requirements \include\curl\curl.h 183



I have checked out the source and done all the other stuff mentioned at webkit.org. Furthermore I followed the guidelines athttp://trac.webkit.org/wiki/BuildingCairoOnWindows using the bundled version of the required libraries. Visual Studio is set up to have the following extra include libraries (from the requirements-package):

<somewhere>\requirements\include\cairo\

<somewhere>\requirements\include\



And the directory <somewhere> \requirements\lib\ is added to the library directories.



Can anyone see what my problem is? I am building using the “Release_Cairo” build target.



Regards, and thanks in advance

Frank


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




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

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

Reply via email to