tihnov post at 2016-7-17 23:29:08

Error from WiringPi-Python-OP

I had try to install WiringPi-Python-OP on OrangePi One.
And I got an error like this : arm-linux-gnueabihf-gcc: error: wiringpi_wrap.c: No such file or directory
I had check file that I had clone from github , I had not found wiringpi_wrap.c in that folder
Which file was import by setup.py

I 'll try to remove that line in setup.py but I don't know what wiringpi_wrap.c used for?
or What's matter if I had remove that line?


please someone check it.


Thank You

tihnov post at 2016-7-18 01:01:55

Oh... that's solved.
that's my fault.
I had no "wiringpi_wrap.c" because I use wrong typing command in "swig2.0 -python wiringpi.i"
that's not generate "wiringpi_wrap.c" and other file for installation.

and I can bring line source += in setup.py back to me now.

tihnov post at 2016-7-18 00:13:28

I had clone from "https://github.com/lanefu/WiringPi-Python-OP"
After I remove source += in setup.py
I can install completely but have no wiringPi lib in library of python
page: [1]
View full version: Error from WiringPi-Python-OP