Perhaps a missing semi-colon (";") in one of header files included by basemolecule.cpp...