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

Compiling CameraPreviewDemo #38

Open
peardox opened this issue Oct 29, 2022 · 0 comments
Open

Compiling CameraPreviewDemo #38

peardox opened this issue Oct 29, 2022 · 0 comments

Comments

@peardox
Copy link

peardox commented Oct 29, 2022

Trying the CameraPreviewDemo results in pydistfinder.exe not found

Realising pydistfinder.exe is required I found and compiled it and now Definition.inc can't be found so I copy that from Source/Defenition as that's the only file named Definition.inc in the repo

Which gets me to

[DCC Error] MainForm.pas(276): E2250 There is no overloaded version of 'RequestPermissions' that can be called with these arguments
[DCC Error] MainForm.pas(288): E2250 There is no overloaded version of 'Synchronize' that can be called with these arguments
[DCC Error] MainForm.pas(304): E2250 There is no overloaded version of 'Synchronize' that can be called with these arguments
[DCC Error] MainForm.pas(323): E2250 There is no overloaded version of 'ShowMessage' that can be called with these arguments
[DCC Fatal Error] CameraPreviewDemo.dpr(6): F2063 Could not compile used unit 'MainForm.pas'

==== Full error text ====

dccaarm64 command line for "CameraPreviewDemo.dpr"
c:\program files (x86)\embarcadero\studio\22.0\bin\dccaarm64.exe -$O- --no-config -M -Q -TX.so -AGenerics.Collections=System.Generics.Collections;
Generics.Defaults=System.Generics.Defaults -DDEBUG;;FRAMEWORK_FMX -E.\Android64\Debug -I"c:\program files
(x86)\embarcadero\studio\22.0\lib\Android64\debug";D:\Delphi\11.2.1\P4DSuite\python4delphi\lib\Android64\Debug;
D:\Delphi\11.2.1\P4DSuite\PythonEnviroments\lib\Android64\Release;D:\Delphi\11.2.1\P4DSuite\PythonEnviroments\src\AddOn;
D:\Delphi\11.2.1\P4DSuite\Lightweight-Python-Wrappers\lib\Android64\Debug;"c:\program files (x86)\embarcadero\studio\22.0\lib\Android64\Release";
D:\Delphi\11.2.1\P4DSuite\python4delphi\lib\Android64\Release;C:\Users\Public\Documents\Embarcadero\Studio\22.0\Dcp\Android64;
D:\Delphi\11.2.1\P4DSuite\PythonEnviroments\lib\Android64\Release;D:\Delphi\11.2.1\P4DSuite\PythonEnviroments\src\AddOn;
D:\Delphi\11.2.1\P4DSuite\Lightweight-Python-Wrappers\lib\Android64\Release;
C:\Users\simon\Documents\Embarcadero\Studio\22.0\CatalogRepository\Skia4Delphi-3.4.1\Source;
C:\Users\simon\Documents\Embarcadero\Studio\22.0\CatalogRepository\Skia4Delphi-3.4.1\Source\FMX
-LEC:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\Android64 -LNC:\Users\Public\Documents\Embarcadero\Studio\22.0\Dcp\Android64
-NU.\Android64\Debug -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files (x86)\embarcadero\studio\22.0\lib\Android64\Release";
D:\Delphi\11.2.1\P4DSuite\python4delphi\lib\Android64\Release;C:\Users\Public\Documents\Embarcadero\Studio\22.0\Dcp\Android64;
D:\Delphi\11.2.1\P4DSuite\PythonEnviroments\lib\Android64\Release;D:\Delphi\11.2.1\P4DSuite\PythonEnviroments\src\AddOn;
D:\Delphi\11.2.1\P4DSuite\Lightweight-Python-Wrappers\lib\Android64\Release;
C:\Users\simon\Documents\Embarcadero\Studio\22.0\CatalogRepository\Skia4Delphi-3.4.1\Source;
C:\Users\simon\Documents\Embarcadero\Studio\22.0\CatalogRepository\Skia4Delphi-3.4.1\Source\FMX -R"c:\program files
(x86)\embarcadero\studio\22.0\lib\Android64\Release";D:\Delphi\11.2.1\P4DSuite\python4delphi\lib\Android64\Release;
C:\Users\Public\Documents\Embarcadero\Studio\22.0\Dcp\Android64;D:\Delphi\11.2.1\P4DSuite\PythonEnviroments\lib\Android64\Release;
D:\Delphi\11.2.1\P4DSuite\PythonEnviroments\src\AddOn;D:\Delphi\11.2.1\P4DSuite\Lightweight-Python-Wrappers\lib\Android64\Release;
C:\Users\simon\Documents\Embarcadero\Studio\22.0\CatalogRepository\Skia4Delphi-3.4.1\Source;
C:\Users\simon\Documents\Embarcadero\Studio\22.0\CatalogRepository\Skia4Delphi-3.4.1\Source\FMX -U"c:\program files
(x86)\embarcadero\studio\22.0\lib\Android64\debug";D:\Delphi\11.2.1\P4DSuite\python4delphi\lib\Android64\Debug;
D:\Delphi\11.2.1\P4DSuite\PythonEnviroments\lib\Android64\Release;D:\Delphi\11.2.1\P4DSuite\PythonEnviroments\src\AddOn;
D:\Delphi\11.2.1\P4DSuite\Lightweight-Python-Wrappers\lib\Android64\Debug;"c:\program files (x86)\embarcadero\studio\22.0\lib\Android64\Release";
D:\Delphi\11.2.1\P4DSuite\python4delphi\lib\Android64\Release;C:\Users\Public\Documents\Embarcadero\Studio\22.0\Dcp\Android64;
D:\Delphi\11.2.1\P4DSuite\PythonEnviroments\lib\Android64\Release;D:\Delphi\11.2.1\P4DSuite\PythonEnviroments\src\AddOn;
D:\Delphi\11.2.1\P4DSuite\Lightweight-Python-Wrappers\lib\Android64\Release;
C:\Users\simon\Documents\Embarcadero\Studio\22.0\CatalogRepository\Skia4Delphi-3.4.1\Source;
C:\Users\simon\Documents\Embarcadero\Studio\22.0\CatalogRepository\Skia4Delphi-3.4.1\Source\FMX
--libpath:C:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidNDK-21-22.0.46141.0937\android-ndk-r21\sources\cxx-stl\llvm-libc++\libs\arm64-v8a;
C:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidNDK-21-22.0.46141.0937\android-ndk-r21\platforms\android-23\arch-arm64\usr\lib
--linker:C:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidNDK-21-22.0.46141.0937\android-ndk-r21\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64\aarch64-linux-android\bin\ld.exe
-V -VN -NO.\Android64\Debug CameraPreviewDemo.dpr
[DCC Error] MainForm.pas(276): E2250 There is no overloaded version of 'RequestPermissions' that can be called with these arguments
[DCC Error] MainForm.pas(288): E2250 There is no overloaded version of 'Synchronize' that can be called with these arguments
[DCC Error] MainForm.pas(304): E2250 There is no overloaded version of 'Synchronize' that can be called with these arguments
[DCC Error] MainForm.pas(323): E2250 There is no overloaded version of 'ShowMessage' that can be called with these arguments
[DCC Fatal Error] CameraPreviewDemo.dpr(6): F2063 Could not compile used unit 'MainForm.pas'
Failed

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

No branches or pull requests

1 participant