Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to eliminate linker error: Unresolved external... referenced in... 1

Status
Not open for further replies.

Sandijs

Programmer
Mar 8, 2001
3
0
0
LV
When I compile my project I am getting an linker error: Unresloved external ....... .. referenced from xxxx.obj
When I close the project and delete all .obj files and then rebuild the project - linker error is gone! But after some time, when I change something in my programm, compilation ends with the same linker error.
Is it a compilator bug or I am doing something wrong with external variable definition?

Sandy
p.s. I am using C++Builder 3.0
 
Try to use
Project->Build All Projects (!!!)

P.S.
It's time to install BCB4 !
 
You should add to project the xxxx.obj file in the linker options. I don't know exactly where, but such options must exist in all cpp compillers. John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top