Error Compiling Delphi XE2 application

Posted on 2011-10-09
Last Modified: 2013-11-23
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
Question by:solaawe
    LVL 21

    Accepted 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.

    Author Closing Comment

    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Suggested Solutions

    A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
    Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
    The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now