Closed gaming-hacker closed 3 years ago
It's actually a Rust program!
Install rust https://www.rust-lang.org/tools/install
Then cargo build --release
. Binary will be located in target/release/tickrs
. Super easy!
Great thanks for that.
Anyone else get this error building on OSX 10.13 or 10.14?
The following warnings were emitted during compilation:
"curl/lib/connect.c"
cargo:warning=curl/lib/connect.c: In function 'singleipconnect':
cargo:warning=curl/lib/connect.c:1253:10: warning: implicit declaration of function '__builtin_available'; did you mean '__builtin_scalbl'? [-Wimplicit-function-declaration]
cargo:warning= 1253 | if(__builtin_available(macOS 10.11, iOS 9.0, tvOS 9.0, watchOS 2.0, *)) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~
cargo:warning= | __builtin_scalbl
cargo:warning=curl/lib/connect.c:1253:30: error: 'macOS' undeclared (first use in this function)
cargo:warning= 1253 | if(__builtin_available(macOS 10.11, iOS 9.0, tvOS 9.0, watchOS 2.0, *)) {
cargo:warning= | ^~~~~
cargo:warning=curl/lib/connect.c:1253:30: note: each undeclared identifier is reported only once for each function it appears in
cargo:warning=curl/lib/connect.c:1253:35: error: expected ')' before numeric constant
cargo:warning= 1253 | if(__builtin_available(macOS 10.11, iOS 9.0, tvOS 9.0, watchOS 2.0, *)) {
cargo:warning= | ^~~~~~
cargo:warning= | )
exit code: 1
error: failed to run custom build command for curl-sys v0.4.40+curl-7.75.0
--- stderr fatal: not a git repository (or any of the parent directories): .git
Hmm not sure.
I do have a release for macos you can download:
https://github.com/tarkah/tickrs/releases/download/v0.14.4/tickrs-v0.14.4-x86_64-apple-darwin.tar.gz
Thanks but that works for OSX 10.15+, I have 10.13 and 10.14
Ahh, I see. Were you able to figure it out? I can add a feature flag to disable building static curl and instead have it dynamically link to your systems curl, which should fix the issue for you.
Hi, Can you add in your readme some basic build instructions for non "go" people? ldflags, etc