(C++) [Unresolved external '\Form2' referenced from \[...\]\\UNIT1.OBJ](CppLinkErrorUnresolvedExternalForm2.md)
February 24, 2017 · View on GitHub
(C++) Unresolved external '_Form2' referenced from [...]\UNIT1.OBJ
IDE: C++ Builder 6.0
Project type: VCL
Full error message
[Linker Error] Unresolved external '_Form2' referenced from [...]\UNIT1.OBJ
Cause
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'
Solution
Add the Unit to the Project: do 'Project | Add to Project | Unit2.cpp'.