From 8b45eb8735ca8ca0debc42d0b81c7b4abfd9ebdb Mon Sep 17 00:00:00 2001 From: YuQian Zhou Date: Mon, 15 May 2023 13:00:05 -0400 Subject: [PATCH 1/2] update git submodule --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9acee73..0556a10 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz * build talib Linux Static Libraries * please check https://github.com/mingwugmail/talibd/blob/master/lib/Makefile ``` +$ git submodule update --init --recursive + $ cd lib && make ``` From 1cac20789c05b4c34eedbbf625344d62d1023aeb Mon Sep 17 00:00:00 2001 From: YuQian Zhou Date: Mon, 15 May 2023 13:05:04 -0400 Subject: [PATCH 2/2] update to build ta-lib-rt --- lib/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Makefile b/lib/Makefile index 1d474b4..74e7d05 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -9,6 +9,12 @@ # build the cmd version: use ta_libc_cmd.lib # ignore build error: undefined reference to `TA_IMI' +# UPDATE(2023): use ta-lib-rt instead +# ta-lib-rt/ta-lib-rt/build/lib/libta-lib-rt.a + +lib-rt: + cd ta-lib-rt && bash ./build.sh + lib: tar xzf ta-lib-code.tgz cd ta-lib-code/ta-lib/c/make/cmd/linux/g++ && make clean && make