Discussion:
Linker cannot find Classes.obj -- really frustrated
(too old to reply)
401KAndPensionCode
2008-06-04 02:58:32 UTC
Permalink
what is classes.hpp....I remove it and it shows up again...I search my drive
[and all others], but there's no instance of classes.obj but its clearly
included in my project...and the linker certainly wants it.....other apps
with it link just fine....man I'm frustrated!!!!!!
David Dean [CodeGear]
2008-06-04 03:36:41 UTC
Permalink
Post by 401KAndPensionCode
what is classes.hpp....I remove it and it shows up again...I search my drive
[and all others], but there's no instance of classes.obj but its clearly
included in my project...and the linker certainly wants it.....other apps
with it link just fine....man I'm frustrated!!!!!!
This isn't really a language topic... Classes.hpp is part of the VCL.
Are you linking with the VCL libraries? I suggest we follow up on this
in the borland.public.cppbuilder.ide group.
--
David Dean (CodeGear)
Lead C++ QA Engineer
401KAndPensionCode
2008-06-04 10:33:33 UTC
Permalink
Found it -- the ide uses a nonstandard path to the classes.pas file , in my
instance <DelphiCompile Include="c:\program files\codegear\rad
studio\5.0\source\Win32\rtl\common\Classes.pas">
whereas it should use $(BDS)\source\Win32\rtl\common\Classes.pas

I will report to QC.
Post by 401KAndPensionCode
what is classes.hpp....I remove it and it shows up again...I search my drive
[and all others], but there's no instance of classes.obj but its clearly
included in my project...and the linker certainly wants it.....other apps
with it link just fine....man I'm frustrated!!!!!!
This isn't really a language topic... Classes.hpp is part of the VCL.
Are you linking with the VCL libraries? I suggest we follow up on this
in the borland.public.cppbuilder.ide group.
--
David Dean (CodeGear)
Lead C++ QA Engineer
Michael Corby
2008-06-25 12:12:10 UTC
Permalink
Test
Post by 401KAndPensionCode
what is classes.hpp....I remove it and it shows up again...I search my
drive [and all others], but there's no instance of classes.obj but its
clearly included in my project...and the linker certainly wants
it.....other apps with it link just fine....man I'm frustrated!!!!!!
Alan Bellingham
2008-06-25 12:15:23 UTC
Permalink
Test
I repeat: Use borland.public.test for post testing.

Alan Bellingham
--
Team Browns
ACCU Conference 2009: to be announced
Loading...