When compiling under Linux or cygwin you may receive errors similar to the following:
$ make
make[1]: Entering directory `/home/mpdavig/proj-nosync/downloads/cread-0.84/src'
g++ -Wall -fPIC -O2 -c -o storm.o storm.cpp
In file included from storm.cpp:22:
cread.hpp: In function ‘std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > cread::split(std::string, const char*, bool)’:
cread.hpp:114: error: ‘strlen’ was not declared in this scope
make[1]: *** [storm.o] Error 1
make[1]: Leaving directory `/home/mpdavig/proj-nosync/downloads/cread-0.84/src'
make: *** [all] Error 2
To fix cread.hpp apply the attached patch:
1. tar zxvf cread-0.84.tgz
2. cd cread-0.84/src
3. patch -p2 < ../../dme2_beta_2008_08_30-cread.patch
4. cd ..
5. make
To fix creed.hpp in dme2 do the following:
1. tar zxvf dme2_beta_2008_08_30.tgz
2. cd dme2_beta_2008_08_30
3. patch -p1 < ../dme2_beta_2008_08_30-cread.patch
4. make
Linux / cygwin compile patch