First, thanks for your work on DAWG and for making the source code freely available. I recently tried compiling the 1.2 source on a recent version of Xubuntu GNU/Linux (gcc 5.2.1), and I got "not declared in this scope" errors for two functions: memcpy() and strchr(). To fix this, I added the line
#include <cstring>
to matrix.cpp and output.cpp; this resolved the error messages. I realize that this might already be addressed in the development version of the code, but many users will want to stick with the latest release, so it might be useful to add some documentation somewhere indicating how to fix this problem.
First, thanks for your work on DAWG and for making the source code freely available. I recently tried compiling the 1.2 source on a recent version of Xubuntu GNU/Linux (gcc 5.2.1), and I got "not declared in this scope" errors for two functions: memcpy() and strchr(). To fix this, I added the line
to
matrix.cpp
andoutput.cpp
; this resolved the error messages. I realize that this might already be addressed in the development version of the code, but many users will want to stick with the latest release, so it might be useful to add some documentation somewhere indicating how to fix this problem.