shiiion / Ishiiruka

GNU General Public License v2.0
47 stars 6 forks source link

compile error on MacOS #16

Closed exekutive closed 3 years ago

exekutive commented 3 years ago
/Users/joe>cmake /Users/joe/Ishiiruka-master
CMake Warning (dev) at CMakeLists.txt:10 (set):
  implicitly converting 'string' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is AppleClang 12.0.0.12000032
-- The CXX compiler identification is AppleClang 12.0.0.12000032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/local/bin/git (found version "2.29.2") 
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
-- Detected architecture: x86_64
-- Performing Test FLAG_C_HAVE_SSE2
-- Performing Test FLAG_C_HAVE_SSE2 - Success
-- Performing Test FLAG_CXX_HAVE_SSE2
-- Performing Test FLAG_CXX_HAVE_SSE2 - Success
-- Performing Test FLAG_C_HAVE_WALL
-- Performing Test FLAG_C_HAVE_WALL - Success
-- Performing Test FLAG_CXX_HAVE_WALL
-- Performing Test FLAG_CXX_HAVE_WALL - Success
-- Performing Test FLAG_C_TYPE_LIMITS
-- Performing Test FLAG_C_TYPE_LIMITS - Success
-- Performing Test FLAG_CXX_TYPE_LIMITS
-- Performing Test FLAG_CXX_TYPE_LIMITS - Success
-- Performing Test FLAG_C_SIGN_COMPARE
-- Performing Test FLAG_C_SIGN_COMPARE - Success
-- Performing Test FLAG_CXX_SIGN_COMPARE
-- Performing Test FLAG_CXX_SIGN_COMPARE - Success
-- Performing Test FLAG_C_IGNORED_QUALIFIERS
-- Performing Test FLAG_C_IGNORED_QUALIFIERS - Success
-- Performing Test FLAG_CXX_IGNORED_QUALIFIERS
-- Performing Test FLAG_CXX_IGNORED_QUALIFIERS - Success
-- Performing Test FLAG_C_UNINITIALIZED
-- Performing Test FLAG_C_UNINITIALIZED - Success
-- Performing Test FLAG_CXX_UNINITIALIZED
-- Performing Test FLAG_CXX_UNINITIALIZED - Success
-- Performing Test FLAG_C_LOGICAL_OP
-- Performing Test FLAG_C_LOGICAL_OP - Failed
-- Performing Test FLAG_CXX_LOGICAL_OP
-- Performing Test FLAG_CXX_LOGICAL_OP - Failed
-- Performing Test FLAG_C_SHADOW
-- Performing Test FLAG_C_SHADOW - Success
-- Performing Test FLAG_CXX_SHADOW
-- Performing Test FLAG_CXX_SHADOW - Success
-- Performing Test FLAG_C_INIT_SELF
-- Performing Test FLAG_C_INIT_SELF - Success
-- Performing Test FLAG_CXX_INIT_SELF
-- Performing Test FLAG_CXX_INIT_SELF - Success
-- Performing Test FLAG_C_MISSING_DECLARATIONS
-- Performing Test FLAG_C_MISSING_DECLARATIONS - Success
-- Performing Test FLAG_CXX_MISSING_DECLARATIONS
-- Performing Test FLAG_CXX_MISSING_DECLARATIONS - Success
-- Performing Test FLAG_C_MISSING_VARIABLE_DECLARATIONS
-- Performing Test FLAG_C_MISSING_VARIABLE_DECLARATIONS - Success
-- Performing Test FLAG_CXX_MISSING_VARIABLE_DECLARATIONS
-- Performing Test FLAG_CXX_MISSING_VARIABLE_DECLARATIONS - Success
-- Performing Test FLAG_C_NO_STRICT_ALIASING
-- Performing Test FLAG_C_NO_STRICT_ALIASING - Success
-- Performing Test FLAG_CXX_NO_STRICT_ALIASING
-- Performing Test FLAG_CXX_NO_STRICT_ALIASING - Success
-- Performing Test FLAG_C_NO_EXCEPTIONS
-- Performing Test FLAG_C_NO_EXCEPTIONS - Success
-- Performing Test FLAG_CXX_NO_EXCEPTIONS
-- Performing Test FLAG_CXX_NO_EXCEPTIONS - Success
-- Performing Test FLAG_C_VISIBILITY_INLINES_HIDDEN
-- Performing Test FLAG_C_VISIBILITY_INLINES_HIDDEN - Success
-- Performing Test FLAG_CXX_VISIBILITY_INLINES_HIDDEN
-- Performing Test FLAG_CXX_VISIBILITY_INLINES_HIDDEN - Success
-- Performing Test FLAG_C_VISIBILITY_HIDDEN
-- Performing Test FLAG_C_VISIBILITY_HIDDEN - Success
-- Performing Test FLAG_CXX_VISIBILITY_HIDDEN
-- Performing Test FLAG_CXX_VISIBILITY_HIDDEN - Success
-- Performing Test FLAG_C_FOMIT_FRAME_POINTER
-- Performing Test FLAG_C_FOMIT_FRAME_POINTER - Success
-- Performing Test FLAG_CXX_FOMIT_FRAME_POINTER
-- Performing Test FLAG_CXX_FOMIT_FRAME_POINTER - Success
-- Performing Test FLAG_C_GGDB
-- Performing Test FLAG_C_GGDB - Success
-- Performing Test FLAG_CXX_GGDB
-- Performing Test FLAG_CXX_GGDB - Success
-- Performing Test FLAG_C_HAVE_MSSSE3
-- Performing Test FLAG_C_HAVE_MSSSE3 - Success
-- Performing Test FLAG_CXX_HAVE_MSSSE3
-- Performing Test FLAG_CXX_HAVE_MSSSE3 - Success
-- Performing Test FLAG_C_HAVE_ARCH_CORE2
-- Performing Test FLAG_C_HAVE_ARCH_CORE2 - Success
-- Performing Test FLAG_CXX_HAVE_ARCH_CORE2
-- Performing Test FLAG_CXX_HAVE_ARCH_CORE2 - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") 
-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR) 
--  Found avcodec: /usr/local/include /usr/local/lib/libavcodec.dylib
--  Found avdevice: /usr/local/include /usr/local/lib/libavdevice.dylib
--  Found avfilter: /usr/local/include /usr/local/lib/libavfilter.dylib
--  Found avformat: /usr/local/include /usr/local/lib/libavformat.dylib
--  Found avutil: /usr/local/include /usr/local/lib/libavutil.dylib
--  Found swresample: /usr/local/include /usr/local/lib/libswresample.dylib
--  Found swscale: /usr/local/include /usr/local/lib/libswscale.dylib
-- Found FFmpeg: /usr/local/include  found components: avcodec avformat avutil swscale 
-- libav/ffmpeg found, enabling AVI frame dumps
-- Using named pipes as controller inputs
-- Watching game memory for changes
-- Enabling analytics collection (subject to end-user opt-in)
-- Performing Test FLAG_C_CXX11
-- Performing Test FLAG_C_CXX11 - Failed
-- Performing Test FLAG_CXX_CXX11
-- Performing Test FLAG_CXX_CXX11 - Success
-- Using static enet from Externals
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for poll
-- Looking for poll - found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - not found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - not found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Performing Test HAS_MSGHDR_FLAGS
-- Performing Test HAS_MSGHDR_FLAGS - Success
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Using static xxhash from Externals
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) 
-- Shared zlib not found, falling back to the static library
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Looking for fseeko
-- Looking for fseeko - found
-- Using static lzo from Externals
-- Using static libpng from Externals
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Looking for include file AudioUnit/AudioUnit.h
-- Looking for include file AudioUnit/AudioUnit.h - found
-- Looking for include file pulse/pulseaudio.h
-- Looking for include file pulse/pulseaudio.h - not found
-- Looking for include file alsa/asoundlib.h
-- Looking for include file alsa/asoundlib.h - not found
-- Looking for include file jack/jack.h
-- Looking for include file jack/jack.h - not found
-- Looking for include file audioclient.h
-- Looking for include file audioclient.h - not found
-- Looking for include files windows.h, mmsystem.h
-- Looking for include files windows.h, mmsystem.h - not found
-- Looking for include file SLES/OpenSLES.h
-- Looking for include file SLES/OpenSLES.h - not found
-- Looking for include file android/log.h
-- Looking for include file android/log.h - not found
-- Looking for include file sndio.h
-- Looking for include file sndio.h - not found
-- Looking for include file kai.h
-- Looking for include file kai.h - not found
-- Using static LibUSB from Externals
-- Looking for include file asm/types.h
-- Looking for include file asm/types.h - not found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for include file linux/filter.h
-- Looking for include file linux/filter.h - not found
-- Looking for include file linux/netlink.h
-- Looking for include file linux/netlink.h - not found
-- Looking for include file poll.h
-- Looking for include file poll.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Check size of struct timespec
-- Check size of struct timespec - failed
-- Looking for syslog
-- Looking for syslog - found
-- Looking for include file syslog.h
-- Looking for include file syslog.h - found
-- Looking for include file sys/socket.h
-- Looking for include file sys/socket.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Check size of nfds_t
-- Check size of nfds_t - done
-- Looking for include file sys/timerfd.h
-- Looking for include file sys/timerfd.h - not found
-- Using static SFML 2.1 from Externals
-- Using static miniupnpc from Externals
-- Using static mbed TLS from Externals
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) (found version "7.64.1")
-- Using static libcurl from Externals
-- Using static SOIL from Externals
-- Using static iconv from Externals
-- Could NOT find HIDAPI (missing: HIDAPI_LIBRARY HIDAPI_INCLUDE_DIR) 
-- Using static HIDAPI from Externals
-- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS) (Required is at least version "3.1.0")
-- Using static wxWidgets from Externals
CMake Warning (dev) at /usr/local/Cellar/cmake/3.18.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
  The package name passed to `find_package_handle_standard_args` (PkgConfig)
  does not match the name of the calling package (Libsystemd).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.18.4/share/cmake/Modules/FindPkgConfig.cmake:59 (find_package_handle_standard_args)
  CMake/FindLibsystemd.cmake:1 (include)
  CMakeLists.txt:750 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/Cellar/cmake/3.18.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
  The package name passed to `find_package_handle_standard_args` (SYSTEMD)
  does not match the name of the calling package (Libsystemd).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  CMake/FindLibsystemd.cmake:21 (find_package_handle_standard_args)
  CMakeLists.txt:750 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find SYSTEMD (missing: SYSTEMD_LIBRARIES SYSTEMD_INCLUDE_DIRS) 
