Compile error with D11

Viewing 6 reply threads
  • Author
    Posts
    • #2670
      Wesley VanAlstyne
      Participant

        I’m sure this has been reported, but I cannot find anything about iot except in one link with no answers.

        I have D10.4.2 and D11 on the same VM. D10.4.2 does not have the Raize componenets installed. I opened D11 and used GetIt to select and install the Konopka Signature VCL Controls and that seemed to work fine. I opened D11 and saw the components in the Tool Palette. I selected RzClockStatus component and placed it on an empty form, then trued to compile.

        This is the error that is shown.

        [dcc32 Fatal Error] Unit7.pas(7): F2051 Unit RzCommon was compiled with a different version of Vcl.Forms.TCustomForm

        I’m sure it is something simple. Anyone have an idea?

      • #2678
        Ray Konopka
        Keymaster

          Hi Wesley,

          This type of error suggests that the Library Search Path in Delphi 11 is referencing a directory that contains the Delphi 10.4.x version of the component units. I would first check your Library Search Path in Delphi 11 and make sure that the directory containing the 10.4 Lib directory does not exist.

          I would also strongly recommend that you contact Embarcadero about this. It sure sounds like they may have messed up the GetIt Package for KSVC for Delphi 11. That, or they somehow combined the two and are not distinguishing between 10.4 and 11.

          Ray

        • #2679
          Ray Konopka
          Keymaster

            Hi Wesley,

            I dug into this a little more and the problem is indeed with the GetIt installation that Embarcadero created for Delphi 11. The point is that Embarcadero is aware of the issue and are working on releasing a new GetIt package that fixes the problem.

            In the meantime, you can apparently workaround the issue by doing the following:

            >>>
            A temp fix is to:

            add $(BDSCatalogRepositoryAllUsers)\KonopkaControls-280-7.0\Source
            before $(BDSCatalogRepositoryAllUsers)\KonopkaControls-280-7.0\Lib\RX11\Win32 and
            $(BDSCatalogRepositoryAllUsers)\KonopkaControls-280-7.0\Lib\RX11\Win64
            Build your project
            << Ray

          • #2682
            Wesley VanAlstyne
            Participant

              Thanks so much for the information. I was just trying to get the D11 updated with all the 3rd party libraries and this is one of the m that did not work.

            • #2684

              An updated GetIt package now appears to be available for RAD Studio 11 so just update or install and that should fix the problem.

            • #2671

              I can confirm that I’m also having the exact same problem except in my case I have a form with an TRzDBGrid but no other Raize components and I can’t compile the project because of an error “[dcc64 Fatal Error] XXXXXXX.pas(8): F2051 Unit RzCommon was compiled with a different version of Vcl.Forms.TCustomForm”.

              There’s also another user reporting this here as well, but no replies or suggestions: https://en.delphipraxis.net/topic/5513-ksvc-70-rzcommon-fatal-error/

            • #2797
              Ray Konopka
              Keymaster

                Hi Chris,

                I just created a 64-bit Windows test project in Delphi 11 with the TRzDBGrid from KSVC 7 and it compiled and ran just fine. As noted in my earlier responses, this would suggest either a problem with your Library Search Path or the original installation of KSVC that Embarcadero released for Delphi 11. I would suggest uninstalling KSVC 11 and then re-install it.

                Ray

            Viewing 6 reply threads
            • You must be logged in to reply to this topic.