IDE: C++ Builder 6.0
Project type: VCL
This error occurs when you have added a second TForm to your project (using 'File | Include Unit Hdr'), but without having done 'Project | Add to Project | Unit2.cpp'
Add the Unit to the Project: do 'Project | Add to Project | Unit2.cpp'.