-- libsystemd not found, disabling traversal server watchdog support
-- Using static gtest from Externals
-- Found PythonInterp: /usr/bin/python (found version "2.7.16") 
-- Performing Test FLAG_C_CXX17
-- Performing Test FLAG_C_CXX17 - Failed
-- Performing Test FLAG_CXX_CXX17
-- Performing Test FLAG_CXX_CXX17 - Success
-- Could NOT find OpenSLES (missing: OPENSLES_LIBRARY OPENSLES_INCLUDE_DIR) 
-- Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR) 
-- ALSA NOT found, disabling ALSA sound backend
CMake Warning (dev) at /usr/local/Cellar/cmake/3.18.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
  The package name passed to `find_package_handle_standard_args` (PkgConfig)
  does not match the name of the calling package (PulseAudio).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.18.4/share/cmake/Modules/FindPkgConfig.cmake:59 (find_package_handle_standard_args)
  CMake/FindPulseAudio.cmake:9 (include)
  Source/Core/AudioCommon/CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- PulseAudio NOT found, disabling PulseAudio sound backend
-- Found Gettext: /usr/local/bin/msgmerge (found version "0.21") 
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OBJC_LIBRARY
    linked by target "usb" in directory /Users/joe/Ishiiruka-master/Externals/libusb

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
exekutive commented 3 years ago

MacOS 11.2 Xcode CLI version: 12.4.0.0.1.1610135815

SirMangler commented 3 years ago

Please note this is not the primary repository of PrimeHack but Ishiiruka, a much older modified version of Dolphin.

This doesn't look like a PrimeHack problem but a problem with building Dolphin itself. You appear to be missing some dependencies. Please refer to this: https://github.com/dolphin-emu/dolphin/wiki/Building-for-macOS

There's also some information on the readme. PrimeHack doesn't effect anything other than DolphinQt for UI, Core for the mods and executing PrimeHack, and InputCommon for controls. Any error related to any other project/area of Dolphin has a 90% chance to be unrelated to us.

We do not officially support MacOS. Neither me or shio have a Mac to test with, and mouse aim will not work. You will be limited to controller mode only.

If you find a more specific error related to Mac, you are free to open an issue to log it, but it is unlikely we will fix it at this time.