Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I also need something help with build bstp! #20

Closed
JohyC opened this issue Nov 15, 2021 · 4 comments
Closed

I also need something help with build bstp! #20

JohyC opened this issue Nov 15, 2021 · 4 comments

Comments

@JohyC
Copy link

JohyC commented Nov 15, 2021

I try to using go install github.com/ycd/dstp/cmd/dstp,but I not get bstp binary;
image
Using go build cmd/dstp/main.go and I also cann`t get bstp binary!
image

my os info!
image

@ycd
Copy link
Owner

ycd commented Nov 15, 2021

Hey @JohyC, as it states on the documentation, you need go +1.17 to build dstp from source due the usage of conditional compilation flags that is introduced in +1.17.

You can also download the compiled source code for dstp from releases.

@JohyC
Copy link
Author

JohyC commented Nov 15, 2021

oh no! I think go version before is 1.16+...So, now I need asked you for Cross compile advice.
i'm not expert at that golang Cross compile. 😅 😅😅
my os version is
Linux Armbian 5.10.28-aml-s812 #20.12 SMP Fri Apr 9 03:11:42 UTC 2021 armv7l GNU/Linux

@ycd
Copy link
Owner

ycd commented Nov 15, 2021

Just run go build . cmd/dstp/main.go with the right version and it will compile the binary for your OS and your CPU architecture.

@ycd
Copy link
Owner

ycd commented Nov 15, 2021

Closing the issue, if you encounter any errors further, please reopen the issue.

@ycd ycd closed this as completed Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants