Error: Cannot create object1main