Shell-Company / go-scout

go-scout is a tool that allows you to control a Moorebot Scout robot from your computer (without using the mobile app). The robot is controlled using an XBOX controller, and video is displayed in a new window.
26 stars 5 forks source link

starting the program/exec binary file error #8

Closed KProgammer closed 1 year ago

KProgammer commented 1 year ago

Error Exec binary file Thanks so much for creating this! I'm looking forward to using it, but I'm not sure how to start it correctly. To start it I've just been pasting the command: ./scout -h "192.168.1.225:11311" into my Linux (ubuntu 18.04) bash terminal. When I do this I get the error: -bash: ./scout: cannot execute binary file: Exec format error. I've also used git bash to see if the problem was the Linux bash terminal ,but the same error occurred as well. Upon closer inspection, I think that the problem is that the scout binary file is written for a mac OS architecture and I'm using windows 11. Do you know anyway to get around that? I've tried to get around it by running it in Visual Studio Code, but with that method I've been getting an error that states it can't connect to the roshost address "http://192.168.1.224:11311/RPC2". Thanks so much for your time and effort!

KProgammer commented 1 year ago

I'm closing this issue since I was able to get around this problem by creating a binary file by navigating to the code in a terminal and then using the command: go build -o scout_windows_pe to create a file that I could run in my Git Bash terminal.