| Is Gecko SDK 2.0 and above supported when building swt-xulrunner.dll [message #980941] |
Sun, 11 November 2012 22:32  |
Andy Huang 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: Sun, 11 November 2012 22: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 10:20  |
Grant Gayed Messages: 2132 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
>
|
|
|
Powered by
FUDForum. Page generated in 0.09813 seconds