Comments (3)
初步定为是交叉编译问题:
~/W/M/G/output ❯❯❯ file gofi-v0.5.0-linux-arm-5
gofi-v0.5.0-linux-arm-5: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-, for GNU/Linux 3.2.0, BuildID[sha1]=fba95cfe8f0183f66a5ca596d8c99b0ad70940a8, not stripped
~/W/M/G/output ❯❯❯ file gofi-linux-arm
gofi: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, not stripped
~/W/M/G/output ❯❯❯
from gofi.
Gofi使用的交叉编译工具是xgo,因为原作者的xgo不支持Go module特性,本地编译的话需要将项目放在$GoPath/src/目录下才能编译,遂使用了src.techknowlogick.com维护的fork版本,但是fork版本移除了对Android平台的支持。
目前暂时没有办法将Android编译这块整合进GithubActions持续集成中,暂时只能使用原版本的xgo引用Github仓库进行手动编译(xgo支持直接使用远程仓库编译)
from gofi.
解决方案一:构建脚本准备两份,一份为本地使用,一份为GitHubActions环境使用。
from gofi.
Related Issues (20)
- 请提供交叉编译指南 HOT 8
- 访问不了。 错误-网络连接断开 HOT 5
- 运行提示 -bash: ./gofi-linux-arm-5: 没有那个文件或目录 HOT 4
- 启动时必须指定-ip参数 HOT 2
- 有人在树莓派上部署么?上传慢不慢? HOT 1
- 为什么要把orm替换成ent呢? HOT 1
- 无法链接到符号链接 HOT 1
- 自从爆发疫情之后作者就不更新代码了呢 HOT 1
- 能否加个搜索文件名的功能? HOT 4
- excel word等办公文件在线预览编辑 HOT 2
- 文档链接挂了 HOT 1
- 好像不支持断点续传和分片下载? HOT 2
- Gofi预计在2021年8月31日前发布基于React重构的beta版本 HOT 2
- 赞一个
- 1.1.0-feature
- Error: network error HOT 1
- what's the default username/password ? HOT 2
- how to add a new language file in both front-end and back-end ? HOT 11
- docker安装后无法打开页面 HOT 1
- token might contain string "bearer"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gofi.