Skip to content

Commit

Permalink
deploy: 7ff0219
Browse files Browse the repository at this point in the history
  • Loading branch information
kira-96 committed Jun 7, 2024
1 parent 1cf573d commit ea43742
Show file tree
Hide file tree
Showing 23 changed files with 40 additions and 31 deletions.
2 changes: 1 addition & 1 deletion archives/index.html

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion categories/epics/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@
安装EPICS 这里不再写具体步骤了,总之就是非常简单,下载、解压、编译即可。具体步骤可以参考以前的文章。
安装Qt 直接使用终端安装Qt
1 2 3 4 5 sudo apt update sudo apt install qtbase5-dev qt5-qmake qtcreator sudo apt install qtdeclarative5-dev qttools5-dev # 安装Qt Svg库,编译QWT时需要用到 sudo apt install libqt5svg5-dev 安装QWT Qt EPICS推荐使用Qwt 6.1.4,如果在Ubuntu 20.04上直接通过终端安装也是这个版本。我使用Qwt 6.2.0编译,也是没有问题的,这里以Qwt 6.2.0为例。
最新测试:Qwt 6.3.0也可以用 ~
先下载Qwt的源码 下载Qwt-6.2.0。 下载完成后解压
1 2 3 4 # 解压tar.bz2 tar -jxvf qwt-6.2.0.tar.bz2 # 解压zip unzip qwt-6.2.0.zip 解压完成后编译Qwt,使用QtCreator或者在终端使用qmake都可以。
然后手动将编译生成的文件复制到以下位置,例:
1 2 3 4 5 6 7 # 复制编译生成的qwt sudo cp -r build-qwt-unknown-Release/lib/* /usr/lib/loongarch64-linux-gnu/ # 复制编译生成的designer插件 sudo cp build-qwt-unknown-Release/designer/plugins/designer/libqwt_designer_plugin....</p></div><footer class=entry-footer><span title='2023-05-04 15:06:56 +0800 +0800'>五月 4, 2023</span>&nbsp;·&nbsp;2 分钟&nbsp;·&nbsp;342</footer><a class=entry-link aria-label="post link to EPICS Qt安装" href=https://kira-96.github.io/posts/epics-qt%E5%AE%89%E8%A3%85/></a></article><article class="post-entry tag-entry"><header class=entry-header><h2 class=entry-hint-parent>龙芯3A5000(LoongArch64)上编译运行EPICS</h2></header><div class=entry-content><p>前言 之前尝试过在龙芯3A4000上编译运行EPICS,由于3A4000还是mips64指令集,而3A5000则是龙芯的自主指令集loongarch64,适配起来步骤也会有所不同。
1 2 3 4 5 6 7 # 复制编译生成的qwt sudo cp -r build-qwt-unknown-Release/lib/* /usr/lib/loongarch64-linux-gnu/ # 复制编译生成的designer插件 sudo cp build-qwt-unknown-Release/designer/plugins/designer/libqwt_designer_plugin....</p></div><footer class=entry-footer><span title='2023-05-04 15:06:56 +0800 +0800'>五月 4, 2023</span>&nbsp;·&nbsp;2 分钟&nbsp;·&nbsp;350</footer><a class=entry-link aria-label="post link to EPICS Qt安装" href=https://kira-96.github.io/posts/epics-qt%E5%AE%89%E8%A3%85/></a></article><article class="post-entry tag-entry"><header class=entry-header><h2 class=entry-hint-parent>龙芯3A5000(LoongArch64)上编译运行EPICS</h2></header><div class=entry-content><p>前言 之前尝试过在龙芯3A4000上编译运行EPICS,由于3A4000还是mips64指令集,而3A5000则是龙芯的自主指令集loongarch64,适配起来步骤也会有所不同。
这次使用的是龙博特龙芯3A5000电脑主机。
虽然EPICS官方并没有适配loongarch和mips64,无法做到开箱即用,但只要有gcc、g++、make、perl这些工具,理论上就能编译运行EPICS,在开始编译前,确保你的设备上已经装好了这些工具。
关于如何称呼「龙架构」,龙芯社区也有一些讨论。最初我直接使用loongarch64,后来也使用过la64作为简写,直到我看到如何称呼龙架构?,我觉得有必要和社区保持一致,后续统一使用 loong64 作为架构标识。
Expand Down
2 changes: 1 addition & 1 deletion categories/epics/index.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>EPICS on ✨kiraの博客</title><link>https://kira-96.github.io/categories/epics/</link><description>Recent content in EPICS on ✨kiraの博客</description><generator>Hugo -- gohugo.io</generator><language>zh</language><copyright>Copyright © 2019-2024 [kira's blog](/) &amp;#183;</copyright><lastBuildDate>Wed, 29 May 2024 14:52:04 +0800</lastBuildDate><atom:link href="https://kira-96.github.io/categories/epics/index.xml" rel="self" type="application/rss+xml"/><item><title>EPICS IOC 访问安全</title><link>https://kira-96.github.io/posts/epics-ioc-access-security/</link><pubDate>Mon, 18 Mar 2024 09:52:05 +0800</pubDate><guid>https://kira-96.github.io/posts/epics-ioc-access-security/</guid><description>EPICS IOC 数据访问安全配置</description></item><item><title>龙芯开发板移植 IgH EtherCAT Master</title><link>https://kira-96.github.io/posts/%E9%BE%99%E8%8A%AF%E5%BC%80%E5%8F%91%E6%9D%BF%E7%A7%BB%E6%A4%8Digh-ethercat-master/</link><pubDate>Fri, 23 Feb 2024 12:54:31 +0800</pubDate><guid>https://kira-96.github.io/posts/%E9%BE%99%E8%8A%AF%E5%BC%80%E5%8F%91%E6%9D%BF%E7%A7%BB%E6%A4%8Digh-ethercat-master/</guid><description>龙芯2K0500开发板移植EtherCAT主站程序和EPICS EtherCAT模块</description></item><item><title>EPICS的MODBUS模块的编译和使用</title><link>https://kira-96.github.io/posts/build-epics-module-modbus/</link><pubDate>Tue, 02 Jan 2024 14:38:38 +0800</pubDate><guid>https://kira-96.github.io/posts/build-epics-module-modbus/</guid><description>交叉编译EPICS的MODBUS模块</description></item><item><title>交叉编译 ACAI</title><link>https://kira-96.github.io/notes/cross-compiling-acai/</link><pubDate>Tue, 26 Dec 2023 19:31:56 +0800</pubDate><guid>https://kira-96.github.io/notes/cross-compiling-acai/</guid><description>交叉编译 ACAI</description></item><item><title>交叉编译EPICS和IOC</title><link>https://kira-96.github.io/posts/%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91epics%E5%92%8Cioc/</link><pubDate>Tue, 12 Dec 2023 16:26:35 +0800</pubDate><guid>https://kira-96.github.io/posts/%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91epics%E5%92%8Cioc/</guid><description>Linux交叉编译EPICS</description></item><item><title>Windows上使用MinGW编译安装EPICS</title><link>https://kira-96.github.io/notes/windows%E4%B8%8A%E4%BD%BF%E7%94%A8mingw%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85epics/</link><pubDate>Wed, 29 Nov 2023 18:57:02 +0800</pubDate><guid>https://kira-96.github.io/notes/windows%E4%B8%8A%E4%BD%BF%E7%94%A8mingw%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85epics/</guid><description>需要使用的软件 Strawberry Perl for Windows EPICS Base 编译Base需要有gcc、g++、make、perl这些工具,但其实我们只需要安装Strawberry Perl就可以了,安装完成后就有了MinGW的编译环境,足够编译安装EPICS了。
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>EPICS on ✨kiraの博客</title><link>https://kira-96.github.io/categories/epics/</link><description>Recent content in EPICS on ✨kiraの博客</description><generator>Hugo -- gohugo.io</generator><language>zh</language><copyright>Copyright © 2019-2024 [kira's blog](/) &amp;#183;</copyright><lastBuildDate>Fri, 07 Jun 2024 14:51:36 +0800</lastBuildDate><atom:link href="https://kira-96.github.io/categories/epics/index.xml" rel="self" type="application/rss+xml"/><item><title>EPICS IOC 访问安全</title><link>https://kira-96.github.io/posts/epics-ioc-access-security/</link><pubDate>Mon, 18 Mar 2024 09:52:05 +0800</pubDate><guid>https://kira-96.github.io/posts/epics-ioc-access-security/</guid><description>EPICS IOC 数据访问安全配置</description></item><item><title>龙芯开发板移植 IgH EtherCAT Master</title><link>https://kira-96.github.io/posts/%E9%BE%99%E8%8A%AF%E5%BC%80%E5%8F%91%E6%9D%BF%E7%A7%BB%E6%A4%8Digh-ethercat-master/</link><pubDate>Fri, 23 Feb 2024 12:54:31 +0800</pubDate><guid>https://kira-96.github.io/posts/%E9%BE%99%E8%8A%AF%E5%BC%80%E5%8F%91%E6%9D%BF%E7%A7%BB%E6%A4%8Digh-ethercat-master/</guid><description>龙芯2K0500开发板移植EtherCAT主站程序和EPICS EtherCAT模块</description></item><item><title>EPICS的MODBUS模块的编译和使用</title><link>https://kira-96.github.io/posts/build-epics-module-modbus/</link><pubDate>Tue, 02 Jan 2024 14:38:38 +0800</pubDate><guid>https://kira-96.github.io/posts/build-epics-module-modbus/</guid><description>交叉编译EPICS的MODBUS模块</description></item><item><title>交叉编译 ACAI</title><link>https://kira-96.github.io/notes/cross-compiling-acai/</link><pubDate>Tue, 26 Dec 2023 19:31:56 +0800</pubDate><guid>https://kira-96.github.io/notes/cross-compiling-acai/</guid><description>交叉编译 ACAI</description></item><item><title>交叉编译EPICS和IOC</title><link>https://kira-96.github.io/posts/%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91epics%E5%92%8Cioc/</link><pubDate>Tue, 12 Dec 2023 16:26:35 +0800</pubDate><guid>https://kira-96.github.io/posts/%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91epics%E5%92%8Cioc/</guid><description>Linux交叉编译EPICS</description></item><item><title>Windows上使用MinGW编译安装EPICS</title><link>https://kira-96.github.io/notes/windows%E4%B8%8A%E4%BD%BF%E7%94%A8mingw%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85epics/</link><pubDate>Wed, 29 Nov 2023 18:57:02 +0800</pubDate><guid>https://kira-96.github.io/notes/windows%E4%B8%8A%E4%BD%BF%E7%94%A8mingw%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85epics/</guid><description>需要使用的软件 Strawberry Perl for Windows EPICS Base 编译Base需要有gcc、g++、make、perl这些工具,但其实我们只需要安装Strawberry Perl就可以了,安装完成后就有了MinGW的编译环境,足够编译安装EPICS了。
这里使用MinGW环境编译EPICS,不使用MSVC编译器。
安装 Strawberry Perl 这里选择 Strawberry Perl 5.38.2.1。
直接安装即可,需要注意的是,安装路径不能有空格和中文,最好放在盘符的根目录下。
Expand Down
2 changes: 1 addition & 1 deletion categories/index.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Categories on ✨kiraの博客</title><link>https://kira-96.github.io/categories/</link><description>Recent content in Categories on ✨kiraの博客</description><generator>Hugo -- gohugo.io</generator><language>zh</language><copyright>Copyright © 2019-2024 [kira's blog](/) &amp;#183;</copyright><lastBuildDate>Wed, 29 May 2024 14:52:04 +0800</lastBuildDate><atom:link href="https://kira-96.github.io/categories/index.xml" rel="self" type="application/rss+xml"/><item><title>EPICS</title><link>https://kira-96.github.io/categories/epics/</link><pubDate>Mon, 18 Mar 2024 09:52:05 +0800</pubDate><guid>https://kira-96.github.io/categories/epics/</guid><description/></item><item><title>Hugo</title><link>https://kira-96.github.io/categories/hugo/</link><pubDate>Tue, 30 Jan 2024 09:45:30 +0800</pubDate><guid>https://kira-96.github.io/categories/hugo/</guid><description/></item><item><title>技术</title><link>https://kira-96.github.io/categories/%E6%8A%80%E6%9C%AF/</link><pubDate>Sat, 11 Nov 2023 15:45:11 +0800</pubDate><guid>https://kira-96.github.io/categories/%E6%8A%80%E6%9C%AF/</guid><description/></item><item><title>编程</title><link>https://kira-96.github.io/categories/%E7%BC%96%E7%A8%8B/</link><pubDate>Sun, 19 Feb 2023 10:23:19 +0800</pubDate><guid>https://kira-96.github.io/categories/%E7%BC%96%E7%A8%8B/</guid><description/></item><item><title>Linux</title><link>https://kira-96.github.io/categories/linux/</link><pubDate>Fri, 03 Feb 2023 11:34:14 +0800</pubDate><guid>https://kira-96.github.io/categories/linux/</guid><description/></item><item><title>DICOM</title><link>https://kira-96.github.io/categories/dicom/</link><pubDate>Fri, 30 Apr 2021 10:26:13 +0800</pubDate><guid>https://kira-96.github.io/categories/dicom/</guid><description/></item><item><title>分享</title><link>https://kira-96.github.io/categories/%E5%88%86%E4%BA%AB/</link><pubDate>Mon, 22 Mar 2021 10:07:35 +0800</pubDate><guid>https://kira-96.github.io/categories/%E5%88%86%E4%BA%AB/</guid><description/></item></channel></rss>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Categories on ✨kiraの博客</title><link>https://kira-96.github.io/categories/</link><description>Recent content in Categories on ✨kiraの博客</description><generator>Hugo -- gohugo.io</generator><language>zh</language><copyright>Copyright © 2019-2024 [kira's blog](/) &amp;#183;</copyright><lastBuildDate>Fri, 07 Jun 2024 14:51:36 +0800</lastBuildDate><atom:link href="https://kira-96.github.io/categories/index.xml" rel="self" type="application/rss+xml"/><item><title>EPICS</title><link>https://kira-96.github.io/categories/epics/</link><pubDate>Mon, 18 Mar 2024 09:52:05 +0800</pubDate><guid>https://kira-96.github.io/categories/epics/</guid><description/></item><item><title>Hugo</title><link>https://kira-96.github.io/categories/hugo/</link><pubDate>Tue, 30 Jan 2024 09:45:30 +0800</pubDate><guid>https://kira-96.github.io/categories/hugo/</guid><description/></item><item><title>技术</title><link>https://kira-96.github.io/categories/%E6%8A%80%E6%9C%AF/</link><pubDate>Sat, 11 Nov 2023 15:45:11 +0800</pubDate><guid>https://kira-96.github.io/categories/%E6%8A%80%E6%9C%AF/</guid><description/></item><item><title>编程</title><link>https://kira-96.github.io/categories/%E7%BC%96%E7%A8%8B/</link><pubDate>Sun, 19 Feb 2023 10:23:19 +0800</pubDate><guid>https://kira-96.github.io/categories/%E7%BC%96%E7%A8%8B/</guid><description/></item><item><title>Linux</title><link>https://kira-96.github.io/categories/linux/</link><pubDate>Fri, 03 Feb 2023 11:34:14 +0800</pubDate><guid>https://kira-96.github.io/categories/linux/</guid><description/></item><item><title>DICOM</title><link>https://kira-96.github.io/categories/dicom/</link><pubDate>Fri, 30 Apr 2021 10:26:13 +0800</pubDate><guid>https://kira-96.github.io/categories/dicom/</guid><description/></item><item><title>分享</title><link>https://kira-96.github.io/categories/%E5%88%86%E4%BA%AB/</link><pubDate>Mon, 22 Mar 2021 10:07:35 +0800</pubDate><guid>https://kira-96.github.io/categories/%E5%88%86%E4%BA%AB/</guid><description/></item></channel></rss>
Loading

0 comments on commit ea43742

Please sign in to comment.