xmame出现LIRC Disabled错误
-
- 帖子: 36
- 注册时间: 2006-10-22 13:39
源里的xmame默认编译了对lirc的支持
如果是在有问题
就自己重新编译一下好了
这是我的Makefile
###########################################################################
# Xmame or xmess or...?
###########################################################################
# Uncomment one of these.
TARGET = mame
# TARGET = mess
# TARGET = mage
# TARGET = mmsnd
# example for a tiny compile
# TARGET = tiny
###########################################################################
# Special features
###########################################################################
# Enable experimental network support. See
# src/unix/doc/multiplayer-readme.txt for more information. (CURRENTLY
# BROKEN)
# XMAME_NET = 1
# Uncomment to use DRC MIPS3 engine (faster emulation, but only works on x86-
# compatible CPUs).
# X86_MIPS3_DRC = 1
# Uncomment to use DRC PowerPC engine (faster emulation, but only works on x86-
# compatible CPUs).
# X86_PPC_DRC = 1
# Uncomment if you'd like to disable effects. This can considerably speed
# up compilation of the blit files.
# DISABLE_EFFECTS = 1 如果你不用画面特效,把这个打开,能节省很多编译时间
# Uncomment the line below to enable the MMX assembly-language optimized
# routines for the "light scanlines" and "6-tap filter" effects. This
# requires an IA-32 processor with MMX capability and the NASM assembler.
#
# On Linux-i386 you can enable this without causing problems on non
# MMX capable processors: the Linux code will autodetect if an MMX
# capable processor is present and use the right code.
# EFFECT_MMX_ASM = 1
###########################################################################
# Input Devices
###########################################################################
# Uncomment any joystick types that you want to use; the one that is
# actually used can be selected at runtime with the -joytype switch.
# Enable the standard joystick driver, which should work in Linux, OpenBSD,
# NetBSD, and FreeBSD.
# JOY_STANDARD = 1
# Linux FM-TOWNS game pad joystick emulation support. Thanks to Osamu
# Kurati.
# JOY_PAD = 1
# NetBSD/FreeBSD USB joystick support.
# JOY_USB = 1
# PlayStation2-Linux native pad support.
# JOY_PS2 = 1
# SDL joystick support.
# JOY_SDL = 1
# This will enable the use of the Happ Controls UGCI(tm) USB devices'
# Coin/Start inputs using the libugci library available from
# http://www.phunnypharm.org/ugci/
# UGCICOIN = 1
# Enables use of Linux input devices that support ABS (absolute) X/Y axis
# events as lightguns. This can be tablets, touchpads or lightguns. You
# must have the input layer and support for your devices (e.g. USB) for
# this to work.
# LIGHTGUN_ABS_EVENT = 1
# Uncomment this if you get errors about a input_absinfo being undefined.
# Some versions of the Linux headers define this, others don't, and it
# seems to vary by distribution.
# LIGHTGUN_DEFINE_INPUT_ABSINFO = 1
# Uncomment this to add LIRC support to xmame.
# LIRC = 1
###########################################################################
# Sound Devices
###########################################################################
# Choose any additonal sound drivers you want to include, besides the
# native sound driver for your system.
SOUND_ESOUND = 1
SOUND_ALSA = 1
#SOUND_ARTS_TEIRA = 1
#SOUND_ARTS_SMOTEK = 1
# SOUND_SDL = 1
SOUND_WAVEOUT = 1
###########################################################################
# Select your display method; choose only one.
###########################################################################
# Note: x11 is the only one supported on almost all platforms. For BeOS,
# use SDL.
# X11 (including Glide & OpenGL if enabled below)
DISPLAY_METHOD = x11
# SDL library
# DISPLAY_METHOD = SDL
# SVGALib, only supported under Linux
# DISPLAY_METHOD = svgalib
# GGI, only tested under Linux
# DISPLAY_METHOD = ggi
# Glide in console mode
# DISPLAY_METHOD = svgafx
# OpenStep bitmaps
# DISPLAY_METHOD = openstep
# Photon 2.x (QNX6), currently buggy, but working...
# DISPLAY_METHOD = photon2
###########################################################################
# X-Window options (only needed when X is the display method)
###########################################################################
# Uncomment any extensions you wish to use.
# MIT-Shared Memory X Extensions
X11_MITSHM = 1
# Use Xv extension for hardware scaling.
X11_XV = 1
# Enable XFree86 DGA. This also causes "make install" to set the suid bit
# on the executable.
X11_DGA = 1
# Build support for OpenGL rendering into the X-Window version
X11_OPENGL = 1
# Build support for rendering through Glide into the X-Window version
# X11_GLIDE = 1
# The XIL library (Solaris 2.5.1 and higher)
# X11_XIL = 1
# Turn off the annoying obsolesence message if XIL is enabled
# CFLAGS += -DSUNXIL_WARNING_DISABLE
# Choose the location of your X headers and libraries.
# Standard location for X11
# X11INC = -I/usr/include/X11
# X11LIB = -L/usr/lib/X11
# Standard location for XFree86
X11INC = -I/usr/X11R6/include
X11LIB = -L/usr/X11R6/lib
# Standard location for Sun systems
# X11INC = -I/usr/openwin/include
# X11LIB = -L/usr/openwin/lib
# Some non-standard locations
# X11INC = -I/usr/local/include/X11
# X11LIB = -L/usr/local/lib
# The default name for the input device used by the X11 joystick driver.
# Use provided program "xlistdev" to list available ones.
X11_JOYNAME = "Joystick"
# Uncomment this to use XInput devices, e.g. additional mice as
# trackballs.
# XINPUT_DEVICES = 1
# Enable Xinerama support
# X11_XINERAMA = 1
......
http://packages.ubuntulinux.org/dapper/source/xmame
需要的包在这里看
不要build-dep xmame
这样会安装很多用不到的开发包
如果是在有问题
就自己重新编译一下好了
这是我的Makefile
###########################################################################
# Xmame or xmess or...?
###########################################################################
# Uncomment one of these.
TARGET = mame
# TARGET = mess
# TARGET = mage
# TARGET = mmsnd
# example for a tiny compile
# TARGET = tiny
###########################################################################
# Special features
###########################################################################
# Enable experimental network support. See
# src/unix/doc/multiplayer-readme.txt for more information. (CURRENTLY
# BROKEN)
# XMAME_NET = 1
# Uncomment to use DRC MIPS3 engine (faster emulation, but only works on x86-
# compatible CPUs).
# X86_MIPS3_DRC = 1
# Uncomment to use DRC PowerPC engine (faster emulation, but only works on x86-
# compatible CPUs).
# X86_PPC_DRC = 1
# Uncomment if you'd like to disable effects. This can considerably speed
# up compilation of the blit files.
# DISABLE_EFFECTS = 1 如果你不用画面特效,把这个打开,能节省很多编译时间
# Uncomment the line below to enable the MMX assembly-language optimized
# routines for the "light scanlines" and "6-tap filter" effects. This
# requires an IA-32 processor with MMX capability and the NASM assembler.
#
# On Linux-i386 you can enable this without causing problems on non
# MMX capable processors: the Linux code will autodetect if an MMX
# capable processor is present and use the right code.
# EFFECT_MMX_ASM = 1
###########################################################################
# Input Devices
###########################################################################
# Uncomment any joystick types that you want to use; the one that is
# actually used can be selected at runtime with the -joytype switch.
# Enable the standard joystick driver, which should work in Linux, OpenBSD,
# NetBSD, and FreeBSD.
# JOY_STANDARD = 1
# Linux FM-TOWNS game pad joystick emulation support. Thanks to Osamu
# Kurati.
# JOY_PAD = 1
# NetBSD/FreeBSD USB joystick support.
# JOY_USB = 1
# PlayStation2-Linux native pad support.
# JOY_PS2 = 1
# SDL joystick support.
# JOY_SDL = 1
# This will enable the use of the Happ Controls UGCI(tm) USB devices'
# Coin/Start inputs using the libugci library available from
# http://www.phunnypharm.org/ugci/
# UGCICOIN = 1
# Enables use of Linux input devices that support ABS (absolute) X/Y axis
# events as lightguns. This can be tablets, touchpads or lightguns. You
# must have the input layer and support for your devices (e.g. USB) for
# this to work.
# LIGHTGUN_ABS_EVENT = 1
# Uncomment this if you get errors about a input_absinfo being undefined.
# Some versions of the Linux headers define this, others don't, and it
# seems to vary by distribution.
# LIGHTGUN_DEFINE_INPUT_ABSINFO = 1
# Uncomment this to add LIRC support to xmame.
# LIRC = 1
###########################################################################
# Sound Devices
###########################################################################
# Choose any additonal sound drivers you want to include, besides the
# native sound driver for your system.
SOUND_ESOUND = 1
SOUND_ALSA = 1
#SOUND_ARTS_TEIRA = 1
#SOUND_ARTS_SMOTEK = 1
# SOUND_SDL = 1
SOUND_WAVEOUT = 1
###########################################################################
# Select your display method; choose only one.
###########################################################################
# Note: x11 is the only one supported on almost all platforms. For BeOS,
# use SDL.
# X11 (including Glide & OpenGL if enabled below)
DISPLAY_METHOD = x11
# SDL library
# DISPLAY_METHOD = SDL
# SVGALib, only supported under Linux
# DISPLAY_METHOD = svgalib
# GGI, only tested under Linux
# DISPLAY_METHOD = ggi
# Glide in console mode
# DISPLAY_METHOD = svgafx
# OpenStep bitmaps
# DISPLAY_METHOD = openstep
# Photon 2.x (QNX6), currently buggy, but working...
# DISPLAY_METHOD = photon2
###########################################################################
# X-Window options (only needed when X is the display method)
###########################################################################
# Uncomment any extensions you wish to use.
# MIT-Shared Memory X Extensions
X11_MITSHM = 1
# Use Xv extension for hardware scaling.
X11_XV = 1
# Enable XFree86 DGA. This also causes "make install" to set the suid bit
# on the executable.
X11_DGA = 1
# Build support for OpenGL rendering into the X-Window version
X11_OPENGL = 1
# Build support for rendering through Glide into the X-Window version
# X11_GLIDE = 1
# The XIL library (Solaris 2.5.1 and higher)
# X11_XIL = 1
# Turn off the annoying obsolesence message if XIL is enabled
# CFLAGS += -DSUNXIL_WARNING_DISABLE
# Choose the location of your X headers and libraries.
# Standard location for X11
# X11INC = -I/usr/include/X11
# X11LIB = -L/usr/lib/X11
# Standard location for XFree86
X11INC = -I/usr/X11R6/include
X11LIB = -L/usr/X11R6/lib
# Standard location for Sun systems
# X11INC = -I/usr/openwin/include
# X11LIB = -L/usr/openwin/lib
# Some non-standard locations
# X11INC = -I/usr/local/include/X11
# X11LIB = -L/usr/local/lib
# The default name for the input device used by the X11 joystick driver.
# Use provided program "xlistdev" to list available ones.
X11_JOYNAME = "Joystick"
# Uncomment this to use XInput devices, e.g. additional mice as
# trackballs.
# XINPUT_DEVICES = 1
# Enable Xinerama support
# X11_XINERAMA = 1
......
http://packages.ubuntulinux.org/dapper/source/xmame
需要的包在这里看
不要build-dep xmame
这样会安装很多用不到的开发包
-
- 帖子: 36
- 注册时间: 2006-10-22 13:39
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