Giter VIP home page Giter VIP logo

hydrajoy's People

Contributors

yomboprime avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hydrajoy's Issues

Can't compile

I was going to start work on a pull request, but I was unable to compile hydrajoy (even without modification). When I run make, I get the following errors:

jayman@Jason-Desktop-Linux:~/.local/opt/hydrajoy/src$ make
gcc -L"../lib/sixense/lib/linux_x64/release/" hydrajoy.c -o hydrajoy64 -lsixense_x64
hydrajoy.c: In function ‘main’:
hydrajoy.c:109:9: warning: implicit declaration of function ‘write’ [-Wimplicit-function-declaration]
         write( fd, eventBuffer, numBytes );
         ^
hydrajoy.c: In function ‘initHydra’:
hydrajoy.c:152:13: warning: format not a string literal and no format arguments [-Wformat-security]
             printf( "Connected to Razer Hydra base number %d\n" + i );
             ^
hydrajoy.c: In function ‘initUInput’:
hydrajoy.c:176:14: warning: implicit declaration of function ‘open’ [-Wimplicit-function-declaration]
     int fd = open( uinputPath1, O_WRONLY | O_NONBLOCK);
              ^
hydrajoy.c: In function ‘finishUInput’:
hydrajoy.c:234:10: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
     if ( close(fd) ) {
          ^
/tmp/ccNiNgfu.o: In function `fillHydraEvents':
hydrajoy.c:(.text+0x587): undefined reference to `fillKeyEvent'
hydrajoy.c:(.text+0x5b8): undefined reference to `fillKeyEvent'
hydrajoy.c:(.text+0x5e9): undefined reference to `fillKeyEvent'
hydrajoy.c:(.text+0x61a): undefined reference to `fillKeyEvent'
hydrajoy.c:(.text+0x64b): undefined reference to `fillKeyEvent'
/tmp/ccNiNgfu.o:hydrajoy.c:(.text+0x67e): more undefined references to `fillKeyEvent' follow
/tmp/ccNiNgfu.o: In function `fillHydraEvents':
hydrajoy.c:(.text+0x833): undefined reference to `fillPositionalAxisEvent'
hydrajoy.c:(.text+0x861): undefined reference to `fillPositionalAxisEvent'
hydrajoy.c:(.text+0x88f): undefined reference to `fillPositionalAxisEvent'
hydrajoy.c:(.text+0x8bd): undefined reference to `fillRawAxisEvent'
hydrajoy.c:(.text+0x8eb): undefined reference to `fillRawAxisEvent'
hydrajoy.c:(.text+0x919): undefined reference to `fillRawAxisEvent'
hydrajoy.c:(.text+0x947): undefined reference to `fillRawAxisEvent'
hydrajoy.c:(.text+0x975): undefined reference to `fillRawAxisEvent'
/tmp/ccNiNgfu.o:hydrajoy.c:(.text+0x9e6): more undefined references to `fillRawAxisEvent' follow
/tmp/ccNiNgfu.o: In function `fillHydraEvents':
hydrajoy.c:(.text+0xa32): undefined reference to `fillSyncEvent'
collect2: error: ld returned 1 exit status
Makefile:5: recipe for target 'hydrajoy64' failed
make: *** [hydrajoy64] Error 1
jayman@Jason-Desktop-Linux:~/.local/opt/hydrajoy/src$

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.