Results 1 to 3 of 3
  1. #1
    EmuTalk Member
    Join Date
    May 2004
    Posts
    22

    How to compile mupen64 against gtk2?

    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.



    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    EmuTalk Member blight's Avatar
    Join Date
    Feb 2002
    Location
    Austria
    Posts
    360
    this questions had been asked more than one time already, use the search functionality provided by the forum to find the information you want.
    <A HREF="http://petition.eurolinux.org"><img src="http://aful.org/images/patent_banner.gif" border="0"></A>

  3. #3
    EmuTalk Member
    Join Date
    May 2004
    Posts
    22
    I have not found exact howto, but I have that plugins would have to be ported to work.

Similar Threads

  1. GTK2 Patch
    By mojo in forum Mupen64
    Replies: 7
    Last Post: March 22nd, 2005, 12:46
  2. Mupen64 0.4 for Windows and Linux
    By vampireuk in forum Emulation64.com News
    Replies: 0
    Last Post: July 5th, 2004, 22:27
  3. GTK2 Mupen64 0.2 Project (ver 0.1)
    By mojo in forum Mupen64
    Replies: 13
    Last Post: August 14th, 2003, 15:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •