BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi not able to find native units

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
M. Tettnanger
Guest





PostPosted: Sat Feb 28, 2004 7:28 pm    Post subject: Delphi not able to find native units Reply with quote



Suddenly when trying to build/compile my project I was getting
a "math.pas UNIT expected but end of file found". The editor
would then show a blank math.pas file. Some of my units do
have a Uses math statement, but this wasn't a problem
until today.

The problem is that Delphi was not looking for its own
native math unit, but was instead looking in my project
directory. In fact it created an empty math.pas file.
If I deleted it, it put another blank one in there and
raised the exception.

I was only able to solve it by adding /Delphi/lib to my
Search directory options so it could find the math.dcu
file. Is this correct or do I have some underlying problem?

Thanks,

Mark
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.