What's new

How to compile mupen64 against gtk2?

Belegdol

New member
Hi. I've defined _GTK2 in main/gui_gtk/main_gtk.c, but when compiling I get the following error:
Code:
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

New member
this questions had been asked more than one time already, use the search functionality provided by the forum to find the information you want.
 
OP
B

Belegdol

New member
I have not found exact howto, but I have that plugins would have to be ported to work.
 

Top