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 !