View: 6722|Reply: 2

Error from WiringPi-Python-OP

[Copy link]

3

threads

6

posts

82

credits

Registered member

Rank: 2

credits
82
Published in 2016-7-17 23:29:08 | Show all floors |Read mode
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

3

threads

6

posts

82

credits

Registered member

Rank: 2

credits
82
 Author| Published in 2016-7-18 01:01:55 | Show all floors
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 += [wiringpi_wrap.c] in setup.py back to me now.
Tihnov

3

threads

6

posts

82

credits

Registered member

Rank: 2

credits
82
 Author| Published in 2016-7-18 00:13:28 | Show all floors
I had clone from "https://github.com/lanefu/WiringPi-Python-OP"
After I remove source += [wiringpi_wrap.c] in setup.py
I can install completely but have no wiringPi lib in library of python
Tihnov
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list