Trying to compile Snex9x on Linux with GDK support

This is for people involved in the developement of Snes9x, or SNES emulators in general.
BUG REPORTS BELONG IN TECH SUPPORT/BUG TRACKING!
Post Reply
GameCodingNinja
Snes9x White Belt
Posts: 2
Joined: Sun Mar 06, 2016 7:01 pm

Trying to compile Snex9x on Linux with GDK support

Post by GameCodingNinja » Sun Mar 06, 2016 7:12 pm

I assume I need the GDK support to have the GUI interface. It builds fine but I only get the command line interface. I can play a ROM from the command line but I would like the GUI interface to configure a wireless XBox 360 controller. Plus there's other neat features the GUI interface provides.

tried...
./configure
./configure --with-gdk
./configure --with-gdk3

The readme_unix.html doesn't provide any build instructions so I have no idea if there's something I need to do that I'm not doing.

Here's the output from the last ./configure --with-gdk. It doesn't indicate that I'm missing anything so I'm a bit confused. Any help would be appreciated.

Code: Select all

./configure --with-gtk
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -O3... yes
checking whether g++ accepts -fomit-frame-pointer... yes
checking whether g++ accepts -fno-exceptions... yes
checking whether g++ accepts -fno-rtti... yes
checking whether g++ accepts -pedantic... yes
checking whether g++ accepts -Wall... yes
checking whether g++ accepts -W... yes
checking whether g++ accepts -Wno-unused-parameter... yes
checking whether the OS is Linux... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_init_io in -lpng... yes
checking for mkstemp... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking whether right shift int8 is arithmetic... yes
checking whether right shift int16 is arithmetic... yes
checking whether right shift int32 is arithmetic... yes
checking whether right shift int64 is arithmetic... yes
checking whether sound is supported on this platform... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes

build information:
cc...............,,,. gcc
c++.................. g++
options.............. -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter 
defines.............. -DJOYSTICK_SUPPORT -DZLIB -DUNZIP_SUPPORT -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS
libs................. -lz -lpng -lSM -lICE -lX11 -lXext -lpthread

features:
sound support........ yes
screenshot support... yes
netplay support...... no
gamepad support...... yes
GZIP support......... yes
ZIP support.......... yes
JMA support.......... yes
debugger............. no

configure: creating ./config.status
config.status: creating Makefile

GameCodingNinja
Snes9x White Belt
Posts: 2
Joined: Sun Mar 06, 2016 7:01 pm

Re: Trying to compile Snex9x on Linux with GDK support

Post by GameCodingNinja » Mon Mar 07, 2016 12:15 am

never mind. I was compiling the Unix build by mistake. Didn't see the GTK build option. Everything builds and works correctly. Thanks for the amazing snes emulator!

Post Reply