I'm trying to install the Orpheus library in Delphi XE8. I added the source path to the library path, and successfully compiled the run-time package (OrpheusDR.dpk). But when I try to install the design-time package (OrpheusDD.dpk) Delphi hangs immediately.
Is there a workaround (like patching certain files) to get the package installed after all?
PS: SysTools (another TurboPack package) installed without problems
Related
I am trying to use the TEdgeBrowser component in RAD Studio 10.2.
I want to apply that component by following the guide document below:
Using TEdgeBrowser Component and Changes to the TWebBrowser Component
The document uses the component after installing the package through Edge search in Getit Package Manager.
RAD Studio 10.2 GetIt was unable to find TEdgeBrowser:
I downloaded the package from the Nuget site, and try to install the package manually.
So I downloaded the nupkg file from the Nuget download link:
Microsoft.Web.WebView2 Download Link
In the document, the description of the component and package installation is completed by adding the downloaded DLL file to the executable file path.
How do I manually install packages and use components in the Delphi IDE using nupkg files?
I tried to install it using GetItCmd.exe, Nuget.exe, etc, but there aren't enough guides on how to do this, so I'm asking the question.
I downloaded Microsoft.Web.WebView2 0.9.488 package from the Nuget site, but it doesn't matter if I use the latest version.
The help says "You can use GetIt Package Manager to discover and install additional third-party software onto RAD Studio." but Indy is not available in GetIt
I dowloaded newest files from Github. I run the Fullc_Rio.bat file then opened Indy260.groupproj but when compiling I got:
[Fatal Error] Cannot compile package 'IndySystem260' which is currently required by Delphi 10.3.
Indy comes pre-installed in every IDE version, and has been for a very long time.
However, if you want to install a newer version than what Embarcadero ships, you have to first remove the pre-installed version. This is mentioned in Indy's installation notes:
All package names are followed by X0 (where X0 is your Delphi/C++Builder/RAD Studio product version).
...
If Indy 10 is already installed, it needs to be uninstalled first:
Remove the pre-compiled design-time BPL files - dclIndyCoreX0.bpl and dclIndyProtocolsX0.bpl - from the IDE via the "Components > Install Packages" dialog.
Delete all of the existing binaries - IndySystemX0.*, (dcl)IndyCoreX0.*, and (dcl)IndyProtocolsX0.*
Delete any Indy 10 source files, if present.
Be sure to check for files in the IDE's \bin, \lib, and \source folders, \Indy subfolders, and OS system folders.
...
You can either:
Use the command-line FULLD#.BAT script that corresponds to your Delphi version.
Open the individual DPK files in the IDE and compile them, in the following order:
IndySystemX0.dpk (in Lib\System)
IndyCoreX0.dpk (in Lib\Core)
IndyProtocolsX0.dpk (in Lib\Protocols)
dclIndyCoreX0.dpk (in Lib\Core)
dclIndyProtocolsX0.dpk (in Lib\Protocols)
...
Refer to the installation notes for full instructions.
Indy is already installed in Rio during the product installation. It's used in parts of the RTL. It's already installed in all versions of Delphi.
If you open a new VCL or FMX application, click on a form to activate the designer, and go to the component palette, and enter TId in the search box, you can find the Indy related component pages in the palette.
I've uninstalled my RAD Studio 10.2.2 and installed 10.2.3 in my Win10 development VM. Along the way I uninstalled all the previous 3rd-party libs, including the Jedi GetIt packages, and per the instructions got rid of all the old Jedi source and DCP/DCLs. I'm attempting to install them back into 10.2.3 via GetIt. The JCL libs install fine, but when I try to install JVCL, the installation batch file hangs after compiling the installer and the VM comes to its knees. I rebooted, started taskmgr and watched as the batch file ran - it appears to go into a loop creating many instances of msgfmt. I've tried removing it all again, downloading and installing the 3.8 version myself and running the install batch file by itself, same problem; then backing up to the 3.6 version that had installed OK in 10.2.2, and it does the same thing. If I edit the batch file to skip the language-setup section, the batch file completes OK, but trying to re-run the GetIt update causes it to re-download and replace that batch file. :(
The installer does compile before the languages part of the batch file is reached, so I tried running the installer directly. I assume I'm not passing it cmd line info it needs, because it compiles the 64-bit libs fine but chokes immediately on compiling the 32-bit version of JvCore250.bpl with an unspecified compile error.
Anyone else run into this? Is a solution known?
Turns out to ultimately be a pathing problem. When multiple installations of the IDE exist on a machine (e.g. my VM has or previously had D2007, XE2 and 10.1 on it), the PATH environment variable can be too long - edit the PATH in the system to remove the old/stale paths. Then make sure that the library paths in the IDE includes $(BDSLIB)\$(PLATFORM)\release or you'll get "can't find RTL" when building the packages.
For me the problem is generated from the msgfmt.exe of dxgettext.
msgfmt.exe generates multilanguage messages, for a multilanguage support of jvcl installation.
For the specific problem of msgfmt.exe try to see this: dxgettext and Windows 10
I resolved the problem opened the install.bat file in jvcl folder, and I commented (with ::) every line where the msgfmt is executed.
Attention:
If you use getit I suppose you have to open the folder where jvcl is downloaded and search install.bat (I didn't use getit)
Instead I downloaded jvcl directly from github in my component folder, and I did what is written above in that folder.
When trying to install JCL and JVCL into Delphi 10 Seattle using the GetIt Package Manager I get an error:
"Windows 7 Professional Service Pack 1 (6.1.7601)
JVCL 3.50.0.0
[Generating: Packages]
Generating packages for D15
Loaded template.dpk
Loaded template.dproj
Loaded template.rc
[Compiling: Packages]
[Compiling: JvCore150.bpl]
Embarcadero Delphi for Win32 compiler version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
C:\Users\Lars\Documents\Embarcadero\Studio\17.0\CatalogRepository\JEDIVisualComponentLibraryJVCL-3.49\Common\jvcl.inc(26) Fatal: F1026 File not found: 'jedi\jedi.inc'
"
JCL version is 2.8.0 that is available via GetIt Package Manager
This question has some resemblance with Error in JCL installation
Uncheck other versions of delphi - The JCL installer defaults to installing into EVERY version of Delphi, not just Delphi 10 Seattle. You have to page by page and uncheck the main root tree item option on each page.
Make sure you don't have any other Jedi stuff linked implicitly into other packages you have installed.
Make sure none of the folders in your Library Path contains another copy (probably older and out of date) of jvcl.inc or jedi.inc files, or any other Jedi JCL or JVCL source or dcu files.
Clean up and remove old/stale DCP/DCU files.
If you want to attempt a manual repair of the package settings, open the package source JvCore.dpk from the packages folder beneath C:\Users\Lars\Documents\Embarcadero\Studio\17.0\CatalogRepository\JEDIVisualComponentLibraryJVCL-3.49\ and try to manually add to the search path the Common and Include folders that contain these two files.
After manual repairs, try manually restarting the installer main executable, probably named Install.bat
If none of those work, then I suspect that the problem is that the Repository folder is a pretty long path name, and the resulting library path name may be too long for something inside the JCL installer or the DCC32 command line compiler. In such a case, I would recommend removing anything you can from your library path before you start, install JCL+JVCL and then restore your library path to its former really-long value.
git clone git://github.com/project-jedi/jvcl.git jvcl
```
This will get you the JVCL repository. You also need the JCL https://github.com/project-jedi/jcl
How to install
Install the JCL https://github.com/project-jedi/jcl
Start the jvcl\install.bat
JCL:
git clone git://github.com/project-jedi/jcl.git jcl
cd jcl
git submodule update --init
```
This will get you the JCL repository and initializes the submodule that contains the jedi.inc and kylix.inc files.
How to install
Start the jcl\install.bat
I succeded to install JCL and JVCL by download a ziped version (JVCL349CompleteJCL27-Build5676.zip) containing both JCL and JCVL from http://jvcl.delphi-jedi.org/
The problem I had seams to relate to multible installations of Delphi and several versions of JCL in the path. If I just installed for DX, it worked fine :)
Use the GetIt Package Manager integrated in your RadStudio IDE to download JCL and JVCL, check this other question.
Finally a headeachless way to install JVCL!
Get JCL and JVCL from the source. Uncheck all no installed compilers.
This works for Embardadero 10.1 Berlin! (24)
(you could download the zip from this place)
https://github.com/project-jedi/jcl
https://github.com/project-jedi/jvcl
I am trying to install JVCL 3.47 on a Delphi XE3 instance but I failed twice; I know that first I must install JCL; When I run Install.bat located in the jcl folder I get this error: "Windows cannot find '..\bin\JediInstaller.exe' ...;
I looked into bin folder but indeed JediInstaller.exe is not there; So I have opened the project JediInstaller located in "..\JVCL347CompleteJCL241-Build4571\jcl\jcl\install" and compiled it and then I started JediInstaller and installed JCL; Afer I tried to install JVCL again with opening the installer project and compiling it but again it returned an error that JCL is not installed and I don't know way because I have it installed;
When I installed JVCL 3.45 on Delphi Xe2, Win 7 it worked by opening install.bat, but now on Win8 , Delphi XE3 it doesn't work... Please somebody advise me how to install properly JVCL (I need to modify a project built with XE2 and Jvcl by the day after tomorrow).
Thanks in advance.