Emuforums.com

Go Back   Emuforums.com > Handheld Emulation > Visualboy Advance Discussion
About Us Register FAQ Members List Calendar Mark Forums Read

Login to remove all ads!
Reply
 
LinkBack Thread Tools Display Modes
Old March 3rd, 2007   #1 (permalink)
Emulation Advanced
 
nullplan's Avatar
 
Join Date: Feb 2006
Location: Somewhere out there
Posts: 1
[Linux] Can't compile gtk version

Hi all!
I have a problem compiling the gtk version of vba. Thing is, I don't know, if it is a vba problem or one of the headers. No matter what, how to fix the problem?

I configured vba like this:
Code:
./configure --enable-gtk=2.0 --with-x --with-gnu-ld --without-dev
Then it took some time to compile (~40 min). I used a little tweak, but I got the same problem without it: Whoever wrote that Makefile didn't care about compile times, so src/GBA.cpp is to be compiled twice. Why that? At the beginning of the second compile of that file, I interrupted with C-c and issued:
Code:
cp src/sdl/GBA.o src/gtk/libgba_a-GBA.o
and then redid a make. That ended with:
Code:
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ZUTIL_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1  -I. -I.  -DPKGDATADIR=\"/usr/local/share/VisualBoyAdvance\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGETTEXT_PACKAGE=\"vba-1.7.2\" -DGTKMM20  -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/opt/gnome/include/gtkmm-2.0 -I/opt/gnome/lib/gtkmm-2.0/include -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/sigc++-1.2/include -I/opt/gnome/include/sigc++-1.2 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/libglademm-2.4 -I/opt/gnome/lib/libglademm-2.4/include -I/opt/gnome/include/gtkmm-2.4 -I/opt/gnome/lib/gtkmm-2.4/include -I/opt/gnome/include/libglade-2.0 -I/opt/gnome/include/glibmm-2.4 -I/opt/gnome/lib/glibmm-2.4/include -I/opt/gnome/include/gdkmm-2.4 -I/opt/gnome/lib/gdkmm-2.4/include -I/opt/gnome/include/pangomm-1.4 -I/opt/gnome/include/atkmm-1.6 -I/opt/gnome/include/sigc++-2.0 -I/opt/gnome/lib/sigc++-2.0/include   -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -DPROFILING -DMMX -DDEV_VERSION -MT gvba-joypadconfig.o -MD -MP -MF ".deps/gvba-joypadconfig.Tpo" \
          -c -o gvba-joypadconfig.o `test -f 'joypadconfig.cpp' || echo './'`joypadconfig.cpp; \
        then mv -f ".deps/gvba-joypadconfig.Tpo" ".deps/gvba-joypadconfig.Po"; \
        else rm -f ".deps/gvba-joypadconfig.Tpo"; exit 1; \
        fi
In file included from /opt/gnome/include/sigc++-1.2/sigc++/node.h:21,
                 from /opt/gnome/include/sigc++-1.2/sigc++/slot.h:28,
                 from /opt/gnome/include/sigc++-1.2/sigc++/sigc++.h:26,
                 from /opt/gnome/include/gtkmm-2.0/glibmm/dispatcher.h:24,
                 from /opt/gnome/include/gtkmm-2.0/glibmm.h:31,
                 from /opt/gnome/include/libglademm-2.4/libglademm/xml.h:7,
                 from /opt/gnome/include/libglademm-2.4/libglademm.h:29,
                 from joypadconfig.h:25,
                 from joypadconfig.cpp:19:
/opt/gnome/lib/sigc++-1.2/include/sigcconfig.h:40:1: warning: "PACKAGE" redefined
<command line>:1:1: warning: this is the location of the previous definition
/opt/gnome/lib/sigc++-1.2/include/sigcconfig.h:94:1: warning: "VERSION" redefined
<command line>:1:1: warning: this is the location of the previous definition
/opt/gnome/include/libglademm-2.4/libglademm/xml.h:297: error: expected ‘,’ or ‘...’ before ‘::’ token
/opt/gnome/include/libglademm-2.4/libglademm/xml.h:297: error: ISO C++ forbids declaration of ‘sigc’ with no type
make[3]: *** [gvba-joypadconfig.o] Fehler 1
How to help it?
TIA,
nullplan
__________________
To err is human, to forgive divine.
nullplan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 13:41.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5