Cpasjuste / pemu

GNU General Public License v3.0
438 stars 49 forks source link

Several issues with building from source on switch and 3ds #276

Closed Ntemis closed 2 months ago

Ntemis commented 5 months ago

Switch

-- Found Python: /usr/bin/python3.10 (found version "3.10.12") found components: Interpreter CMake Error at external/libcross2d/CMakeLists.txt:208 (find_package): By not providing "Findbox2d.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "box2d", but CMake did not find one.

Could not find a package configuration file provided by "box2d" with any of the following names:

box2dConfig.cmake
box2d-config.cmake

Add the installation prefix of "box2d" to CMAKE_PREFIX_PATH or set "box2d_DIR" to a directory containing one of the above files. If "box2d" provides a separate development package or SDK, be sure it has been installed.

Ntemis commented 5 months ago

3DS -------------- Checking for one of the modules 'freetype2' CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message): None of the required 'freetype2' found Call Stack (most recent call first): external/libcross2d/CMakeLists.txt:108 (pkg_search_module)

-- Checking for one of the modules 'libpng' CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message): None of the required 'libpng' found Call Stack (most recent call first): external/libcross2d/CMakeLists.txt:111 (pkg_search_module)

-- Checking for one of the modules 'zlib' CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message): None of the required 'zlib' found Call Stack (most recent call first): external/libcross2d/CMakeLists.txt:112 (pkg_search_module)

-- The ASM compiler identification is GNU -- Found assembler: /opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.22/Modules/FindZLIB.cmake:120 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) external/sscrap/CMakeLists.txt:29 (find_package)

Cpasjuste commented 2 months ago

Hi,

Switch is building fine here today, i guess you may miss some packages (tips: dkp-pacman -S switch-box2d)

For the 3ds, it builds too today, but 3ds is wip and not working !