Coder Social home page Coder Social logo

switch's People

Contributors

amarrella avatar spamviech avatar typedbyte avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

switch's Issues

Doesnt work on mac os

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.