wiringpi官网关闭后如何下载

按照下载wiringpi库时发现官网只剩下这个页面

作者说明这个官网已经关闭,再也不能下载任何东西了(除非有他的邮箱)。早在2019年作者就发表一篇公开信,阐述了开源精神的困难坚持和放弃。我将这篇信放在文章末尾。没有了官网,我们可以从github上下载镜像。

在VNC的操作命令窗口输入以下指令

git clone https://github.com/WiringPi/WiringPi.git

输入后会得到这样

再打开保存的wiringpi目录,输入./build进行安装

最后输入gpio -v检查是否安装成功

发现2.70版本安装成功,至此问题解决。

以上操作方法都是从网上搜集过来,感谢其他人的分享,附上wiringpi的作者信并为开源精神的牺牲默哀。

wiringPi – deprecated…
Posted on August 6, 2019 by Gordon
This has turned into a bit of a rant. Sorry.
The past 10 years or so has seen a lot of changes in my life dominated by physical and mental health issues, businesses coming and going, but also a little fun with retro-computing, arduino, and the Raspberry Pi, and the wiringPi GPIO library I’ve written for it.
However in recent years the Raspberry Pi has changed from a little hacker toy into something bigger and more and more people are turning to Python and other languages which wiringPi was never designed to support – wiringPi was designed to be used by experienced C and RTB BASIC programmers. It is not a newbie learning tool.
I never intended for wiringPi to be statically linked either – and thanks to the incompetence of many people who have done just this, I’ve had over 10,000 emails from people who upgraded their Pi and found that code stopped working because they were reliant on a system (typically some java/javascript

de or home automation or UPS thing) which had statically linked an older version. This sheer incompetence on their part has saddened and depressed me hugely. Hint for the future: If you’re going to do this, at least be prepared to support it.
Add to that the people who have “bludgeoned” wiringPi to work on other fruit Pi platforms, but left my name as the contact email … well, thanks for using wiringPi, but no thanks for expecting me to support your one-shot cheap barely working board. If you want support then buy a genuine Raspberry Pi which will help fund education and research and not some cheap knock-off just because it has something that appears to be faster/bigger/better.
And those who’ve stolen my software and sold it as your own? Hm. Sure – it’s hard to steal free software, but say you’re a German Pi UPS maker and you pull apart wiringPi to get just the bits you need, statically link that into your own control code, but rather than publish the code and a little “thanks” note you leave my email address it in, then the poor user who has paid you their good money to buy your kit gets in-touch with me when they upgrade their Pi…
Sadly, that’s the tip of the rapidly melting iceberg, but by no means the only case. The sad thing is that people steal GPL, LGPL and other Free/Libre software all the time. I’ve even had someone tell me to my face that they would take and re-publish my code under their name because there is nothing I can do about it. So no more.
And then there’s the lazy. I’ve lost track of the number of people asking me if wiringPi can support this, that, the other… so I say yes, all you have to do is write the code to support your device… Then they get upset because they don’t know how to (did I mention it’s not a newbie learning tool?) Or I quote them a fee and they get even more upset because – free software and all that…. And my twitter feed? For years I put in my profile: wiringPi support by email… Yet people still tweet about it. Don’t people even read others profiles? I guess not. I removed that recently because it wasn’t worth the space.
The confusion about pin numbering too. I’ve had many emails and tweets about it – why? Because people are too lazy to read the fine manuals or take the time to understand how and why. This is the last word on pin numbering.
The final straw? An individual by the name of DanielK who bleated at me for not releasing the sources for the Pi v4 version in a timely manner. I’d put up a .deb file designed for the correct dynamic linking, but Daniel pointed out
Not to be a complete ass or anything, but technically the LGPL license REQUIRES you to make the sources available when it’s released.
Great. Thanks, Dan. As I had limited capacity available at the time, I just felt that that was that. If I’m going to get emails like that for a little project then it’s not worth it anymore.
I will make a final release of wiringPi available soon – with the sources, but that’s that. No more public releases. I’ll still be maintaining it for my own uses and clients, but for everyone else, please look at for alternative GPIO library for on-going projects.
-Gordon, August, 2019.
wiringPi -弃用…

