Jump to content
21 posts in this topic

Recommended Posts

Hi,

 

Download 'eclipse-SDK-3.1.1-macosx-carbon.tar.gz', and excute the attached shell script. It will extract eclipse under current folder and patch the swt jar with x86 version.

 

Then click the 'eclipse' icon will bring it up.

 

 

I'm getting compile errors.

 

cc -c -DSWT_VERSION=3139 -DCARBON -I /System/Library/Frameworks/JavaVM.framework/Headers swt.c

In file included from swt.c:12:

swt.h:23:17: jni.h: No such file or directory

In file included from swt.c:12:

swt.h:64: error: parse error before '*' token

swt.c:23: error: parse error before '*' token

swt.c: In function `throwOutOfMemory':

swt.c:24: error: `jclass' undeclared (first use in this function)

swt.c:24: error: (Each undeclared identifier is reported only once

swt.c:24: error: for each function it appears in.)

swt.c:24: error: parse error before "clazz"

swt.c:25: error: `clazz' undeclared (first use in this function)

swt.c:25: error: `NULL' undeclared (first use in this function)

swt.c:26: error: `env' undeclared (first use in this function)

make: *** [swt.o] Error 1

libswt-carbon-3139.jnilib : no such file or directory

libswt-pi-carbon-3139.jnilib : no such file or directory

libswt-webkit-carbon-3139.jnilib : no such file or directory

 

I'm assuming it's missing the jvm and Carbon includes. I pointed the makefile to the correct jvm include dir and downloaded Carbon SDK 1.6, but I couldn't get that to build either. What are the dependencies to get this to compile?

 

Thanks!

-nick

  • 1 month later...

I have a problem running the application. The patch script runs without errors (other than a whole bunch of "xyxyx is depreciated" messages), but when I launch eclipse it errors shortly after displaying the splash screen. I have attached the error log file, it seems I'm still having problems with the SWT loading. Any help would be appreciated

eclipse.txt

  • 1 month later...

this doesn't work for me, I get the following error:

./patch_swt.txt.sh: line 8: make: command not found

libswt-carbon-3139.jnilib : no such file or directory

libswt-pi-carbon-3139.jnilib : no such file or directory

libswt-webkit-carbon-3139.jnilib : no such file or directory

 

Does that mean I need to download make or a compiler or something?

  • 3 weeks later...

Heya... maybe I'm missing something (I'm shure that I do). :blink:

 

I start tonight with 10.4.3 and JaS patches. Most topics say that this version has no Java-Support. So to get Eclipse to work, I have to change to another - newer - OS X version?

 

I really need Eclipse (and, of course, Tomcat) and at the moment I plan to setup a dual boot and have to use Windows only for developing... Switching complete to Mac OS would be nice!

 

 

Regards,

Dripple

I am using Eclipse 3.1 with CDT very frequently and it is working stable!

Also I am on 10.4.5 but it has JAVA-Support!

Thanx for your fast reply. I think i have to install Mac OS X first to look any further. Maybe 10.4.3 (because it's an developer release) is still shipped with a proper VM.

 

I have no idea about Tomcat!

If I can get Eclipse running, I do not worry about Tomcat. It's a pure Java-based server.

 

Has someone tried MySQL? That would be perfect to me, so I'm maybe able to switch completely to Mac OS X! And, just dreaming, a working CVS-server and I'll learn to fly! :whistle:

So, here we go. MacOS is running and rock solid. Unbelievable! Now I try Eclipse. That would be really nice. If everythings works fine, I'll try to switch over completly to Mac OS in the end of the month.

 

Go to the actual eclipse site. The newest 3.2 nightly is built universal.

 

Hmmm... The website states the download as PPC only, but it doesn't refer to the nightly build.

Any comments? Where to get the universal build?

 

dripple

  • 3 weeks later...

Thanks a million!

 

Tough the .sh not working for initially, I understood the principle from it and then applied the newly 'make'-ed version of jnilib's. So now my eclipse and azureus both working like a charm~~~;)

 

But only after this, I know I need to look for universal versions which are both available:D

 

Thanks anyway~ I'm gonna mainly work on my Mactel (Dell Dimension 5150) in future... Since Iv got both of these up and running~

×
×
  • Create New...