Prototype implementation of LiveSplit One for the Desktop.
Trying to build on a MacBook 2020 (M1) and run into the follow issue when cargo run'ing, pretty sure it'll be something I've missed or done wrong 😅: The following warnings were emitted during compilation: warning: In file included from src/native/macosx/MacMiniFB.m:1: warning: In file included from src/native/macosx/OSXWindow.h:1: warning: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12: warning: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12: warning: /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:91:143: error: function does not return NSString warning: - (NSAttributedString *)localizedAttributedStringForKey:(NSString *)key value:(nullable NSString *)value table:(nullable NSString *)tableName NS_FORMAT_ARGUMENT(1) NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0)); warning: ~~~~~~~~~~~~~~ ^ ~ warning: /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:103:48: note: expanded from macro 'NS_FORMAT_ARGUMENT' warning: #define NS_FORMAT_ARGUMENT(A) __attribute__ ((format_arg(A))) warning: ^ ~ warning: src/native/macosx/MacMiniFB.m:426:38: warning: unused parameter 'window' [-Wunused-parameter] warning: void mfb_set_cursor_visibility(void *window, bool visibility) warning: ^ warning: 1 warning and 1 error generated. error: failed to run custom build command for `minifb v0.20.0` Caused by: process didn't exit successfully: `/Users/USER_NAME/Downloads/livesplit-one-desktop-0.0.2/target/release/build/minifb-ed2f79e2cde48f8b/build-script-build` (exit status: 1) --- stdout TARGET = Some("aarch64-apple-darwin") OPT_LEVEL = Some("3") HOST = Some("aarch64-apple-darwin") CC_aarch64-apple-darwin = None CC_aarch64_apple_darwin = None HOST_CC = None CC = None CFLAGS_aarch64-apple-darwin = None CFLAGS_aarch64_apple_darwin = None HOST_CFLAGS = None CFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CARGO_CFG_TARGET_FEATURE = None running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-Wall" "-Wextra" "-mmacosx-version-min=10.10" "-o" "/Users/USER_NAME/Downloads/livesplit-one-desktop-0.0.2/target/release/build/minifb-3d6b41cc18cb96a1/out/src/native/macosx/MacMiniFB.o" "-c" "src/native/macosx/MacMiniFB.m" cargo:warning=In file included from src/native/macosx/MacMiniFB.m:1: cargo:warning=In file included from src/native/macosx/OSXWindow.h:1: cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12: cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12: cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:91:143: error: function does not return NSString cargo:warning=- (NSAttributedString *)localizedAttributedStringForKey:(NSString *)key value:(nullable NSString *)value table:(nullable NSString *)tableName NS_FORMAT_ARGUMENT(1) NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0)); cargo:warning= ~~~~~~~~~~~~~~ ^ ~ cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:103:48: note: expanded from macro 'NS_FORMAT_ARGUMENT' cargo:warning= #define NS_FORMAT_ARGUMENT(A) __attribute__ ((format_arg(A))) cargo:warning= ^ ~ cargo:warning=src/native/macosx/MacMiniFB.m:426:38: warning: unused parameter 'window' [-Wunused-parameter] cargo:warning=void mfb_set_cursor_visibility(void *window, bool visibility) cargo:warning= ^ cargo:warning=1 warning and 1 error generated. exit status: 1 --- stderr error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-Wall" "-Wextra" "-mmacosx-version-min=10.10" "-o" "/Users/USER_NAME/Downloads/livesplit-one-desktop-0.0.2/target/release/build/minifb-3d6b41cc18cb96a1/out/src/native/macosx/MacMiniFB.o" "-c" "src/native/macosx/MacMiniFB.m" with args "cc" did not execute successfully (status code exit status: 1). warning: build failed, waiting for other jobs to finish... error: build failed I did also download the v0.0.2 release ([livesplit-one-v0.0.2-x86_64-apple-darwin.tar.gz](https://github.com/CryZe/livesplit-one-desktop/releases/download/v0.0.2/livesplit-one-v0.0.2-x86_64-apple-darwin.tar.gz)) which opens fine (I can see the GUI) but I can edit anything/add splits etc,. I do get some Terminal/command line feedback when I try and drag the width/height of the GUI: AGX: Texture read/write assertion failed: (yoffset + height) <= ALIGNGRAN_NPOT(getViewLevelHeight(mipmapLevel), block_height) && "Region height OOB" Any help would be greatly appreciated!
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by jB0ne90 and has received 1 comments.