Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Natives compile issue on Windows and Mac

Thanh,

Regarding the windows issue: it would be good to consult SWT commiters
to check what they are using. But the first thing to check is to try to
compile sources manually, according to
http://www.eclipse.org/swt/faq.php#howbuilddll.

Note that the compiler, just before it start its work, prints out:
     [exec] The system cannot find the path specified.
This may be a hint.

Please find the patch proposition for the macosx issue attached.

On Tue, 2012-07-17 at 18:54 -0400, Thanh Ha wrote:
> Hi Everyone,
> 
> I spent some time today setting up VC++ on Windows so that I could
> test compiling the natives build on Windows. I tried to compile the
> natives using Windows 64-bit -Dnative=win32.win32.x86_64 and am
> running into a build issue which I'm not positive if it's related to
> environment or not. 
> 
> I'm currently having issues building
> org.eclipse.swt.win32.win32.x86_64. Attached is a log for my current
> issue with building on Windows. I need some help determining what the
> issue is.
> 
> 
> I also installed a compiler on my macosx system today and tested
> compiling natives with -Dnative=cocoa.macosx.x86_64 and ran into
> compile issues related to xulrunner which I commented on Bug 381192
> [1]. It seems similar to the Linux xulrunner issue so I'm wondering if
> there is a similar workaround where we can disable xulrunner from the
> build?
> 
> 
> Thanh
> 
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=381192#c32
> _______________________________________________
> cbi-dev mailing list
> cbi-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cbi-dev

-- 
Krzysztof Daniel <kdaniel@xxxxxxxxxx>
Red Hat
>From c2c589a234dc0421273d81d37f58282760c2a500 Mon Sep 17 00:00:00 2001
From: Krzysztof Daniel <kdaniel@xxxxxxxxxx>
Date: Wed, 18 Jul 2012 14:25:04 +0200
Subject: [PATCH] disable xulrunner build for macosx

---
 bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/make_macosx.mak |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/make_macosx.mak b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/make_macosx.mak
index 9b65b36..9cff9a1 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/make_macosx.mak	
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/make_macosx.mak	
@@ -44,7 +44,7 @@ XULRUNNERCFLAGS = -c -Wall $(ARCHS) -DSWT_VERSION=$(SWT_VERSION) $(NATIVE_STATS)
 	-Wno-non-virtual-dtor -include ${XULRUNNER_SDK}/include/mozilla-config.h -I${XULRUNNER_SDK}/include
 XULRUNNERLFLAGS = $(LFLAGS)
 
-all: $(SWT_LIB) $(SWTPI_LIB) $(AWT_LIB) $(XULRUNNER_LIB)
+all: $(SWT_LIB) $(SWTPI_LIB) $(AWT_LIB)
 
 .c.o:
 	cc $(CFLAGS) $*.c
-- 
1.7.10.4


Back to the top