首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >我怎样才能使海豚-emu的cmake脚本成功?

我怎样才能使海豚-emu的cmake脚本成功?
EN

Stack Overflow用户
提问于 2013-11-01 01:10:49
回答 1查看 1.3K关注 0票数 1

我正在尝试构建dolphin (https://code.google.com/p/dolphin-emu),并根据Build的说明在运行cmake时得到以下错误。

我对cmake不太了解,而且基本的googling还没有找到解决方案。

我正在运行Linux 12。

代码语言:javascript
运行
复制
$ git clone https://code.google.com/p/dolphin-emu/ dolphin-emu
(...)
$ cd dolphin-emu
dolphin-emu$ mkdir Build
dolphin-emu$ cd Build
dolphin-emu/Build$ cmake ..
x86_64
OpenMP parallelization enabled
ALSA found, enabling ALSA sound backend
ao found, enabling ao sound backend
bluez found, enabling bluetooth support
PulseAudio found, enabling PulseAudio sound backend
-- Could NOT find OpenAL (missing:  OPENAL_LIBRARY OPENAL_INCLUDE_DIR) 
OpenAL NOT found, disabling OpenAL sound backend
-- checking for modules 'wayland-egl;wayland-client;wayland-cursor'
--   package 'wayland-egl' not found
--   package 'wayland-client' not found
--   package 'wayland-cursor' not found
Wayland support disabled
X11 support enabled
Xrandr found
-- checking for module 'xi>=1.5.0'
--   package 'xi>=1.5.0' not found
libav found, enabling AVI frame dumps
PortAudio not found, disabling mic support
Using static lzo from Externals
-- Could NOT find SDL2 (missing:  SDL2_LIBRARY SDL2_INCLUDE_DIR) 
Using shared SDL
-- checking for module 'libusb-1.0'
--   package 'libusb-1.0' not found
-- libusb-1.0 not found.
Could NOT find SFML (missing:  SFML_INCLUDE_DIR)
Using static SFML 1.5 from Externals
-- Could not find miniupnp
Using static miniupnpc from Externals
-- Could not find polarssl
Using PolarSSL from Externals
Using static SOIL from Externals
Using shared zlib
-- checking for one of the modules 'glew>=1.8'
Using static GLEW from Externals
-- Could NOT find wxWidgets (missing:  wxWidgets_FOUND) 
-- Could NOT find wxWidgets (missing:  wxWidgets_FOUND) 
Using static wxWidgets from Externals
gthread-2.0 found
pangocairo found
CMake Error at /usr/share/cmake-2.8/Modules/FindGettext.cmake:83 (ADD_CUSTOM_TARGET):
  add_custom_target cannot create target "translations" because another
  target with the same name already exists.  The existing target is a custom
  target created in source directory
  "/home/jasmuth/Downloads/dolphin-emu/Source/Core/DolphinWX".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  Source/Core/DolphinWX/CMakeLists.txt:181 (GETTEXT_CREATE_TRANSLATIONS)


-- Configuring incomplete, errors occurred!
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-11-04 01:51:17

将cmake从2.8.7 (apt-get附带的内容)升级到2.8.12 (通过源代码安装即可获得)解决了这个问题。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19719322

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档