typedbyte / switch Goto Github PK
View Code? Open in Web Editor NEWA library for interacting with Nintendo Switch controllers, written in Haskell.
License: BSD 3-Clause "New" or "Revised" License
A library for interacting with Nintendo Switch controllers, written in Haskell.
License: BSD 3-Clause "New" or "Revised" License
Hi, i tried to execute the tests and i have those errors.
hakimbaaloudj@MacBook-Pro-de-Hakim switch % cabal test
Build profile: -w ghc-8.10.4 -O1
In order, the following will be built (use -v for more details):
- linear-1.20.9 (lib:linear) (requires build)
- switch-0.1.0.0 (test:leftJoyCon) (first run)
- switch-0.1.0.0 (test:proController) (first run)
- switch-0.1.0.0 (test:rightJoyCon) (first run)
- GPipe-2.2.5 (lib) (requires build)
- GPipe-GLFW-1.4.1.4 (lib) (requires build)
- switch-0.1.0.0 (test:cube) (first run)
Starting linear-1.20.9 (all, legacy fallback)
Preprocessing test suite 'leftJoyCon' for switch-0.1.0.0..
Building test suite 'leftJoyCon' for switch-0.1.0.0..
Preprocessing test suite 'proController' for switch-0.1.0.0..
Building test suite 'proController' for switch-0.1.0.0..
Preprocessing test suite 'rightJoyCon' for switch-0.1.0.0..
Building test suite 'rightJoyCon' for switch-0.1.0.0..
Linking /Users/hakimbaaloudj/computer-science/projet_perso/joycons/switch/dist-newstyle/build/x86_64-osx/ghc-8.10.4/switch-0.1.0.0/t/leftJoyCon/build/leftJoyCon/leftJoyCon ...
Linking /Users/hakimbaaloudj/computer-science/projet_perso/joycons/switch/dist-newstyle/build/x86_64-osx/ghc-8.10.4/switch-0.1.0.0/t/proController/build/proController/proController ...
Linking /Users/hakimbaaloudj/computer-science/projet_perso/joycons/switch/dist-newstyle/build/x86_64-osx/ghc-8.10.4/switch-0.1.0.0/t/rightJoyCon/build/rightJoyCon/rightJoyCon ...
Undefined symbols for architecture x86_64:
"_IORegistryEntryGetPath", referenced from:
_create_device_info_with_usage in libHShdp-0.1.7-94b6b9fe.a(hid.o)
Undefined symbols for architecture x86_64:
"_IORegistryEntryGetPath", referenced from:
_create_device_info_with_usage in libHShdp-0.1.7-94b6b9fe.a(hid.o)
Undefined symbols for architecture x86_64:
"_IORegistryEntryGetPath", referenced from:
_create_device_info_with_usage in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDDeviceUnscheduleFromRunLoop", referenced from:
"_IOHIDDeviceUnscheduleFromRunLoop", referenced from:
"_IOHIDDeviceUnscheduleFromRunLoop", referenced from:
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDDeviceSetReport", referenced from:
"_IOHIDDeviceSetReport", referenced from:
"_IOHIDDeviceSetReport", referenced from:
_hid_write in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_write in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_write in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_kIOMasterPortDefault", referenced from:
"_kIOMasterPortDefault", referenced from:
"_kIOMasterPortDefault", referenced from:
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDDeviceRegisterInputReportCallback", referenced from:
"_IOHIDDeviceRegisterInputReportCallback", referenced from:
"_IOHIDDeviceRegisterInputReportCallback", referenced from:
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOObjectRelease", referenced from:
"_IOObjectRelease", referenced from:
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOObjectRelease", referenced from:
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDDeviceCreate", referenced from:
"_IOHIDDeviceCreate", referenced from:
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDDeviceCreate", referenced from:
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDManagerCreate", referenced from:
"_IOHIDManagerCreate", referenced from:
"_IOHIDManagerCreate", referenced from:
_hid_init in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_init in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_init in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDManagerCopyDevices", referenced from:
"_IOHIDManagerCopyDevices", referenced from:
"_IOHIDManagerCopyDevices", referenced from:
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IORegistryEntryFromPath", referenced from:
"_IORegistryEntryFromPath", referenced from:
"_IORegistryEntryFromPath", referenced from:
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDDeviceOpen", referenced from:
"_IOHIDDeviceOpen", referenced from:
"_IOHIDDeviceOpen", referenced from:
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDManagerSetDeviceMatching", referenced from:
"_IOHIDManagerSetDeviceMatching", referenced from:
"_IOHIDManagerSetDeviceMatching", referenced from:
_hid_init in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_init in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_init in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDDeviceGetProperty", referenced from:
"_IOHIDDeviceGetProperty", referenced from:
"_IOHIDDeviceGetProperty", referenced from:
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_create_device_info_with_usage in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_create_device_info_with_usage in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_create_device_info_with_usage in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDManagerClose", referenced from:
"_IOHIDManagerClose", referenced from:
_hid_exit in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_exit in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDManagerClose", referenced from:
_hid_exit in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDDeviceClose", referenced from:
"_IOHIDDeviceClose", referenced from:
"_IOHIDDeviceClose", referenced from:
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDDeviceScheduleWithRunLoop", referenced from:
_read_thread in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDDeviceScheduleWithRunLoop", referenced from:
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_read_thread in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDDeviceScheduleWithRunLoop", referenced from:
_read_thread in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDDeviceRegisterRemovalCallback", referenced from:
"_IOHIDDeviceRegisterRemovalCallback", referenced from:
"_IOHIDDeviceRegisterRemovalCallback", referenced from:
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_close in libHShdp-0.1.7-94b6b9fe.a(hid.o)
"_IOHIDManagerScheduleWithRunLoop", referenced from:
"_IOHIDManagerScheduleWithRunLoop", referenced from:
"_IOHIDManagerScheduleWithRunLoop", referenced from:
_hid_init in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_init in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_init in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_enumerate in libHShdp-0.1.7-94b6b9fe.a(hid.o)
_hid_open_path in libHShdp-0.1.7-94b6b9fe.a(hid.o)
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gcc' failed in phase
Linker'. (Exit code: 1)
gcc' failed in phase
Linker'. (Exit code: 1)
gcc' failed in phase
Linker'. (Exit code: 1)
Building linear-1.20.9 (all, legacy fallback)
Installing linear-1.20.9 (all, legacy fallback)
Completed linear-1.20.9 (all, legacy fallback)
cabal: Failed to build test:leftJoyCon from switch-0.1.0.0.
Failed to build test:proController from switch-0.1.0.0.
Failed to build test:rightJoyCon from switch-0.1.0.0.
Setup : mac os Big sur 11.2.3, ghc 8.10.4, cabal 3.4.0.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.