Recent

Author Topic: indy4lazarus install  (Read 10351 times)

ac

  • New Member
  • *
  • Posts: 14
indy4lazarus install
« on: October 24, 2006, 10:57:17 am »
Hi,
maybe I'm a bit stupid or wiered or both ...

I downloaded the indy package from http://indy4lazarus.sourceforge.net/

but... how do I install it ? There is nothing written on the page and there is no readme file? I'm not really experienced with lazaraus and fpc.

Anybody who know how to add indy components to lazarus on a Mac OS X ?

Thanks to everybody who tries to help !

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2582
RE: indy4lazarus install
« Reply #1 on: October 24, 2006, 12:52:09 pm »
I think that lijnk is outdated and you need a recent indy. Don't know where to get it however. Maybe you can ask the Mailinglist.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: indy4lazarus install
« Reply #2 on: October 24, 2006, 02:11:35 pm »
This link on the wiki has up to date download links, I think:
http://wiki.lazarus.freepascal.org/Indy_with_Lazarus

ac

  • New Member
  • *
  • Posts: 14
indy4lazarus install
« Reply #3 on: October 24, 2006, 02:49:34 pm »

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
indy4lazarus install
« Reply #4 on: October 24, 2006, 02:55:39 pm »
The last two links of the download section do work for me.

ac

  • New Member
  • *
  • Posts: 14
indy4lazarus install
« Reply #5 on: October 25, 2006, 11:29:42 am »
I found a package at http://www.indyproject.org/ but I have problems to install Indy 10.2.0.1 on Mac OS  10.3.9. When I build it from the sources, there is following error:

IdSSLOpenSSL.pas(672,13) Error: Incompatible types: got "Pointer" expected "LongInt" .

A developer from the Indy team gave me this information about the problem:
"
That error is referring to this code:

   function _GetThreadID: Integer; cdecl;
   begin
       // TODO: Verify how well this will work with fibers potentially
running from
       // thread to thread or many on the same thread.
       Result := CurrentThreadId; // <-- here
   end;

CurrentThreadId() is defined in IdGlobal.pas as the following:

   function CurrentThreadId: TidThreadId;

The only way I can see the error occuring is if TIdThreadID is a Pointer.
If you look at IdGlobal.pas, you will see that the only possibility of that
happening is when UNIX and UseBaseUnix are both defined:

   {$IFDEF UNIX}
       //...
       {$IFDEF UseBaseUnix}
           //...
           TidThreadId = TThreadId;
           //...
       {$ENDIF}
       //...
   {$ENDIF}

I have no idea what TThreadId is defined as, as it is not an Indy type.
Under any other circumstances, TidThreadId is defined as either LongWord or
LongInt instead.
"

I tried a lot of things but I still get this or other errors.
Anybody could help me please ! Thanks !

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
indy4lazarus install
« Reply #6 on: October 25, 2006, 11:47:52 am »
Try Synapse. It should work. http://synapse.ararat.cz/

 

TinyPortal © 2005-2018