-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling does not work on OrangePi PC Plus #2
Comments
So |
These are the official instructions for the
cd ~/wiringOP
sudo ./build clean
sudo ./build |
This also doesn't work actually. I think there are some open issues in the actual code: Same error messages appear as before. I think I'll have to wait for a fix. Regards |
Oh that sucks. I'll add a note about this board on the README. |
Hi and thanks for your short instructions.
I tried it on a Oriange Pi PC Plus, but at the ent of compilation I get some warnings and the GPIO commands do not work.
GPIO Utility
[Compile] gpio.c
[Compile] readall.c
gpio.c: In function ‘doUsbP’:
gpio.c:944:25: warning: unused parameter ‘argc’ [-Wunused-parameter]
944 | static void doUsbP (int argc, char *argv [])
| ~~~~^~~~
gpio.c:944:37: warning: unused parameter ‘argv’ [-Wunused-parameter]
944 | static void doUsbP (int argc, char *argv [])
| ~~~~~~^~~~~~~
readall.c:1616:13: warning: ‘piPlusReadall’ defined but not used [-Wunused-function]
1616 | static void piPlusReadall (int model)
| ^~~~~~~~~~~~~
[Link]
[Install]
chown: warning: '.' should be ':': „root.root“
All Done.
NOTE: To compile programs with wiringPi, you need to add:
-lwiringPi
to your compile line(s) To use the Gertboard, MaxDetect, etc.
code (the devLib), you need to also add:
-lwiringPiDev
to your compile line(s).
pi@orangepipcplus:
$ sudo gpio readall$wiringPiSetup: mmap (PWM) failed: Invalid argument
pi@orangepipcplus:
Any ideas?
The text was updated successfully, but these errors were encountered: