The compiler can not find a definition for the constructors shown in the error messages that take the arguments. Make sure there is a matching constructor in the class
or do not use the argument...