Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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] Mon, 12 November 2012 03:32 Go to next message
Andy Huang is currently offline Andy HuangFriend
Messages: 3
Registered: November 2012
Junior Member
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: Mon, 12 November 2012 03:33]

Report message to a 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 15:20 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
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: Thu Apr 18 00:46:40 GMT 2024

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

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

Back to the top