|
|
|
Re: How do I build the 64 bit version of SWT GTK? [message #460360 is a reply to message #460316] |
Wed, 24 August 2005 12:09 |
stoil Messages: 46 Registered: July 2009 |
Member |
|
|
I've fixed .classpath problem. I had to copy .classpath_gtk to
..classpath. It is good idea to have this in howto.
Now this is the result:
[exec] gcc -shared -fpic -s `pkg-config --libs-only-L atk gtk+-2.0`
-latk-1.0 -lgtk-x11-2.0 -o libswt-atk-gtk-3202.so swt.o atk.o
atk_structs.o atk_custom.o atk_stats.o
[exec] gcc -O -Wall -DSWT_VERSION=3202 -DLINUX -DGTK
-I/usr/java/jdk1.5.0_04/include -I/usr/java/jdk1.5.0_04/include/linux
-fpic -DSWT_PTR_SIZE_64 `pkg-config --cflags gnome-vfs-module-2.0
libgnome-2.0 libgnomeui-2.0` -c gnome.c
[exec] In file included from
/opt/gnome/include/libgnome-2.0/libgnome/libgnome.h:29,
[exec] from gnome.h:23,
[exec] from gnome_structs.h:16,
[exec] from gnome.c:17:
[exec]
/opt/gnome/include/libgnome-2.0/libgnome/gnome-program.h:35: 18: popt.h:
No such file or directory
[exec] In file included from
/opt/gnome/include/libgnome-2.0/libgnome/libgnome.h:29,
[exec] from gnome.h:23,
[exec] from gnome_structs.h:16,
[exec] from gnome.c:17:
[exec]
/opt/gnome/include/libgnome-2.0/libgnome/gnome-program.h:195 : error:
syntax error before "gnome_program_preinit"
[exec]
/opt/gnome/include/libgnome-2.0/libgnome/gnome-program.h:198 : warning:
type defaults to `int' in declaration of `gnome_program_preinit'
[exec]
/opt/gnome/include/libgnome-2.0/libgnome/gnome-program.h:198 : warning:
data definition has no type or storage class
[exec] In file included from
/opt/gnome/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:55 ,
[exec] from gnome.h:25,
[exec] from gnome_structs.h:16,
[exec] from gnome.c:17:
[exec]
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-ui-init.h :50: error:
syntax error before "poptContext"
[exec] make: *** [gnome.o] Error 1
[exec] Result: 2
[copy] Copying 3 files to
/home/stoil/EclipseWorkspaces/EclipseEclipse/org.eclipse.swt .gtk.linux.x86_64
May be the problem is in my libs?
Best regards,
Stoil
Stoil wrote:
> Billy Biggs wrote:
>
>> exquisitus wrote:
>>
>>> And it doesn't work. org.eclipse.swt.gtk64 is not present, but
>>> someone nicely has put readme with new location. However I have this
>>> in output (in fact too much to post all but some of it):
>>
>>
>>
>> I'm sorry the FAQ is outdated, I'll fix that.
>>
>>> [exec] os.c:9560: warning: implicit declaration of function
>>> `gtk_tree_view_column_get_width'
>>> [exec] os.c:9560: error: `GtkTreeViewColumn' undeclared (first
>>> use in this function)
>>
>>
>>
>>
>> Do you have the GTK+ development package installed for your
>> distribution? I am confused about how you could have got this error.
>> Also, make sure you're compiling the right source code. You want to
>> compile the code that will be output in the
>> org.eclipse.swt.gtk.linux.x86_64 fragment after it has been converted
>> from the 32-bit sources.
>>
>> -Billy
>
>
> Sorry I hadn't got gtk dev pack. Also now I captured ouptut in file and
> saw this error in beginning:
>
> build.cfiles:
> [java] Could not find
> org.eclipse.swt.tools.internal.JNIGeneratorApp. Make sure you have it in
> your classpath
> [java] at
> org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJav a.java:170)
> [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
> [java] at
> org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178 )
>
>
> What should I do to fix this?
>
> Best regards,
> Stoil
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04251 seconds