Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BDS2006: cannot compile delphi projects - error in variants.pas

18 views
Skip to first unread message

Sören Zimmermann

unread,
Aug 1, 2008, 6:48:15 AM8/1/08
to
Hi all,

I've got a strange problem: I cannot compile any Delphi project any
more. C++ projects are not affected.

I'm using BDS 2006 Prof. 10.0.2558.35231 Update 2, Hotfixed.

Loading an existing project or creating a new project with not even one
component or additional lines of code written, it will not compile any more.

It results into a compiler error F2092 : The program or the unit
"Variants" has circular reference (sorry if the error message does not
fit exactly, I'm using the German version).

The file Variants.pas opens and the line 1035 seems to cause this error
(it's where the IDE goes to when you click on the error message).

I verified all delphi pathes and settings in "Project->Options" and
"Tools->Options" with no project opened (=default settings) with a team
mate, whose Delphi personality works fine.

Reinstalling my BDS is not a bright idea, due to a lot of additional
components installed. I spent quite a lot of time making it run at all.
And it works fine with my main personality C++.

So, if anybody has another idea I'm really open to (almost) everything. :)

Thanks in advance,

Sören

Dennis Passmore

unread,
Aug 1, 2008, 10:53:33 AM8/1/08
to
Probably the Variants.dcu has been deleted from the Lib folder but you should
not be including the SOURCE folders in your search path in the first place.


Sören Zimmermann

unread,
Aug 6, 2008, 6:11:19 AM8/6/08
to

> Probably the Variants.dcu has been deleted from the Lib folder but you should
> not be including the SOURCE folders in your search path in the first place.

The Variants.dcu ist right in place, I moved the source folders at the
end of the list and I deactivated all components except of Borland
Standard Components.
It still doesn't work ...

0 new messages