Skip to content

Wont build under Delphi 11.2 (Trial) #36

Closed

Description

@peardox

[dcc64 Fatal Error] Vcl.PythonGUIInputOutput.pas(53): E2213 Bad packaged unit format: C:\Users\Public\Documents\Embarcadero\Studio\22.0\Dcp\Python.dcp.PythonEngine - Expected version: 35.0, Windows Unicode(x64) Found version: 35.0, Windows Unicode(x86)

Works fine in 11.1 Trial + 10.4.2 CE

Activity

  1. self-assigned this
    on Oct 15, 2022
  2. lmbelo commented on Oct 15, 2022

    @lmbelo
    Member

    You're targeting the wrong dcp. Check out your lib path.

  3. added
    question
    on Oct 15, 2022
  4. peardox commented on Oct 15, 2022

    @peardox
    Author

    This was using a freshly installed copy of Delphi 11.2 Trial - I guess they could have screwed the trial up... I'll go check the paths for 11.1 (which works) and compare to 11.2 (which don't)

  5. lmbelo commented on Oct 15, 2022

    @lmbelo
    Member

    Compile P4D for both Win32 and Win64. Make sure your lib path are set to the desired platform folder.

    Screen Shot 2022-10-15 at 14 55 38

    Screen Shot 2022-10-15 at 14 56 11

  6. peardox commented on Oct 15, 2022

    @peardox
    Author

    Just checking now. Got 10.4.2 as main install. Just copied all lib settings from 11.1 in VM, now installing 11.2 to check if anything is different - more infor when 11.2 in installed

  7. peardox commented on Oct 15, 2022

    @peardox
    Author

    Mine appears to have a wrong entry via the installer

    What should be
    $(BDSCOMMONDIR)\Dcp$(Platform)
    is
    $(BDSCOMMONDIR)\Dcp

    That explains why it's finding the 32 bit library - Delphi Trial set it to that value

  8. lmbelo commented on Oct 15, 2022

    @lmbelo
    Member

    Win32 is $(BDSCOMMONDIR)\Dcp only. You must add the $(platform) variable for Win64.

  9. peardox commented on Oct 15, 2022

    @peardox
    Author

    Cool - that compiles properly now

    What version of 11.x you using? I'm wondering if just Trial is wrong (probably) - I'll mention it in the Tutorial anyway

  10. lmbelo commented on Oct 15, 2022

    @lmbelo
    Member

    This issue is present in 11.x.

  11. peardox commented on Oct 15, 2022

    @peardox
    Author

    Not in 11.1 Trial - it was by comparing 10.4.2 to 11.1 Trial to 11.2 Trial that I found the solution- I expected this was the problem.

    Did you have to change your 11.?? non-trial version then? If so this definitely needs mentioning in the Tutorial and bugging with Embarcadero

  12. lmbelo commented on Oct 15, 2022

    @lmbelo
    Member

    This problem is present in 11.2 trial or not trial.

  13. peardox commented on Oct 15, 2022

    @peardox
    Author

    OK - defo mention this in Tutorial

  14. peardox commented on Oct 26, 2022

    @peardox
    Author

    This will also be fixed by the settings config discovered today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

question

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions