Did you define the new iniEquilibrium method in the SuperLattice2D? (File: src/core/superLattice2D.h)
By default there is only a iniEquilibrium function requiring both density and velocity fields.
Defining just the density in an existing lattice is possible using e.g. SuperLattice2D::defineRho.