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

Сan't compile PythonVcl #435

Closed
Niglavok opened this issue Oct 5, 2023 · 4 comments
Closed

Сan't compile PythonVcl #435

Niglavok opened this issue Oct 5, 2023 · 4 comments
Labels

Comments

@Niglavok
Copy link

Niglavok commented Oct 5, 2023

Сan't compile PythonVcl
unit WrapVclComCtrls
2392: PythonToPythonType(LVarParam.Value).PyObjectClass).DelphiObjectClass; PythonToPythonType -> TPythonType ?
3024: PyTuple_SetItem(LPyTuple, 3, OwnerDrawStateToPython(State)); OwnerDrawStateToPython -> CustomDrawStateToPython ?
3666: PythonToPythonType(LVarParam.Value).PyObjectClass).DelphiObjectClass; PythonToPythonType -> TPythonType ?

@pyscripter
Copy link
Owner

Please try again.

@netzeng
Copy link

netzeng commented Oct 11, 2023

The problem I encountered is the same as yours, I have tried many times。
Checking project dependencies...
Compiling Python.dproj (Release, Win32)

Compiling PythonVcl.dproj (Release, Win32)
dcc32 command line for "PythonVcl.dpk"
[dcc32 Error] WrapVclComCtrls.pas(362): E2003 Undeclared identifier: 'TNodeCheckState'
[dcc32 Error] WrapVclComCtrls.pas(374): E2005 'TNodeCheckState' is not a type identifier
[dcc32 Error] WrapVclComCtrls.pas(726): E2005 'TNodeCheckState' is not a type identifier
[dcc32 Error] WrapVclComCtrls.pas(753): E2005 'TNodeCheckState' is not a type identifier
[dcc32 Error] WrapVclComCtrls.pas(757): E2133 TYPEINFO standard function expects a type identifier
[dcc32 Error] WrapVclComCtrls.pas(2393): E2003 Undeclared identifier: 'TTVCheckStateChangedEvent'
[dcc32 Error] WrapVclComCtrls.pas(2393): E2133 TYPEINFO standard function expects a type identifier
[dcc32 Error] WrapVclComCtrls.pas(2397): E2005 'TNodeCheckState' is not a type identifier
[dcc32 Error] WrapVclComCtrls.pas(2437): E2003 Undeclared identifier: 'TTVCheckStateChangingEvent'
[dcc32 Error] WrapVclComCtrls.pas(2437): E2133 TYPEINFO standard function expects a type identifier
[dcc32 Error] WrapVclComCtrls.pas(2441): E2005 'TNodeCheckState' is not a type identifier
[dcc32 Fatal Error] WrapDelphiVCL.pas(38): F2063 Could not compile used unit 'WrapVclComCtrls.pas'
Failed
Elapsed time: 00:00:00.7

@pyscripter
Copy link
Owner

pyscripter commented Oct 11, 2023

Please try again with the current state of the repo. Which delphi version are you using?

@pyscripter
Copy link
Owner

TNodeCheckState was introduced in Delphi 11.
Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants