lokxii / Mac-trackpad-mapper

A utility for Mac that maps finger position on trackpad to cursor location on Scnreen
MIT License
28 stars 3 forks source link

make error #6

Closed Axilotl17 closed 1 year ago

Axilotl17 commented 1 year ago

axilotl@Popsicle Mac-trackpad-mapper % make release
if [[ ! -e build ]]; then mkdir -p build/bin; fi
make util_release
make settings.h
make[2]: `settings.h' is up to date.
gcc -F/System/Library/PrivateFrameworks -framework MultitouchSupport -framework CoreFoundation -framework Carbon src/trackpad_mapper_util.c -o build/bin/trackpad_mapper_util -O3
make app_release
swiftc src/*.swift -o build/bin/trackpad_mapper -O
src/PreferenceUIView.swift:18:31: error: cannot infer contextual base in reference to member 'checkbox'
                .toggleStyle(.checkbox)
                             ~^~~~~~~~
make[1]: *** [app_release] Error 1
make: *** [release] Error 2
axilotl@Popsicle Mac-trackpad-mapper %
lokxii commented 1 year ago

strange. I just copy and pasted that from this apple doc Gonna investigate it when I get back home. Meanwhile can you try updating your xcode toolchain?

lokxii commented 1 year ago

SwiftUI requires Xcode version >= 11. Can you check your xcode version to see if it is up to date?

Axilotl17 commented 1 year ago

Sorry, I have no idea how to use Xcode on macos (I usually use linux) how do I do this?

lokxii commented 1 year ago

Can you try running /usr/bin/xcodebuild -version ?

lokxii commented 1 year ago

No more update in a long period of time. Closing