戈登于2019年8月6日发布
这已经变成了一种咆哮。对不起。
在过去的10年左右,我的生活发生了很多变化,主要是身心健康问题,生意来来去去,但也有一些有趣的东西,比如旧电脑,arduino, Raspberry Pi,还有我为它写的wiringPi GPIO图书馆。
然而,近年来,树莓派已经从一个小黑客玩具变成了一个更大的东西,越来越多的人转向Python和其他语言,wiringPi从来没有被设计来支持- wiringPi被设计来供有经验的C和RTB基础程序员使用。它不是新手的学习工具。
我从来没有用于wiringPi是静态链接的,由于许多人的无能所做的只是这个,我收到超过10000封电子邮件的人升级其π,发现代码停止工作,因为他们依赖于一个系统(通常是一些java / javascript /节点或家庭自动化或UPS的事情)静态链接的一个旧版本。他们这种完全的无能让我极度悲伤和沮丧。给未来的提示:如果您打算这样做,至少要准备好支持它。
还有那些曾“恐吓”wiringPi在其他水果Pi平台上工作,但留下我的名字作为联系电子邮件的人……好吧,谢谢你们使用wiringPi,但不要期待我支持你们的一次性廉价工作板。如果你想获得支持,那就买一个真正的树莓派,这将有助于资助教育和研究,而不是一些廉价的仿冒品,因为它看起来更快/更大/更好。
还有那些偷了我的软件然后把它当成自己的卖了的人呢?嗯。确定,很难偷免费软件,但是你是一个德国πUPS制造商,你撕开wiringPi得到你所需要的部分,静态地链接到自己的控制代码,而不是发布代码,一个“谢谢”注意你留下我的电子邮件地址,然后可怜的用户支付你自己好钱买你的装备会与我联系当他们升级π…
可悲的是,这只是冰山迅速融化的一角,但绝不是唯一的情况。可悲的是,人们一直在偷GPL、LGPL和其他免费软件。甚至有人当面告诉我,他们将以他们的名义重新发布我的代码,因为我对此无能为力。所以没有更多。
还有懒惰的人。我忘记问我的人数如果wiringPi能支持这个,其他的…所以我说没错,你所要做的就是写代码来支持你的设备……然后他们感到不安,因为他们不知道如何(我提到它不是一个新手学习工具?)或者我给他们报价,他们就会更生气,因为——免费软件之类的东西……我的推特账号呢?多年来,我在我的个人资料中添加了:wiringPi支持通过电子邮件…但人们仍然在推特上谈论它。人们难道不会看别人的简介吗?我猜不是。我最近删除了它,因为它不值得这个空间。
关于密码的混乱也是如此。我收到了很多关于它的电子邮件和推特——为什么?因为人们太懒了,没有时间去读那些精美的手册,或者花时间去理解如何去做以及为什么去做。这是pin号的最后一个字。
最后一根稻草?一个叫DanielK的人抱怨我没有及时发布Pi v4版本的源代码。我提供了一个。deb文件,用于正确的动态链接,但Daniel指出
不是要成为一个完全的傻瓜,但是从技术上讲,LGPL许可证要求您在它发布时提供源代码。
太好了。谢谢你,丹。因为当时我的能力有限,我只是觉得那就是我想要的。如果我要为一个小项目收到这样的邮件,那就不值得了。
我很快就会发布wiringPi的最终版本——包括资料来源,但仅此而已。不再公开发布。我仍然会为自己的使用和客户端维护它,但是对于其他人,请查看用于正在进行的项目的替代GPIO库。
戈登,2019年8月。
 

https://blog.csdn.net/qq_27320195/article/details/107143659

https://blog.csdn.net/ICXBK/article/details/108461743

  • 19
    点赞
  • 32
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值