compile error
Hi, I tried to compile mathic and had some errors, but I don't know how to fix it.
- memtailor was downloaded and installed.
- In the folder mathic-master, I did $ ./autogen.sh $ ./configure $ make
Then, the following:
In file included from src/mathic.cpp:1: In file included from ./src/mathic.h:13: ./src/mathic/DivList.h:169:30: error: variable has incomplete type 'mathic::DivList::iterator' bool operator==(iterator it) {return *this == const_iterator(it);} ^ ./src/mathic/DivList.h:70:11: note: forward declaration of 'mathic::DivList::iterator' class iterator; ^ ./src/mathic/DivList.h:170:30: error: variable has incomplete type 'mathic::DivList::iterator' bool operator!=(iterator it) {return *this != const_iterator(it);} ^ ./src/mathic/DivList.h:70:11: note: forward declaration of 'mathic::DivList::iterator' class iterator; ^ 2 errors generated.