Missing wiringpi lib [message #1851616] |
Mon, 11 April 2022 09:49 |
Kurt Struevy Messages: 45 Registered: May 2016 |
Member |
|
|
Hello,
first of all, I'm very satisfied with eclipse 2022-03. Thanks to the designers!
I have only one little problem. To make an application for a raspberry I need wiringpi to control GPIOs.
There is no such library on my host. I use the Prebuilt Windows Toolchain for Raspberry Pi on https://gnutoolchains.com/raspberry/.
But they do not provide this library.
Is there any way to install/create this lib?
What I have are all the necessary header and c files.
Does it help if I build the library using eclipse? How can I create a library? I can't ana instruction how th make it.
Could somebody help me.
Kurt
[Updated on: Mon, 11 April 2022 09:50] Report message to a moderator
|
|
|
|
|
Re: Missing wiringpi lib [message #1851856 is a reply to message #1851842] |
Wed, 20 April 2022 10:14 |
Kurt Struevy Messages: 45 Registered: May 2016 |
Member |
|
|
thanks a lot for your answers
@ Tauno Voipio thanksfor yourvery good description.
It sounds quiet easy but I run Eclipse on a windows 10 machine and the toolcahin from here : https://gnutoolchains.com/raspberry64/ and it is quiet difficult to find out where the include- and lib-files have to be located.
There are also some links found on the rapberry:
lrwxrwxrwx 1 root root 22 Apr 18 09:24 libwiringPiDev.so -> libwiringPiDev.so.2.70
-rwxr-xr-x 1 root root 27844 Apr 18 09:24 libwiringPiDev.so.2.70
lrwxrwxrwx 1 root root 19 Apr 18 09:24 libwiringPi.so -> libwiringPi.so.2.70
-rwxr-xr-x 1 root root 69860 Apr 18 09:24 libwiringPi.so.2.70
and I do not know how to handle it.
This toolchain doesn't include wiringpi at all:
The includefile works good, birt the lib file cannot be found by the linker.
@ tepalia02 02,
it is not clear how to make this.
I will try it.
[Updated on: Wed, 20 April 2022 14:19] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04955 seconds