In module_base/complexarray.h, it has declared an "inline" function "inline void operator=(std::complex c);", but the definition is in "complexarray.cpp", this will cause error when this function is called in other codes.
I suggest modify this function to be a normal function by removing "inline".