Link error: Missing test files: imi and avgdev
Brought to you by:
fortier
Compile error due to missing files. I added lines to a makefile as follows:
[gbonnema@mahatma c]$ svn diff src/tools/ta_regtest/Makefile.am
Index: src/tools/ta_regtest/Makefile.am
===================================================================
--- src/tools/ta_regtest/Makefile.am (revision 1562)
+++ src/tools/ta_regtest/Makefile.am (working copy)
@@ -27,6 +27,8 @@
ta_test_func/test_po.c \
ta_test_func/test_per_hl.c \
ta_test_func/test_trange.c \
+ ta_test_func/test_imi.c \
+ ta_test_func/test_avgdev.c \
test_internals.c
ta_regtest_CPPFLAGS = -I../../ta_func \
Hopefully this is enough info to correct the problem.
It seems that you also need to add these .c files to `/ta-lib/c/make/gen_make/ta_regtest/ta_regtest.pro'
And run
perl /ta-lib/c/make/gen_make/gen_make.pl
to regenerate all make files inc/make/c*
subfolders.The perl script will require
tmake
tool that could be installed withapt-get install tmake
..pro file is Qt project file and tmake is Qt's make. For some reason author uses Qt's buildchain to generate Makefiles.