GithubHelp home page GithubHelp logo

install problems about skia4delphi HOT 26 CLOSED

skia4delphi avatar skia4delphi commented on June 27, 2024
install problems

from skia4delphi.

Comments (26)

Mr-KultiVator avatar Mr-KultiVator commented on June 27, 2024 3
  • Remove the entire line that contain asl.log in your enviroment.proj.
  • Save the file but be sure it does not take the extension txt.
  • Make the file Read Only.
  • Install.
  • Remove attribute Read Only.

I hit this same problem on my secondary dev machine... but can confirm that the steps above worked for me.

from skia4delphi.

viniciusfbb avatar viniciusfbb commented on June 27, 2024 3

First, I apologize for the installation inconvenience.

Right now, we've released a new version with several fixes/improvements included in the setup.

Hopefully this will resolve most installation issues in this new release. I would appreciate it if someone with problems in the previous version would give feedback on this new one.

from skia4delphi.

enri690 avatar enri690 commented on June 27, 2024 2

I have the same issue - the installer shows message to report the error - someone has already uploaded the screen grab above. And then I am shown the following BuildLogs.txt. Is there a way to avoid this error? I have already tried installing without IDE running, as administrator, etc.

`Microsoft (R) Build Engine version 4.8.4161.0 [Microsoft .NET Framework, version 4.0.30319.42000] Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2/14/2022 9:02:21 AM. Project "C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj" on node 1 (default targets). C:\Users\Jatin\AppData\Roaming\Embarcadero\BDS\22.0\environment.proj(7,9): error MSB5016: The name "asl.log" contains an invalid character ".". [C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj] Done Building Project "C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj" (default targets) -- FAILED.

Build FAILED.

"C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj" (default target) (1) -> C:\Users\Jatin\AppData\Roaming\Embarcadero\BDS\22.0\environment.proj(7,9): error MSB5016: The name "asl.log" contains an invalid character ".". [C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj]

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.02 `

  1. Remove the entire line that contain asl.log in your enviroment.proj.
  2. Save the file but be sure it does not take the extension txt.
  3. Make the file Read Only.
  4. Install.
  5. Remove attribute Read Only.

from skia4delphi.

HBenzaoui avatar HBenzaoui commented on June 27, 2024 2

Install for Delphi 11.

To be able to install without errors, I had to prohibit Setup to override file "enviroment.proj" in C:\Users\USERNAME\AppData\Roaming\Embarcadero\BDS\22.0\ by making it read only and after install remove read only for Bds to run.

That worked for me !thanks

from skia4delphi.

lidernetworktecnologia avatar lidernetworktecnologia commented on June 27, 2024 2

Install for Delphi 11.
To be able to install without errors, I had to prohibit Setup to override file "enviroment.proj" in C:\Users\USERNAME\AppData\Roaming\Embarcadero\BDS\22.0\ by making it read only and after install remove read only for Bds to run.

That worked for me !thanks

Fiz esse procedimento e o instalador funcionou para Rio e Sidney

from skia4delphi.

enri690 avatar enri690 commented on June 27, 2024 2

Install for Alexandria goes well. Demo Android runs Ok also. Thank you.

from skia4delphi.

enri690 avatar enri690 commented on June 27, 2024 1

Install for Delphi 11.

To be able to install without errors, I had to prohibit Setup to override file "enviroment.proj" in C:\Users\USERNAME\AppData\Roaming\Embarcadero\BDS\22.0\ by making it read only and after install remove read only for Bds to run.

from skia4delphi.

viniciusfbb avatar viniciusfbb commented on June 27, 2024

@limelect Are you trying to install manually? If so, do you need to follow the steps in manual installation documentation, especially the step 5:

  1. Open RAD Studio, go to Tools > Options... > IDE > Environment Variables, and:

    5.1. Click New..., and add the variable name SKIADIR, and in variable value put your Skia4Delphi full path (eg C:\skia4delphi), and click OK. From here, we'll call this path as [skia4delphi_root] in this documentation. But remember: in the step that is written [skia4delphi_root], it must be filled with full path (without environment variables);

    5.2. Still in the Environment Variables page, in the User System Overrides section, find the PATH variable and double click to change it. You need to add the these three folders (full path) at the beginning:

    • [skia4delphi_root]\Binary\Win32\Release;
      eg C:\skia4delphi\Binary\Win32\Release;
    • [skia4delphi_root]\Library\[rad_version_name]\Win32\Release\Bpl;
      eg C:\skia4delphi\Library\RAD Studio 11.0 Alexandria\Win32\Release\Bpl;
    • [skia4delphi_root]\Library\[rad_version_name]\Win64\Release\Bpl;
      eg C:\skia4delphi\Library\RAD Studio 11.0 Alexandria\Win64\Release\Bpl;

    5.3. Click OK and Save;

But, again I always recommend the automatic installation done by Skia4Delphi_3.0.0_Setup.exe that you will always found in releases page

from skia4delphi.

limelect avatar limelect commented on June 27, 2024

used exe same problem
what the dll for?
dll source?

Screenshot - 12_02_2022 , 21_56_23

from skia4delphi.

viniciusfbb avatar viniciusfbb commented on June 27, 2024

The error occurs when trying to change the RAD Studio registry. Didn't you run it with the IDE open? Also see if the problem resolves when running as administrator.

from skia4delphi.

limelect avatar limelect commented on June 27, 2024

same problem

  1. closed Delphi
  2. run as administrator
  3. window 7
  4. got this

