MagicFoundation / Alcinoe

Alcinoe Component Library For Delphi. Full opengl video player, WebRTC delphi wrapper, native ios/android TEdit, Improuved firemonkey controls, Firebase cloud messaging, Android/ios facebook sdk login, Json/Bson Parser, ImageMagick wrapper, MongoDb client And much more
Apache License 2.0
974 stars 214 forks source link

How to install the visual components? Directory "\Libraries\bpl" does not exist. #283

Open ViaCriativa opened 1 year ago

ViaCriativa commented 1 year ago

Hello, how to install the visual components? Directory '\Libraries\bpl" does not exist. Thanks!!

Zeus64 commented 1 year ago

hello, you need to run CompileAll.bat (https://github.com/MagicFoundation/Alcinoe/blob/master/CompileAll.bat)

DiamatBR commented 1 year ago

mine gave the following error image

Zeus64 commented 1 year ago

ouch something look very bad, could you add here all your alcinoe-master directory ?

DiamatBR commented 1 year ago

I was trying to use version 1.00 and it didn't work. When I download version 1.04... I add it to the list of libraries... I open the source and try to compile it to be able to use VideoPlayer, I get this error: image

DiamatBR commented 1 year ago

ouch something look very bad, could you add here all your alcinoe-master directory ?

Where do you want me to add it? In the project? Or on Github?

Zeus64 commented 1 year ago

Ok, regarding the last error it's because you need Alexandria 11.3, it's seam you have alexandria 11.2

DiamatBR commented 1 year ago

Estou usando o Delphi 10.4 CE. Do you have any tips to resolve this?

Zeus64 commented 1 year ago

you can use chatGPT if you are not very well in english :) you need the last delphi Alexandria version 11.3 CE

DiamatBR commented 1 year ago

Hi! What I did was the following:

1- Install Delphi 11 CE 2- Download Alcinoe 3- I unpacked 4- Build all projects in the Tools folder 5- In Delphi Tools > Option > Language > Delphi > Library > Platform Android 32 bits > Library path Add: "C:\Users\DiamatBR\Desktop\Desenvolvimento\Delphi\Componentes\Alcinoe-master\Source" 6- Run CompileAll.bat -type "1" -typed "Y" -waited to finish 7- Run CompileJar.bat 8- Open AlcinoeAlexandria in Delphi: -right-clicked on the project and ordered install AlcinoeAlexandria.bpl 7- Created a new application: -put a TALVideoPlayerSurface: -select Android 32-bit -had it run in debug mode, and...

ERROR "Exception class EJNI with message 'Java typer JExoPlayer_Builder could nor be found'. Process RP_InDoorVideoAndro.apk (5692)" image

Zeus64 commented 1 year ago

that normal, it's because you need to add the exoplayer JAR libraries. have a look at this demo: https://github.com/MagicFoundation/Alcinoe/tree/master/Demos/ALFmxControls/_Source

and especially this batch : https://github.com/MagicFoundation/Alcinoe/blob/master/Demos/ALFmxControls/_Source/android/MergeLibraries.bat

DiamatBR commented 1 year ago

I believe that even after taking a look at ALFmxControls I could not evolve in that. I don't think it works in delphi 11 CE image

Zeus64 commented 1 year ago

yes i think delphi 11 CE is base on 11.0 not on 11.3 :(

DiamatBR commented 1 year ago

So I won't be able to use Alcinoe :'( I have Delphi 10.4 CE

campbell-gary commented 1 year ago

Thank you DiamatBR for posting the steps for installing Alcinoe. At least now I can see the Alcinoe components on the Delphi Palette. I have Delphi 11.3.1 and I compiled an app for Android 64 with a TALVideoPlayerSurface component, but the app hangs in the splash screen.

campbell-gary commented 1 year ago

When I place a TALMemo component on a form and compile for Android64, the app hangs on the splash screen. When I compile with the debugger I get the following error messages:

Zeus64 commented 1 year ago

@campbell-gary can you try to run this demo: https://github.com/MagicFoundation/Alcinoe/tree/master/Demos/ALFmxControls/_Source ?

campbell-gary commented 1 year ago

Fantastic. The demo ALFmxControls compiled and ran on my phone without any problem using the Android64 platform. What changes do you recommend I make?

Zeus64 commented 1 year ago

you must do something similar than this on your app : https://github.com/MagicFoundation/Alcinoe/blob/master/Demos/ALFmxControls/_Source/android/MergeLibraries.bat

campbell-gary commented 1 year ago

I opened the MergeLibraries.bat on my laptop but it was missing the assignment statements "set Libraries=", so I copied them and added them to my MergeLibraries.bat. I compiled a test app using the Android64, platform, but the app still hangs on the splash screen.

Messages received:

Your FMX ALFmxControls compile and run fine.