Knowledgebase: Compilation
7.x: "File XYZ was compiled with different version of ABC" error
Posted by Aleksandr Alekseev on 17 July 2012 09:29

Problem:

I get "File XYZ was compiled with different version of ABC" error when trying to compile my project with new version EurekaLog (I used the previous version of EurekaLog with fine result).

Reason:

It seems that there was some kind of installation issue, so now your project uses the mix of two different versions of EurekaLog. It also may be that EurekaLog is not registered in your IDE or registered inproperly.

Solution:

  1. Check virtualization:
    1. If you are using old IDE version on modern OS - see if there is anything related to your IDE, your project, or EurekaLog in the C:\Users\username\AppData\Local\VirtualStore folder. 
    2. Try to run your IDE under administrator account (or visa versa).
  2. Clean up the project:
    1. Wipe output folder of your project. 
    2. Check project's search paths. Make sure that your project do not contain explicit search paths to other EurekaLog version.
      • Make sure that your IDE does not contain explicit search paths to other EurekaLog version.
    3. Be sure to clear your project from old .dcu, .obj and other generated files. 
    4. If the error message mentions a specific unit - search your hard drive for that unit with any file extension.
    5. Try to run a disk-wide file search for EurekaLog and your project files. See if there are any unexpected duplicates.
  3. Clean up EurekaLog installation:
    1. Try to make a clean reinstallation by following guides in help (EurekaLog 7 guide, EurekaLog 6 guide).
    2. Activate the correct EurekaLog version for your IDE - via Start/Programs/EurekaLog 7/Manage menu item.
    3. Sometimes it's possible that IDE do not update changes in settings. Try to run Start/Programs/EurekaLog 7/Manage tool and click on "No EurekaLog" and then - on "EurekaLog 7 with IDE expert" (make sure you close IDE before doing that and make sure to run the Manage tool under administrator account).
    4. Try to install and configure EurekaLog manually by following this guide.

Help Desk Software by Kayako Resolve