Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to use new version of Indy 10
#21
(01-13-2020, 04:08 AM)OldBob1938 Wrote: downloaded a fresh copy of Indy 10_5520

And where did you download that from exactly? Indy's Fulgan mirror for nightly snapshots is no longer active.

(01-13-2020, 04:08 AM)OldBob1938 Wrote: extracted everything from Indy 10_5520.zip to folder of the same name in downloads  (instructions said to use a folder of my choice

That is fine.

(01-13-2020, 04:08 AM)OldBob1938 Wrote: should I have run this from the codegear directory in program files?

I wouldn't have, no.

(01-13-2020, 04:08 AM)OldBob1938 Wrote: ran FULLD_2007.BAT and FULLC_2007.BAT 

You don't need to run FULLD_2007.BAT if you don't have Delphi installed. For a C++Builder-only installation, FULLC_2007.BAT will suffice.

(01-13-2020, 04:08 AM)OldBob1938 Wrote: looked in the BIN folder and did not find any indy  bpl files, and there were also no indy files in the source, lib, and include folders?

Because that is not where FULLC_2007.BAT outputs its compiled files to.  It outputs them into a C11 subfolder that it creates in its parent folder.  For example, if FULLC_2007.BAT is located in C:\Indy 10_5520\Lib\ then the compiled files are output to C:\Indy 10_5520\C11\.

(01-13-2020, 04:08 AM)OldBob1938 Wrote: Opened the IDE, looked at componenets->install and there was just a message that it couldn't find any dclindy....100 bpls. 

They shouldn't be in the IDE at all since you removed them before extracting the new source code.  Oh wait, you probably have other components installed that use Indy internally.  But they should have been removed as well when you removed Indy's packages.  If you have components that use Indy, you will have to recompile them too, once you have the updated Indy installed.

(01-13-2020, 04:08 AM)OldBob1938 Wrote: I did notice that there are 2 new folders (C11 and D11) in Indy 10_5520 that are not in the zip.

Correct. The .BAT scripts create them.

(01-13-2020, 04:08 AM)OldBob1938 Wrote: re-ran the BAT files with the output sent to a text file and discovered this message at the end of the FULLD run
......
C:\Users\bob\Downloads\Indy10_5520\Lib\Core\IndyCore110.dpk(25) Fatal: E2202 Required package 'IndySystem110' not found
Error!

Try adding the Indy10_5520\D11 folder to your console's %PATH% environment.  That is where IndySystem110.bpl will be located after it is compiled, but that is not where the FULLD_2007.BAT script compiles IndyCore110.bpl from, so the Delphi compiler doesn't know to look for IndySystem110.bpl there.  Unlike the FULLC_2007.BAT script, which copies everything to the Indy10_5520\C11 folder first and compiles everything from there.  Not sure why the two .BAT scripts are different in that regard.  I didn't write them, MJ did.

On the other hand, I don't really suggest using the FULLD_XXX.BAT scripts for Delphi installations, I tell people to open the individual .DPK project files (or the appropriate IndyXXX.groupproj file) directly in the IDE and compile+install from there instead.  Much easier that way.  That is why the Delphi scripts stop with D2007, while the FULLC_XXX.BAT scripts continue through 10.2 Tokyo (I haven't released updated files for 10.3 Rio yet), as C++Builder installations of Indy have some extra build steps that need to be done at the command-line.

Reply


Messages In This Thread
RE: Is it possible to use new version of Indy 10 - by rlebeau - 01-14-2020, 02:11 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)