Skip to content

Compiling CameraPreviewDemo #38

Open
@peardox

Description

@peardox

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions