login|Register
Forum > C/C++
Post|
看13600|回8|Favorite
vegetablu 看全部
2017-12-4 02:28:53
Hello all.
I'm Daniele, and I have a Orange Pi Pc.
I had installed Ubuntu Vivid Mate. I would like programming in C/C++/Java the GPIO port, but I have many problems and I ask to you help.

In python GPIO work. In C, there are the errors.
When I installed the Wiring Pi I had have problems.

I would like reinstall all from the begining.
My finally use is: connect IMU (gyroscope,accelerometer) with OPI.
Can you help me? Thank you.

igorpec 看全部
2017-12-4 02:53:06
vegetablu 看全部
2017-12-4 06:21:42
Edited by vegetablu at 2017-12-4 06:36

I attach a screenshot of my errors.
How can I resolve this?

Thank you
attachment: 您需要登录才可以下载或查看附件。没有账号?Register
igorpec 看全部
2017-12-4 13:22:49
I am not the author and I have no idea which system are you using.
nopnop2002 看全部
2017-12-4 17:28:19
@vegetablu

When you use Ubuntu,you need pthread library.
cc main.c armbianio.c -lpthread

When you use Debian,you don't need pthread library.
cc main.c armbianio.c
12NextPage

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC