TA-Lib / ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).
http://ta-lib.github.io/ta-lib-python
Other
9.49k stars 1.74k forks source link

C ta-lib issues with tmake: generating Makefiles #481

Closed 4trade closed 2 years ago

4trade commented 2 years ago

Hi, I had to change instances of 'tmake' in .pl scripts to 'perl c:\tmake\bin\tmake' but that is not the main issue. After those changes tmake executes fine, opens the target directories (cdr, ..) one by one but does not generate the output Makefiles. I'm not sure there is a version problem with tmake , the only version I found was the current one 2.x

https://pastebin.com/vUy6UECx

mrjbq7 commented 2 years ago

I don’t maintain the C library, just this Python wrapper.

On Dec 11, 2021, at 9:57 PM, 4trade @.***> wrote:

 Hi, I had to change instances of 'tmake' in .pl scripts to 'perl c:\tmake\bin\tmake' but that is not the main issue. After those changes tmake executes fine, opens the target directories (cdr, ..) one by one but does not generate the output Makefiles. I'm not sure there is a version problem with tmake , the only version I found was the current one 2.x

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

4trade commented 2 years ago

Yes, it seems nobody maintains the C library.

trufanov-nok commented 2 years ago

According to the gen_make readme:

TMake version tested: V1.7 and V1.8

A bug in V1.9 and 1.10 prevents tmake to work.
For now, use an older tmake version.

I'm maintaining my own fork of this C library: TA-Lib RT. Never used these gen_make scripts. I guess they are broken and useless now. Building TA-Lib on Windows was always a pain.
What exactly you're trying to do? Build the library as dll? Build it with other compiler?
I guess all you need is CMake GUI other the root folder and to forget about make/ subfolder.
And once you need to launch the internal gen_code tool or to debug the dll, I have added a set of manually created .pro files into c/ide/qt/. They may be backported to original project and used to tweak the codebase with QtCreator IDE.

mrjbq7 commented 2 years ago

Closing all installation issues, if someone has a specific problem please open a new one.