Giter Club home page Giter Club logo

Comments (6)

kitlith avatar kitlith commented on May 29, 2024 1

Those are warnings, not errors. Does the file libpowerslaves.a exist? If so, that's a successful compilation of the library.

If you want to compile the examples, you can run make example, and executable binaries should show up in the example directory.

from powerslaves.

kitlith avatar kitlith commented on May 29, 2024 1

That's bringing back some old memories -- someone else complained about that, too. I planned to try and investigate, but this got placed on the backburner and I haven't revisited the project since.

I have some vauge memories of it not being detected, and wanting to check vid/pid (or someone having checked vid/pid and discovering that it differs)

from powerslaves.

kitlith avatar kitlith commented on May 29, 2024

can you provide error messages from any of your attempts?

from powerslaves.

m4x10187 avatar m4x10187 commented on May 29, 2024

emily@emily-acerpc:~/source/powerslaves$ make
cc -o powerslaves.o -c powerslaves.c -pipe -O2 -fPIC -I. -Wall -Wextra -fno-strict-aliasing -Wno-error=unused-parameter -std=c11
powerslaves.c: In function ‘printcmd’:
powerslaves.c:55:47: warning: unused parameter ‘type’ [-Wunused-parameter]
55 | static void printcmd(enum powerslaves_cmdtype type, const uint8_t *buf) {}
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
powerslaves.c:55:68: warning: unused parameter ‘buf’ [-Wunused-parameter]
55 | tic void printcmd(enum powerslaves_cmdtype type, const uint8_t *buf) {}
| ~~~~~~~~~~~~~~~^~~

ar rcs libpowerslaves.a powerslaves.o
emily@emily-acerpc:~/source/powerslaves$

from powerslaves.

m4x10187 avatar m4x10187 commented on May 29, 2024

Ok, thank you. That actually worked it seems.

from powerslaves.

m4x10187 avatar m4x10187 commented on May 29, 2024

Another issue that I'm having, one of the examples failed to initialise the PowerSaves.

from powerslaves.

Related Issues (3)

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.