Microsoft (R) Build Engine Version 3.5.30729.5420
[Microsoft .NET Framework, Version 2.0.50727.8806]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

C:\Users\LimElect\AppData\Roaming\Embarcadero\BDS\19.0\environment.proj(59,28): error MSB4024: The imported project file could not be loaded. 'Edition' is an unexpected token. The expected token is '='. Line 59, position 28.

from skia4delphi.

limelect avatar limelect commented on June 27, 2024

Install for Delphi 11.?????
I install it for 10.2!!!!

from skia4delphi.

viniciusfbb avatar viniciusfbb commented on June 27, 2024

C:\Users\LimElect\AppData\Roaming\Embarcadero\BDS\19.0\environment.proj(59,28): error MSB4024: The imported project file could not be loaded. 'Edition' is an unexpected token. The expected token is '='. Line 59, position 28.

There was an error editing the environment variables of your registry. I need you to send me the values of some records:

  1. Open the RegEdit (search for "regedit.exe" in windows search)
  2. Access the key: HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\19.0\Environment Variables
  3. Send me a print screen, and also paste here the content of PATH, inside this registry

from skia4delphi.

enri690 avatar enri690 commented on June 27, 2024

When you click on the OK button where it reads "Please, report this issue", does it open a webpage containing more info about the error?

from skia4delphi.

viniciusfbb avatar viniciusfbb commented on June 27, 2024

Install for Delphi 11.

To be able to install without errors, I had to prohibit Setup to override file "enviroment.proj" in C:\Users\USERNAME\AppData\Roaming\Embarcadero\BDS\22.0\ by making it read only and after install remove read only for Bds to run.

Strangely, setup doesn't edit the enviroment.proj file, it only edits the registry that RAD Studio reads when loading "enviroment.proj".

from skia4delphi.

limelect avatar limelect commented on June 27, 2024

Yes it opens a webpage
path
$(PUBLIC)\Documents\Embarcadero\InterBase\redist\InterBase2017\IDE_spoof;$(PATH)

Screenshot - 12_02_2022 , 22_45_46

from skia4delphi.

enri690 avatar enri690 commented on June 27, 2024

Setup rewrites that file every time, and then I think it is unable to parse it correctly

from skia4delphi.

enri690 avatar enri690 commented on June 27, 2024

same problem

  1. closed Delphi
  2. run as administrator
  3. window 7
  4. got this

Microsoft (R) Build Engine Version 3.5.30729.5420 [Microsoft .NET Framework, Version 2.0.50727.8806] Copyright (C) Microsoft Corporation 2007. All rights reserved.

C:\Users\LimElect\AppData\Roaming\Embarcadero\BDS\19.0\environment.proj(59,28): error MSB4024: The imported project file could not be loaded. 'Edition' is an unexpected token. The expected token is '='. Line 59, position 28.

Before doing this try to make the file "enviroment.proj" Read Only

from skia4delphi.

limelect avatar limelect commented on June 27, 2024

I did readonly
sorry same problem

from skia4delphi.

limelect avatar limelect commented on June 27, 2024

Let's go to my original question what so complicated with install
by hand?
Never had such a problem.
something is definitely wrong with the install source

from skia4delphi.

viniciusfbb avatar viniciusfbb commented on June 27, 2024

definitely wrong with the install source

Interesting! Apparently dcc32.exe is changing this file while compiling via command line. I'll study what may be happening, can you send me the original enviroment.proj and the one modified by setup?

Let's go to my original question what so complicated with install by hand? Never had such a problem. something is definitely wrong with the install source

There's no problem with the manual installation, it's just that it's common to skip some steps, especially step 5. The documentation I sent you describes the step by step very well.

from skia4delphi.

limelect avatar limelect commented on June 27, 2024

where is it? "The documentation I sent you describes the step by step very well."?

from skia4delphi.

limelect avatar limelect commented on June 27, 2024

And lastly
Since all components compiled OK
I moved all dcp and BPL to
C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl
And try to load the components bpl.
All gave me an RTL error. (main Delphi bpl)

from skia4delphi.

jatinpandya avatar jatinpandya commented on June 27, 2024

I have the same issue - the installer shows message to report the error - someone has already uploaded the screen grab above. And then I am shown the following BuildLogs.txt. Is there a way to avoid this error? I have already tried installing without IDE running, as administrator, etc.

`Microsoft (R) Build Engine version 4.8.4161.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2/14/2022 9:02:21 AM.
Project "C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj" on node 1 (default targets).
C:\Users\Jatin\AppData\Roaming\Embarcadero\BDS\22.0\environment.proj(7,9): error MSB5016: The name "asl.log" contains an invalid character ".". [C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj]
Done Building Project "C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj" (default targets) -- FAILED.

Build FAILED.

"C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj" (default target) (1) ->
C:\Users\Jatin\AppData\Roaming\Embarcadero\BDS\22.0\environment.proj(7,9): error MSB5016: The name "asl.log" contains an invalid character ".". [C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj]

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.02
`

from skia4delphi.

viniciusfbb avatar viniciusfbb commented on June 27, 2024

We are doing some tests and will release a new version by tomorrow with some corrections and with the generation of logs by the setup to facilitate the analysis of this type of problem.

For now, manual installation is the alternative. You will find the documentation for manual installation here: https://github.com/skia4delphi/skia4delphi/blob/main/Documents/INSTALLATION.md#manual

from skia4delphi.

viniciusfbb avatar viniciusfbb commented on June 27, 2024

Excellent! I will close the topic but any new problem feel free to open a new issue.

from skia4delphi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.