TimCruise 2 Posted December 7, 2021 Dear RAD Studio Experts, I try to install Skia on RAD Studio Community v10.4 but the dialogue (attachment) shows that my version of RAD Studio Community v10.4 has no support for iOS, MacOS and Linux! Indeed, I did choose iOS, MacOS and Linux support when I installed RAD Studio Community v10.4. So how do I correct it? Share this post Link to post
Lajos Juhász 293 Posted December 7, 2021 RAD Studio Community edition doesn't support Linux. According to https://www.embarcadero.com/products/delphi/starter/free-download it should have compilers for: Windows, macOS, iOS, and Android. Share this post Link to post
vfbb 285 Posted December 7, 2021 @TimCruise The installer automatically detects the platforms installed in your RAD Studio. Platforms that are disabled are those that have not yet configured the SDK in your IDE. Install the SDK of the platform you want on your delphi and then reinstall Skia4Delphi. Share this post Link to post
TimCruise 2 Posted December 8, 2021 (edited) There is no Apple SDK for Windows OS. RAD Studio is not so great if we cannot develop iOS applications on Windows. Edited December 8, 2021 by TimCruise Share this post Link to post
vfbb 285 Posted December 8, 2021 (edited) @TimCruise There is but you need a macOS to install the SDK in your RAD Studio. It's even possible to run macOS on windows with VMWare, but that's probably illegal. Anyway, with the SDK installed you'll only be able to compile, the simulator doesn't work, you'll have to have an iPhone too. Without the SDK, you won't even be able to compile a blank project for the platform you want. About the Skia4Delphi installer, basically it checks if it is possible to compile for the platform, so if your delphi is really ready to compile for the platform, then yes it will appear available to be selected in its installation. Edited December 8, 2021 by vfbb Share this post Link to post
TimCruise 2 Posted December 8, 2021 I see. I have to set up at least a VM or physical Mac OS; and then connect to them from within RAD Studio! Share this post Link to post
TimCruise 2 Posted December 8, 2021 And now, I am still facing these 2 errors after I have installed Skia from within RAD Studio. How do I correct them? Share this post Link to post
vfbb 285 Posted December 8, 2021 22 minutes ago, TimCruise said: And now, I am still facing these 2 errors after I have installed Skia from within RAD Studio. How do I correct them? Now that's a mistake. Probably the folder you are installing requires administrator permission and you have not run the installer as an administrator. The solution in this case is to uninstall and install in the default folder that the installer suggests (does not require admin permission). Share this post Link to post
TimCruise 2 Posted December 11, 2021 At last, I have spent 2 days to install OSY v10.12 on AMD! I then installed the RAD Studio's Platform Assistant Manager on OSY! It is a big success! RAD Studio connected to my OSY VM and installed sdk automatically! COOL! So what is next? Share this post Link to post
vfbb 285 Posted December 11, 2021 Just reinstall the Skia4Delphi and the new platform will be available at installation. Share this post Link to post
TimCruise 2 Posted December 17, 2021 On 12/9/2021 at 12:14 AM, TimCruise said: And now, I am still facing these 2 errors after I have installed Skia from within RAD Studio. How do I correct them? These 2 errors are bugs! It cannot be repaired after many times reinstallations! Any official response and fixes? Share this post Link to post
Lajos Juhász 293 Posted December 17, 2021 Most probably the packages are not on the path? Share this post Link to post
TimCruise 2 Posted December 17, 2021 I partially solve it. I deselect the Win32 option and there is no more error. Share this post Link to post
vfbb 285 Posted December 17, 2021 39 minutes ago, TimCruise said: I partially solve it. I deselect the Win32 option and there is no more error. Very strange. If you find any problems during use, open an issue so we can investigate further. Share this post Link to post
TimCruise 2 Posted December 20, 2021 (edited) On 12/18/2021 at 5:29 AM, vfbb said: Very strange. If you find any problems during use, open an issue so we can investigate further. Hello vfbb, Are you the author? okay. Thanks. I even do not see this Skia menu item: https://raw.githubusercontent.com/viniciusfbb/skia4delphi/main/Assets/Documents/enabling_project_dark.png Edited December 20, 2021 by TimCruise Share this post Link to post
vfbb 285 Posted December 20, 2021 8 hours ago, TimCruise said: Are you the author? Yes, my brother and I are the authors. 8 hours ago, TimCruise said: I even do not see this Skia menu item: https://raw.githubusercontent.com/viniciusfbb/skia4delphi/main/Assets/Documents/enabling_project_dark.png Right. I suspect that some unsuccessful install is hampering new installs, but I need more information: 1) Did you install only using installer (Skia4Delphi_2.0.1_Setup.exe) or did you try another method (GetIt or manual)? 2) Was there an error during an installation? If so, do you still have the Build.Logs.txt that is generated in the folder you installed skia4delphi in? 3) Access RegEdit.exe, and take a screenshot of "HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\21.0\Known Packages" and "HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\21.0\Disabled Packages". Share this post Link to post
TimCruise 2 Posted December 20, 2021 I have tried both stand-alone executable Skia4Delphi_2.0.1_Setup.exe; and from within RAD Studio by GetIt. Both fail to work and errors dialogues shown as in post above. There is no Build.Logs.txt left behind. Let me check the regedit. Share this post Link to post
TimCruise 2 Posted December 20, 2021 3 hours ago, vfbb said: 3) Access RegEdit.exe, and take a screenshot of "HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\21.0\Known Packages" and "HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\21.0\Disabled Packages". No skia entry shown in "HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\21.0\Known Packages" Inside "HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\21.0\Disabled Packages", there is 2 lines matching my errors shown above: skia.reg Share this post Link to post
vfbb 285 Posted December 20, 2021 @TimCruise You will have to remove these two registries and reinstall skia4delphi. But to be sure, follow the steps: 1) Uninstall via GetIt (if you haven't already) 2) With your RAD Studio closed, delete these two skia records in "HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\21.0\Disabled Packages" 3) Go to Windows Configurations > Applications > search for Skia4Delphi (if found, uninstall it with your RAD Studio closed). 4) Check if the file "C:\Users\Public\Documents\Embarcadero\Studio\Skia4Delphi\unins000.exe" exists, if so, run it to uninstall. 5) Install the Skia4Delphi running the "Skia4Delphi_2.0.1_Setup.exe", because some uses have reported problems using out GetIt package in Sydney. In setup's platforms screen, select just the platforms that your IDE is already to compile. 6) After installation, try to run our sample "skia4delphi\Samples\Basic\FMX\Skia4Delphi_Basic.dproj" Share this post Link to post
TimCruise 2 Posted December 20, 2021 Nothing has changed! I think the problem is not the PATH! The problem is - I cannot find any bpl file inside skia4delphi folder! Your installer only installs the sources! Please repackage and release a fix. Share this post Link to post
vfbb 285 Posted December 20, 2021 What files have in your folder "Skia4Delphi\Library\Delphi10Sydney\Win32\Release\", after installation? Share this post Link to post
TimCruise 2 Posted December 20, 2021 41 minutes ago, vfbb said: What files have in your folder "Skia4Delphi\Library\Delphi10Sydney\Win32\Release\", after installation? Absolutely nothing Share this post Link to post
vfbb 285 Posted December 21, 2021 Ok. In the previous folder also does not have any files? "Skia4Delphi\Library\Delphi10Sydney\Win32\Release\" If you don't have any files either, check your rsvars.bat, "C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\rsvars.bat", if it contains the same content: @SET BDS=C:\Program Files (x86)\Embarcadero\Studio\21.0 @SET BDSINCLUDE=C:\Program Files (x86)\Embarcadero\Studio\21.0\include @SET BDSCOMMONDIR=C:\Users\Public\Documents\Embarcadero\Studio\21.0 @SET FrameworkDir=C:\Windows\Microsoft.NET\Framework\v4.0.30319 @SET FrameworkVersion=v4.5 @SET FrameworkSDKDir= @SET PATH=%FrameworkDir%;%FrameworkSDKDir%;C:\Program Files (x86)\Embarcadero\Studio\21.0\bin;C:\Program Files (x86)\Embarcadero\Studio\21.0\bin64;C:\Program Files (x86)\Embarcadero\Studio\21.0\cmake;C:\Users\Public\Documents\Embarcadero\InterBase\redist\InterBaseXE7\IDE_spoof;%PATH% @SET LANGDIR=EN @SET PLATFORM= @SET PlatformSDK= Share this post Link to post
TimCruise 2 Posted December 21, 2021 (edited) ok. Here is mine's content: @SET BDS=C:\Program Files (x86)\Embarcadero\Studio\21.0 @SET BDSINCLUDE=C:\Program Files (x86)\Embarcadero\Studio\21.0\include @SET BDSCOMMONDIR=C:\Users\Public\Documents\Embarcadero\Studio\21.0 @SET FrameworkDir=C:\Windows\Microsoft.NET\Framework\v4.0.30319 @SET FrameworkVersion=v4.5 @SET FrameworkSDKDir= @SET PATH=%FrameworkDir%;%FrameworkSDKDir%;C:\Program Files (x86)\Embarcadero\Studio\21.0\bin;C:\Program Files (x86)\Embarcadero\Studio\21.0\bin64;C:\Program Files (x86)\Embarcadero\Studio\21.0\cmake;C:\Users\Public\Documents\Embarcadero\InterBase\redist\InterBaseXE7\IDE_spoof;%PATH% @SET LANGDIR=EN @SET PLATFORM= @SET PlatformSDK= "Skia4Delphi\Library\Delphi10Sydney\Win32\Release\" only contains empty folder \bpl\ Edited December 21, 2021 by TimCruise Share this post Link to post
TimCruise 2 Posted December 21, 2021 I got in done! You have skipped a step which is required. After the installation of source files, I have to open the correct groupproj and build it. Then, install sub-projects with a bar on it. DONE!!! Share this post Link to post