Recent

Author Topic: [SOLVED]Trying to install Indy10 in Lazarus  (Read 4891 times)

ruk1n

  • New Member
  • *
  • Posts: 16
[SOLVED]Trying to install Indy10 in Lazarus
« on: May 24, 2017, 11:20:18 am »
Hello,

At the moment, I'm trying to install the Indy10 package into my fresh, clean Lazarus 1.6.4, fpc 3.0.2 on Windows 10 64.

Indy10 install crashes with the following messages :
Quote
...
C:\lazarus\ide\main.pp(236,40) Hint: (5024) Parameter "Sender" not used
C:\lazarus\ide\main.pp(398,35) Hint: (5024) Parameter "Sender" not used
(10001) PPU Loading C:\cygwin64\home\ruk1n\Indy10\Lib\lib\x86_64-win64\IdStreamVCL.ppu
(10011) PPU Source: IdStreamVCL.pas not found
(10011) PPU Source: IdCompilerDefines.inc not available
(10028) Recompiling IdStreamVCL, checksum changed for IdGlobal
C:\lazarus\ide\IdStreamVCL.pas(74,12) Fatal: (10022) Can't find unit IdStreamVCL used by IdStream
Fatal: (1018) Compilation aborted
Error: C:\lazarus\fpc\3.0.2\bin\x86_64-win64\ppcx64.exe returned an error exitcode
make[2]: *** [lazarus.exe] Error 1
make[2]: Leaving directory `C:/lazarus/ide'
make[1]: *** [idepkg] Error 2
make[1]: Leaving directory `C:/lazarus/ide'
make: *** [idepkg] Error 2
make: Leaving directory `C:/lazarus'

It seems Lazarus can't find IdStreamVCL.pas (In fact, IdStreamVCL.pas is in Indy10/Lib/System/)
I've tried to set the path in Options/Compiler Options/Paths/ -Fu but it doesn't work...
Any clue ?

Thanks in advance
« Last Edit: May 24, 2017, 12:54:32 pm by ruk1n »

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Trying to install Indy10 in Lazarus
« Reply #1 on: May 24, 2017, 11:49:00 am »
You need to compile Indy 10 twice before trying to install the indylaz package. It is a known issue but everything works fine after you've done this.

JD
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

balazsszekely

  • Guest
Re: Trying to install Indy10 in Lazarus
« Reply #2 on: May 24, 2017, 11:50:48 am »
You can install indy through Online Package Manager:
1. Download/install OPM from here: https://drive.google.com/open?id=0B9Me_c5onmWoLUJmYUNwc0ItVkk.
2. Start OPM fromLazarus Menu-->Packages-->Online Package Manager
3. Install Indy 10

ruk1n

  • New Member
  • *
  • Posts: 16
Re: Trying to install Indy10 in Lazarus
« Reply #3 on: May 24, 2017, 12:46:58 pm »
You're right JD. After compiling twice Indy10 get finally installed  :D

Thanks a lot

GetMem: I'll try OPM, thanks too
« Last Edit: May 24, 2017, 12:54:10 pm by ruk1n »

MarkAurelius

  • Newbie
  • Posts: 4
Re: [SOLVED]Trying to install Indy10 in Lazarus
« Reply #4 on: May 25, 2017, 02:16:49 am »
I'm a Lazarus newbie. How do you install OPM? I downloaded the zip file but there was no readme.

sky_khan

  • Guest
Re: [SOLVED]Trying to install Indy10 in Lazarus
« Reply #5 on: May 25, 2017, 02:53:47 am »
I'm a Lazarus newbie. How do you install OPM? I downloaded the zip file but there was no readme.

Select Package-Open Package File from menu
select onlinepackagemanager.lpk
...
Click Compile (wait for its compiled), Use-Install
« Last Edit: May 25, 2017, 02:57:48 am by SkyKhan »

MarkAurelius

  • Newbie
  • Posts: 4
Re: [SOLVED]Trying to install Indy10 in Lazarus
« Reply #6 on: May 25, 2017, 06:11:53 am »
Thanks, that did it. I now have an IPro folder of components.

Oops: I then went to the OPM form and now I have a number of Indy tabs in the component palette
« Last Edit: May 25, 2017, 06:16:42 am by MarkAurelius »

 

TinyPortal © 2005-2018