Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wont build under Delphi 11.2 (Trial) #36

Closed
peardox opened this issue Oct 14, 2022 · 12 comments
Closed

Wont build under Delphi 11.2 (Trial) #36

peardox opened this issue Oct 14, 2022 · 12 comments
Assignees
Labels
question Further information is requested

Comments

@peardox
Copy link

peardox commented Oct 14, 2022

[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

@lmbelo lmbelo self-assigned this Oct 15, 2022
@lmbelo
Copy link
Member

lmbelo commented Oct 15, 2022

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

@lmbelo lmbelo added the question Further information is requested label Oct 15, 2022
@peardox
Copy link
Author

peardox commented Oct 15, 2022

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)

@lmbelo
Copy link
Member

lmbelo commented Oct 15, 2022

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

@peardox
Copy link
Author

peardox commented Oct 15, 2022

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

@peardox
Copy link
Author

peardox commented Oct 15, 2022

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

@lmbelo
Copy link
Member

lmbelo commented Oct 15, 2022

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

@peardox
Copy link
Author

peardox commented Oct 15, 2022

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

@lmbelo
Copy link
Member

lmbelo commented Oct 15, 2022

This issue is present in 11.x.

@peardox
Copy link
Author

peardox commented Oct 15, 2022

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

@lmbelo
Copy link
Member

lmbelo commented Oct 15, 2022

This problem is present in 11.2 trial or not trial.

@peardox
Copy link
Author

peardox commented Oct 15, 2022

OK - defo mention this in Tutorial

@peardox
Copy link
Author

peardox commented Oct 26, 2022

This will also be fixed by the settings config discovered today

@peardox peardox closed this as completed Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants