khmer
khmer copied to clipboard
make libtest no longer tested, and is broken
This is my fix so far:
diff --git a/Makefile b/Makefile
index add4ba69..9a3d78f5 100644
--- a/Makefile
+++ b/Makefile
@@ -293,12 +293,13 @@ libtest: FORCE
cd src/oxli && \
$(MAKE) clean && \
$(MAKE) all && \
- $(MAKE) install PREFIX=../install_target
+ $(MAKE) install PREFIX=../../install_target
test -d install_target/include
test -f install_target/include/oxli/oxli.hh
test -d install_target/lib
test -f install_target/lib/liboxli.a
$(CXX) -std=c++11 -o install_target/test-prog-static \
+ -I third-party/rollinghash/ -I third-party/cqf \
-I install_target/include src/oxli/test-compile.cc \
install_target/lib/liboxli.a
$(CXX) -std=c++11 -o install_target/test-prog-dynamic \
But then I get this error:
src/oxli/test-compile.cc: In function ‘int main()’:
src/oxli/test-compile.cc:46:26: error: variable ‘oxli::Countgraph test’ has initializer but incomplete type
oxli::Countgraph test(1,1);
^
Something isn't working with a forward reference somewhere. I have been unsuccessful in teasing this apart, but perhaps @camillescott or @luizirber might be able to shed some light.