Comments (26)
- 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.
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.
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 `
- 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.
from skia4delphi.
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.
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.
Install for Alexandria goes well. Demo Android runs Ok also. Thank you.
from skia4delphi.
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.
@limelect Are you trying to install manually? If so, do you need to follow the steps in manual installation documentation, especially the step 5:
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.
used exe same problem
what the dll for?
dll source?
from skia4delphi.
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.
same problem
- closed Delphi
- run as administrator
- window 7
- 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.
Install for Delphi 11.?????
I install it for 10.2!!!!
from skia4delphi.
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:
- Open the RegEdit (search for "regedit.exe" in windows search)
- Access the key: HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\19.0\Environment Variables
- Send me a print screen, and also paste here the content of PATH, inside this registry
from skia4delphi.
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.
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.
Yes it opens a webpage
path
from skia4delphi.
Setup rewrites that file every time, and then I think it is unable to parse it correctly
from skia4delphi.
same problem
- closed Delphi
- run as administrator
- window 7
- 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.
I did readonly
sorry same problem
from skia4delphi.
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.
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.
where is it? "The documentation I sent you describes the step by step very well."?
from skia4delphi.
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.
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.
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.
Excellent! I will close the topic but any new problem feel free to open a new issue.
from skia4delphi.
Related Issues (20)
- TSkPath.Contains() does not work properly in some situations HOT 1
- Enabling Skia causes other controls to redraw abnormally HOT 2
- MacOS: Exception in libsk4d.dylib in skia::textlayout::TextWrapper::lookAhead
- TSkSVG not displaying SVG file properly HOT 4
- In Delphi 12 IDE crashes when you drag and drop TSkAnimatedPaintbox to Form HOT 1
- ACCESS Violation after adding SKIA to Uses clause HOT 3
- Text extent fails under MacOS(!) HOT 3
- SKIA for Android: GPU SkImage Rendering Failure on TGLCanvas vs. Vulkan HOT 10
- Android Crash on Delphi 11.3 for Transferred Bricks Game Demo Project HOT 2
- Universal MAC Dylib HOT 4
- ISkRuntimeEffect changes from 3.4.0 to 6.0.0 HOT 3
- Request for SkFontMg.matchFamilyStyleCharacter equivalent
- Request for SkTextBlob.bounds eqivalent
- How to enable GPU in VCL? HOT 1
- Getting an indexed color from TSkPaint.Shader.MakeGradientLinear HOT 1
- Crashes Delphi 11.1, skia versão 6.0 HOT 2
- error: program is too large HOT 2
- TSkSvg with an SVG with french special caracters HOT 4
- Japanese fonts are not displayed correctly when Skia is enabled.
- Blackscreen on iPad Pro 11" (3rd Gen) with biggest display zoom, setting "more surface" and GlobalMetal=true HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skia4delphi.