Comments (6)
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.
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.
can you provide error messages from any of your attempts?
from powerslaves.
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.
Ok, thank you. That actually worked it seems.
from powerslaves.
Another issue that I'm having, one of the examples failed to initialise the PowerSaves.
from powerslaves.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerslaves.