[Linker Error] Unresolved external '_Form1'

Hello!

Trying to compile a program (simple as Hello,world!) on Borland C++6 builder
I'm getting the following error messages:

[Linker Error] Unresolved external '_Form1' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\PROJECT1.OBJ
[Linker Error] Unresolved external 'TForm1::' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\PROJECT1.OBJ

Could someone explain how to overcome this?
"Unresolved external" means that you are trying to use something that the linker cannot find the compiled code for. Usually, this happens when you forget to link against the right libraries.
Thanks, Moschops. Well, then how do you link against the right libraries?
Using gcc, by adding -lLIBRARYNAME when you type the command to build. On an IDE such as you're using, I expect that somewhere in one of the menus is a way to specify libraries to link against.
Maybe you didn't choose the right kind of project, like console application.
¿Is borland up to date?
Yeah i think its what ne555 is saying - something as simple as hello world shouldnt require you to link to any libraries.
Yeah, thanks - i'll try choosing console application -see it this works
Topic archived. No new replies allowed.