Recent

Author Topic: LNET MacOSX compilation error  (Read 6000 times)

cipriota

  • Newbie
  • Posts: 1
LNET MacOSX compilation error
« on: January 17, 2009, 01:59:21 am »
Hey everyone,

I'm trying to compile Lnet 0.6.2 in Lazarus (carbon widgetset) but the following errors pop up:

Code: [Select]
/Developer/lazarus/components/lnet/lazaruspackage/lclnet.pas(45,15) Error: Forward declaration not solved "TLCLEventer.HandleIgnoreError(TLHandle)"
/Developer/lazarus/components/lnet/lazaruspackage/lclnet.pas(46,15) Error: Forward declaration not solved "TLCLEventer.HandleIgnoreWrite(TLHandle)"
/Developer/lazarus/components/lnet/lazaruspackage/lclnet.pas(47,15) Error: Forward declaration not solved "TLCLEventer.HandleIgnoreRead(TLHandle)"
/Developer/lazarus/components/lnet/lazaruspackage/lclnet.pas(49,15) Error: Forward declaration not solved "TLCLEventer.HandleEvents(LongInt, LongWord)"
/Developer/lazarus/components/lnet/lazaruspackage/lclnet.pas(57,14) Error: Forward declaration not solved "TLCLEventer.AddHandle(TLHandle):Boolean"
/Developer/lazarus/components/lnet/lazaruspackage/lclnet.pas(58,15) Error: Forward declaration not solved "TLCLEventer.UnplugHandle(TLHandle)"

Any ideas? Thanks
« Last Edit: January 17, 2009, 02:06:59 am by cipriota »

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: LNET MacOSX compilation error
« Reply #1 on: January 17, 2009, 08:51:21 am »
As is said on the lNet roadmap carbon backend is planned for version 0.7 or later. That is why you get the error.


dusanx

  • New Member
  • *
  • Posts: 17
Re: LNET MacOSX compilation error
« Reply #2 on: February 10, 2009, 05:34:01 pm »
Definitely works.

Had same problem today but if you switch components with non-visual counterparts everything works. You don't need lclnet.pas to compile non-visual components used in Lazarus on Mac

Check lnet\examples\console\lhttp for instance and you can use lnet and SSL with Lazarus on Mac.

 

TinyPortal © 2005-2018