Comments (2)
@xmaxmex , thanks for flagging this issue.
The build process is a separate process from the rest of the dms3 executables, and relies on your local machine environment configuration. While I was unable to reproduce the issue that you had (running golang 1.17.7), I can provide you with some debugging actions that may help resolve the issue.
The build process happens in func BuildComponents()
(file lib_build.go
in /dms3build
). You'll see that this function iterates on the BuildEnv
map variable. Confirm the proper configuration of BuildEnv
variable (no changes should be required). Since the process exits on the compilation of individual platforms, I suspect that your local machine configuration may not support them all. These include (by default):
linuxArm6 platformType = "linuxArm6"
linuxArm7 platformType = "linuxArm7"
linuxArm8 platformType = "linuxArm8"
linuxAMD64 platformType = "linuxAMD64"
The respective compiler tags are as follows:
compileTags: "GOOS=linux GOARCH=arm GOARM=6"
compileTags: "GOOS=linux GOARCH=arm GOARM=7"
compileTags: "GOOS=linux GOARCH=arm64"
compileTags: "GOOS=linux GOARCH=amd64"
So, to test your that your local machine environment can build these different executables, I'd recommend that you build each by hand, on command line, to confirm that each will platform executable will build correctly. In short, we're going to do what BuildComponents()
does programmatically.
For example, to build the ARM6 version of dms3client
, you'd run the following command:
env GOOS=linux GOARCH=arm GOARM=6 go build -o dms3_release/cmd/linux_arm6/dms3client cmd/dms3client/dms3client.go
Note that the output location (dms3_release) is created as part of the build process, so feel free to save the output file (the -o flag) to another existing location.
I'd suggest you iterate over all of the platform types to identify the failing environment configuration. This will be helpful in identifying dependencies.
I'd suspect that the failure you're experiencing has something to do with the local machine build environment (possibly the golang environment). If this is indeed the case, it's possible that there is a local build environment requirement that has not yet been documented.
Good luck with your investigation.
Rich
from go-distributed-motion-s3.
No follow-up response from OP, so closing out this ticket.
from go-distributed-motion-s3.
Related Issues (20)
- topology image
- Provide Access to Event Images on the Dashboard HOT 1
- Complete Code Coverage for DMS3Libs HOT 1
- Update Kernel Version in Dashboard HOT 1
- Dashboard Notifies Client Non-Report Events
- Update project to follow idiomatic Go best practices HOT 1
- new dashboard
- new email
- new dms3 topology
- new dms3 workflow diagram
- activity diagram
- Move Client/Server Messaging to Pub/Sub Protocol
- dashboard
- Support for the OpenCV Library
- Bluetooth User Proxy Sensing
- IPv6 Protocol Support HOT 1
- Move to Websocket Protocol (or Similar) HOT 2
- Add Event Discriminators to Dashboard
- Add Support for Enumerating Multiple SBC Vendors HOT 1
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 go-distributed-motion-s3.