Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Is Gecko SDK 2.0 and above supported when building swt-xulrunner.dll
Is Gecko SDK 2.0 and above supported when building swt-xulrunner.dll [message #980941] Sun, 11 November 2012 22:32 Go to next message
Eclipse UserFriend
Hi,

I'm trying to build swt-xulrunner.dll with Gecko SDK 2.0 (or above). I get compilation errors while doing the build:

cl -c -O1 -DSWT_VERSION=4234 -MD -DMOZILLA_STRICT_API=1 -W3 -I.
-I"C:\Program Files\Java\jdk1.6.0_32/include" -I"C:\Program Files\Java\jdk1.6.0_32/include/win32" -I"C:\xulrunner-sdk\include\mozilla-config.h" -I"C:\xulrunner-sdk\include" xpcom.cpp

xpcom.cpp
xpcom.cpp(85) : error C2059: syntax error : ')'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.


I am able to build with Gecko SDK1.8.0.4 and 1.9.2,but not 2.0 and above.
Is Gecko SDK 2.0 and above supported when building swt-xulnner.dll?

Thanks,
Andy

[Updated on: Sun, 11 November 2012 22:33] by Moderator

Re: Is Gecko SDK 2.0 and above supported when building swt-xulnner.dll [message #981636 is a reply to message #980941] Mon, 12 November 2012 10:20 Go to previous message
Eclipse UserFriend
No, SWT's xulrunner library is compiled against a XULRunner 1.8.0.x SDK,
and no effort has been made to support compiling against newer SDKs.
Note that there is support for using XULRunner 10 at runtime, which is
possible because most of the native invocations are done via direct vtbl
calls rather than typical C/C++ symbol lookups.

Grant


On 11/11/2012 10:32 PM, Andy Huang wrote:
> Hi,
>
> I'm trying to build swt-xulrunner.dll with Gecko SDK 2.0 (or above). I
> get compilation errors while doing the build:
>
> cl -c -O1 -DSWT_VERSION=4234 -MD -DMOZILLA_STRICT_API=1 -W3
> -I.
> -I"C:\Program Files\Java\jdk1.6.0_32/include" -I"C:\Program
> Files\Java\jdk1.6.0_32/include/win32"
> -I"C:\xulrunner-sdk\include\mozilla-config.h"
> -I"C:\xulrunner-sdk\include" xpcom.cpp
>
> xpcom.cpp
> xpcom.cpp(85) : error C2059: syntax error : ')'
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
>
>
> I am able to build with Gecko SDK1.8.0.4 and
> 1.9.2,but not 2.0 and above.
> Is Gecko SDK 2.0 and above supported when building swt-xulnner.dll?
>
> Thanks,
> Andy
>
Previous Topic:Unable to Update/Install new softwaare after migrating to indigo from Galileo
Next Topic:Problem with Flash object in SWT Browser
Goto Forum:
  


Current Time: Wed Jul 23 15:41:20 EDT 2025

Powered by FUDForum. Page generated in 0.03916 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top