• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1546
  • Last Modified:

Error Compiling Delphi XE2 application

I have just installed a Delphi XE2 developer. I have also installed Quick Report for Delphi XE2. I successfully migrated my application from Delphi XE to Delphi XE2. When I tried to compile my application in the Delphi XE2  IDE, I get an error message that  "file QRctrls.dcu cannot be found". I tried a create a new project in Delphi XE2, place a Quick Report object on the form and tried to compile the program, but I still got the same error message. I will appreciate assistant to solve this problem
1 Solution
I would have to assume that the install for XE2 did not manage to get the directory entries right so the IDE cannot find the file.  I would first start by locating the file.  If you are unable to do so, then the install must have missed it.  If you do find it then add the location to the list of directories in the Delphi XE2 options.

I do not have Delphi XE2, nor do I use Quick Reports (I prefer Rave).  If I had access to both, the instructions would be much more precise.  As it is, I can give you general advice.  I have faced this same situation many times with other components.

If you are unable to find where to add it in the options, a stop-gap approach would be to add it to the list of files in your project.  This will work to get the code to compile, but it is a less desirable approach.  If you stick with that approach you will need to add the file to every project that uses Quick Reports.

You should also be aware... Once the project knows where that file is, it is very likely to state that it cannot find other files.  Each would need to be added in order to get it to compile.

If you are able to simply include the directory in the Search path then it should find all of what it needs.
solaaweAuthor Commented:
The Delphi IDE could not find the Quick Report files even when I directed it to the files location . However, I was able to compile the program by adding the files one after the other. Many thanks for the solution
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.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now