cronologic-de / xhptdc8_babel

Wrappers, Utilities and Examples for using the xHPTDC8 with various programming languages.
Mozilla Public License 2.0
0 stars 1 forks source link

Add Info-Tool Binary to the Driver installer #32

Closed sulimma closed 3 years ago

sulimma commented 3 years ago

This will be done by Dennis.

@Bassem-Ramzy: Please work with Dennis on a way to automatically get the latest binary to the installer. You could have a github action that compiles the binary upon push and the Dennis uses his build script to download the asset.

Or any other way that is convenient and reliable.

Bassem-Ramzy commented 3 years ago

Building 368 GOARCH causes errors: looks related to package visibility:

xhptdc8_info_display\utilities.go:20:34: undefined: Crono_int_t
.\info_aux.go:51:13: undefined: xhptdc8_info_display.Init_globals
.\info_aux.go:56:20: undefined: xhptdc8_info_display.Get_devices_count
.\

Working on that

Bassem-Ramzy commented 3 years ago

I'm getting a weird error from go compiler when building it for x86, after researching a lot with many trials, I submitted an issue on go, hope to get a quick resolution. I believe there is some settings that I don't know.

Bassem-Ramzy commented 3 years ago

And, https://stackoverflow.com/questions/67108696/go-build-error-build-constraints-exclude-all-go-files-when-goarch-386-with-imp

Bassem-Ramzy commented 3 years ago

xhptdc8_info.exe & xhptdc8_info_64.exe are automatically built using github action and pushed to \go\info\bin corresponding sub-folder