使用 aur 里的源码安装上了 ,fmod 的问题也 因为 安装 fmodex 的包解决了。现在又碰到了这个问题
google 了没找到 解决办法 ,所以我把错误贴出来
┌─(/opt/cocos2d-x/build/linux-build)────────────────────────────────────(blambin@arch-pc:pts/2)─┐
└─(10:19:24)──> sudo make ──(Sat,Mar03)─┘
[sudo] password for blambin:
It appears you are building natively for Linux with GCC
– OpenGL include dirs: /usr/include
– GLEW include dirs: /usr/include
– PkgConfig found
– GLFW3 include dirs: /usr/include/GLFW
– SQLite3 include dirs: /usr/include
– FMOD include dirs: /usr/include
– Fontconfig include dirs: /usr/include/freetype2;/usr/include/libpng16;/usr/include/harfbuzz;/usr/include/glib-2.0;/usr/lib/glib-2.0/include;/usr/include/freetype2;/usr/include/libpng16;/usr/include/harfbuzz;/usr/include/glib-2.0;/usr/lib/glib-2.0/include
– GTK3 include dirs: /usr/include/gtk-3.0;/usr/include/at-spi2-atk/2.0;/usr/include/at-spi-2.0;/usr/include/dbus-1.0;/usr/lib/dbus-1.0/include;/usr/include/gtk-3.0;/usr/include/gio-unix-2.0/;/usr/include/cairo;/usr/include/pango-1.0;/usr/include/atk-1.0;/usr/include/cairo;/usr/include/pixman-1;/usr/include/freetype2;/usr/include/libpng16;/usr/include/harfbuzz;/usr/include/glib-2.0;/usr/lib/glib-2.0/include;/usr/include/freetype2;/usr/include/harfbuzz;/usr/include/libpng16;/usr/include/gdk-pixbuf-2.0;/usr/include/glib-2.0;/usr/lib/glib-2.0/include
– Freetype include dirs: /usr/include/freetype2;/usr/include/libpng16;/usr/include/harfbuzz;/usr/include/glib-2.0;/usr/lib/glib-2.0/include
– WebP include dirs: /usr/include/webp
– Bullet include dirs: /opt/cocos2d-x/external/bullet/include;/opt/cocos2d-x/external/bullet/include/bullet
CMake Error at cmake/Modules/CocosBuildHelpers.cmake:44 (find_package):
By not providing “Findrecast.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “recast”, but
CMake did not find one.
Could not find a package configuration file provided by “recast” with any
of the following names:
recastConfig.cmake
recast-config.cmake
Add the installation prefix of “recast” to CMAKE_PREFIX_PATH or set
“recast_DIR” to a directory containing one of the above files. If “recast”
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
cmake/Modules/BuildModules.cmake:81 (cocos_find_package)
CMakeLists.txt:98 (BuildModules)
– Configuring incomplete, errors occurred!
See also “/opt/cocos2d-x/build/linux-build/CMakeFiles/CMakeOutput.log”.
See also “/opt/cocos2d-x/build/linux-build/CMakeFiles/CMakeError.log”.
make: *** [Makefile:440: cmake_check_build_system] Error 1