PDA

View Full Version : How to compile mupen64 against gtk2?



Belegdol
May 1st, 2005, 09:43
Hi. I've defined _GTK2 in main/gui_gtk/main_gtk.c, but when compiling I get the following error:

gcc -DX86 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -march=pentium4 -Wall -pipe -c -o main/gui_gtk/main_gtk.o main/gui_gtk/main_gtk.c `gtk-config --cflags`
main/gui_gtk/main_gtk.c: In function `create_toolBar':
main/gui_gtk/main_gtk.c:1464: error: too few arguments to function `gtk_toolbar_new'
main/gui_gtk/main_gtk.c:1465: warning: passing arg 1 of `gtk_toolbar_set_orientation' from incompatible pointer type
main/gui_gtk/main_gtk.c:1466: warning: passing arg 1 of `gtk_toolbar_set_style'from incompatible pointer type
main/gui_gtk/main_gtk.c:1467: warning: passing arg 1 of `gtk_toolbar_set_tooltips' from incompatible pointer type
make: *** [main/gui_gtk/main_gtk.o] Error 1
[jsikorski@DOMOWY emu64]$
What is wrong? And can the plugins be easily forced to use gtk2? Greets.

blight
May 1st, 2005, 12:36
this questions had been asked more than one time already, use the search functionality provided by the forum to find the information you want.

Belegdol
May 1st, 2005, 13:44
I have not found exact howto, but I have that plugins would have to be ported to work.