tried compiling Azahar (much more up to date and compatible 3ds emulator) under 10.10 Yosemite but it just gives this error
no matter what i do
cmake .. \
> -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 \
> -DCMAKE_OSX_SYSROOT=$SDKROOT \
> -DCMAKE_OSX_ARCHITECTURES="x86_64" \
> -DCMAKE_C_FLAGS="-mmacosx-version-min=10.10 -pthread" \
> -DCMAKE_CXX_FLAGS="-mmacosx-version-min=10.10 -pthread" \
> -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \
> -DTHREADS_PREFER_PTHREAD_FLAG=ON
-- The C compiler identification is AppleClang 7.0.2.7000181
-- The CXX compiler identification is AppleClang 7.0.2.7000181
-- The ASM compiler identification is AppleClang
-- Found assembler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/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: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The OBJC compiler identification is AppleClang 7.0.2.7000181
-- The OBJCXX compiler identification is AppleClang 7.0.2.7000181
-- Detecting OBJC compiler ABI info
-- Detecting OBJC compiler ABI info - done
-- Check for working OBJC compiler: /Library/Developer/CommandLineTools/usr/bin/clang - skipped
-- Detecting OBJCXX compiler ABI info
-- Detecting OBJCXX compiler ABI info - done
-- Check for working OBJCXX compiler: /Library/Developer/CommandLineTools/usr/bin/clang++ - skipped
-- SSE4.2 enabled for x86_64
-- Using Precompiled Headers.
-- LTO enabled but is unavailable, disabling: Change Dir: '/Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin'
Run Build Command(s): /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile
/opt/local/bin/cmake -S/Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/src -B/Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin//CMakeFiles/progress.marks
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/Makefile2 all
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/depend
cd /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/src /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/src /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/DependInfo.cmake
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/build
[ 25%] Building CXX object CMakeFiles/foo.dir/foo.cpp.o
/Library/Developer/CommandLineTools/usr/bin/c++ -mmacosx-version-min=10.10 -pthread -g -flto -arch x86_64 -mmacosx-version-min=13.4 -MD -MT CMakeFiles/foo.dir/foo.cpp.o -MF CMakeFiles/foo.dir/foo.cpp.o.d -o CMakeFiles/foo.dir/foo.cpp.o -c /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/src/foo.cpp
clang: error: invalid version number in '-mmacosx-version-min=13.4'
make[2]: *** [CMakeFiles/foo.dir/foo.cpp.o] Error 1
make[1]: *** [CMakeFiles/foo.dir/all] Error 2
make: *** [all] Error 2
-- Target architecture: x86_64
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
CMake Error at /opt/local/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
/opt/local/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
/opt/local/share/cmake-3.31/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:297 (find_package)
no matter what i do
cmake .. \
> -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 \
> -DCMAKE_OSX_SYSROOT=$SDKROOT \
> -DCMAKE_OSX_ARCHITECTURES="x86_64" \
> -DCMAKE_C_FLAGS="-mmacosx-version-min=10.10 -pthread" \
> -DCMAKE_CXX_FLAGS="-mmacosx-version-min=10.10 -pthread" \
> -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \
> -DTHREADS_PREFER_PTHREAD_FLAG=ON
-- The C compiler identification is AppleClang 7.0.2.7000181
-- The CXX compiler identification is AppleClang 7.0.2.7000181
-- The ASM compiler identification is AppleClang
-- Found assembler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/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: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The OBJC compiler identification is AppleClang 7.0.2.7000181
-- The OBJCXX compiler identification is AppleClang 7.0.2.7000181
-- Detecting OBJC compiler ABI info
-- Detecting OBJC compiler ABI info - done
-- Check for working OBJC compiler: /Library/Developer/CommandLineTools/usr/bin/clang - skipped
-- Detecting OBJCXX compiler ABI info
-- Detecting OBJCXX compiler ABI info - done
-- Check for working OBJCXX compiler: /Library/Developer/CommandLineTools/usr/bin/clang++ - skipped
-- SSE4.2 enabled for x86_64
-- Using Precompiled Headers.
-- LTO enabled but is unavailable, disabling: Change Dir: '/Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin'
Run Build Command(s): /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile
/opt/local/bin/cmake -S/Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/src -B/Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin//CMakeFiles/progress.marks
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/Makefile2 all
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/depend
cd /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/src /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/src /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/DependInfo.cmake
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/build
[ 25%] Building CXX object CMakeFiles/foo.dir/foo.cpp.o
/Library/Developer/CommandLineTools/usr/bin/c++ -mmacosx-version-min=10.10 -pthread -g -flto -arch x86_64 -mmacosx-version-min=13.4 -MD -MT CMakeFiles/foo.dir/foo.cpp.o -MF CMakeFiles/foo.dir/foo.cpp.o.d -o CMakeFiles/foo.dir/foo.cpp.o -c /Users/davidheaton/azahar/build/CMakeFiles/_CMakeLTOTest-CXX/src/foo.cpp
clang: error: invalid version number in '-mmacosx-version-min=13.4'
make[2]: *** [CMakeFiles/foo.dir/foo.cpp.o] Error 1
make[1]: *** [CMakeFiles/foo.dir/all] Error 2
make: *** [all] Error 2
-- Target architecture: x86_64
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
CMake Error at /opt/local/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
/opt/local/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
/opt/local/share/cmake-3.31/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:297 (find_package)