Error when convert sketch from xx.pde too xx.ino

It would help if you posted the errors and read the sticky topic in this section.