Closed rm-minus-r-star closed 1 year ago
I am not sure how you are compiling this. But the thread library is specified in the root CMakeLists.txt
file.
Please follow the cmake build instructions in README which is -- starting from root repo directory
mkdir [Debug | Release]
cd [Debug | Release]
cmake -DCMAKE_BUILD_TYPE=[Debug | Release] -DHMDF_BENCHMARKS=1 -DHMDF_EXAMPLES=1 -DHMDF_TESTING=1 ..
make
Yup, -DHMDF_BENCHMARKS=1 -DHMDF_EXAMPLES=1 -DHMDF_TESTING=1 ..
makes all the difference in following the README. It wasn't there before, so I went down the path of trying to cmake/make them manually.
make on release compiles everything successfully.
make on Debug goes fine until
Scanning dependencies of target gen_rand_tester [ 82%] Building CXX object test/CMakeFiles/gen_rand_tester.dir/gen_rand_tester.cc.o [ 85%] Linking CXX executable ../bin/gen_rand_tester [ 85%] Built target gen_rand_tester make[2]: No rule to make target '../examples/data/DT_AAPL.csv', needed by 'bin/data/DT_AAPL.csv'. Stop. make[1]: [CMakeFiles/Makefile2:907: examples/CMakeFiles/hmdf_copy_DT_AAPL.csv.dir/all] Error 2 make: *** [Makefile:141: all] Error 2
I cannot reproduce that. It is trying to build a data file which is very strange. Did you start from a clean directory?
System:
Added to benchmarks/CMakeLists.txt: