Problem witih Delphi 7

Hi guys,

  I got an unexpected problem witih Delphi 7. When I try to compile a package I get the message Required Package 'vcl' not found. Where is the configuration that sets this up?

  Thanks,
  Marco Castro
MarcoCastroAsked:
Who is Participating?
 
kambizConnect With a Mentor Commented:
Here is the option for setting the library search path:
Tools > Environment Options > Library > Library Path

vcl.dcp is located in Lib directory of Delphi. Therefore, $(DELPHI)\Lib should be in the list of library paths.
0
 
MarcoCastroAuthor Commented:
I use Windows 7 64 bits and it was working very well.
0
 
systanCommented:
What version of Delphi 7 your using?
If its 7.3+?,  then, it does not work for windows 7, even during installation.
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
jimyXCommented:
Has this package been successfully compiled and installed before ? It could be missing parts/files/lib in order to compile correctly. Also did it work on Win xp (if you tried) ?
0
 
systanCommented:
Hello jimyx;
Have you found my new post?  I hope you can solved it.
0
 
jimyXCommented:
Hi Systan,
 I am analyzing your code, will get back to you soon.
0
 
systanCommented:
Hello

Sorry, you dont have to do that, I deleted the post, because I though it is impossible and no ones bothering to listen, anyway I'll open it again, soon after my other approach.

Thanks

See you here in e-e, I'm glad your also doing delphi stuffs until now.
Me?, just beginning to explore delphi well, with the help of delphi experts here.
0
 
MarcoCastroAuthor Commented:
Hi guys,

  Thanks for the hints but none of them works. Delphi was working very well in Windows 7, $(DELPHI)\Lib is there, the files that Delphi says that can't be loaded are there. There is somethig loadt in a secret place.

  Marco Castro
0
 
jimyXCommented:
is that package compatible with Delphi 7 ? Have you tested that before on Delphi 7, may be it is not.
0
 
Ephraim WangoyaConnect With a Mentor Commented:

1.
Go to Tools->Environment Options
Select the Library tab,
In Library Path, check if you have the entry $(Delphi)\LIB
In Browsing Pach check for the entry $(Delphi)\source\vcl

2.
Try compiling
If you still have the error, Open the package and check your requires lis

Require
   vcl.dcp
   rtl.dcp,
   ....
Remove vcl.dcp, save and try to compile, if the system offers to add the file, accept

3. If you r still getting errors, check if you have a corresponding runtime package that needs to be compiled first. If thats the case, compile the runtime package first then load the current package and attempt to compile
0
 
MarcoCastroAuthor Commented:
The problem was related to Windows path, not Delphy path.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.