• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1511
  • 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
0
solaawe
Asked:
solaawe
1 Solution
 
developmentguruCommented:
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.
0
 
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
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

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