Page 1 of 1

Can't seem to compile FCEUX

Posted: Wed Jul 07, 2010 2:01 pm
by atari2600a
Hey. I hope someone here remembers me I guess...

I've been trying to compile FCEUX under Ubuntu. I grabbed every package the source said it required (except for libsdl1.2debian-esd, which shouldn't be required for simply compiling)

Here's my output:

Code: Select all

atari2600a@RiG:~/Desktop/fceu2.1.4a$ scons
scons: Reading SConscript files ...
platform:  posix
Checking for C library SDL... yes
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
OSError: 'pkg-config --cflags --libs gtk+-2.0' exited 1:
  File "/home/atari2600a/Desktop/fceu2.1.4a/SConstruct", line 61:
    env.ParseConfig('pkg-config --cflags --libs gtk+-2.0')
  File "/usr/lib/scons/SCons/Environment.py", line 1474:
    return function(self, self.backtick(command))
  File "/usr/lib/scons/SCons/Environment.py", line 593:
    raise OSError("'%s' exited %d" % (command, status))

Any ideas?

Edit: BTW, won't compile w/ libsdl2.0debian-esd install either

Posted: Wed Jul 07, 2010 3:41 pm
by lidnariq
That strongly implies you don't have libgtk2.0-dev installed. Or that your ubuntu's version of that package is broken.

Posted: Wed Jul 07, 2010 4:37 pm
by atari2600a
lidnariq wrote:That strongly implies you don't have libgtk2.0-dev installed. Or that your ubuntu's version of that package is broken.
Oh balls you're right...this is awkward...

Posted: Wed Jul 07, 2010 4:41 pm
by atari2600a
Compiling right nao...

if there's a FCEUX contributer reading this, I know libgtk2.0-dev is a given but you should document it as a dependency in INSTALL accordingly...

Posted: Wed Jul 07, 2010 5:04 pm
by atari2600a
There seems to be some sound clipping in Ninja Gaiden. Damn, what is it w/ this game? On my NES it HUMS REALLY LOUD, I'm assuming interference between the audio circuitry & the mapper or perhaps some RAM on the cart, & when I try to capture it on an emulator CLIPPING BAH FUCK!

EDIT: Nevermind, must be my pulseaudio server since it's clipping w/ Solstice as well...

Posted: Wed Jul 07, 2010 7:23 pm
by hyarion
I remember essial had some problems some time ago with pulsaudio + sdl on ubuntu (for some reason it takes 100% CPU for some applications). so if that's your case, you might want to try installing libsdl-alsa instead of the libsdl-pulsaudio package

about that humming nes of yours, do you use the original power adapter? and have you tried to unplug the video signal and only have the RCA-audio connected?

Posted: Thu Jul 08, 2010 8:23 am
by atari2600a
hyarion wrote:I remember essial had some problems some time ago with pulsaudio + sdl on ubuntu (for some reason it takes 100% CPU for some applications). so if that's your case, you might want to try installing libsdl-alsa instead of the libsdl-pulsaudio package

about that humming nes of yours, do you use the original power adapter? and have you tried to unplug the video signal and only have the RCA-audio connected?
Using a DC 9v adapter from some old cordless phone charger. I haven't tried the latter, but remember, it only does this w/ Ninja Gaiden...

Posted: Thu Jul 08, 2010 5:58 pm
by cpow
hyarion wrote:I remember essial had some problems some time ago with pulsaudio + sdl on ubuntu (for some reason it takes 100% CPU for some applications). so if that's your case, you might want to try installing libsdl-alsa instead of the libsdl-pulsaudio package
http://www.gitorious.org/nesicide/pages ... _Questions