Recent

Author Topic: Can't compile(can not find termio used by synaser)  (Read 10492 times)

allen_lins

  • New member
  • *
  • Posts: 7
Can't compile(can not find termio used by synaser)
« on: March 24, 2009, 03:58:38 pm »
I have written an application to open virtual serial port(bluetooth) using 5dpo and synaser.
When compile (set as LCL widget type: wince (beta); Target Platform: wince, arm);
 It gives error message as

C:\lazarus\Sdpo\SdpoSerial\synaser.pas(1,1) Fatal: Can't find unit termio used by synaser


what does it mean?

The compile is successful if I do not use coss-compiler.


allen_lins

  • New member
  • *
  • Posts: 7
Re: Can't compile(can not find termio used by synaser)
« Reply #1 on: March 24, 2009, 04:06:25 pm »
the unit termio is in the following section of synaser. the baseunix, unix also can not be found.

unit synaser;

interface

uses
{$IFNDEF WIN32}
  {$IFNDEF NO_LIBC}
  Libc,
  KernelIoctl,
  {$ELSE}
  termio, baseunix, unix,
  {$ENDIF}
  {$IFNDEF FPC}
  Types,
  {$ENDIF}
{$ELSE}
  Windows, registry,
  {$IFDEF FPC}
  winver,
  {$ENDIF}
{$ENDIF}
  synafpc,
  Classes, SysUtils, synautil;

allen_lins

  • New member
  • *
  • Posts: 7
Re: Can't compile(can not find termio used by synaser)
« Reply #2 on: March 24, 2009, 04:40:51 pm »

I have used:

lazarus-0.9.26-fpc-2.2.2-win32.exe
Lazarus-0.9.26-fpc-2.2.2-cross-arm-wince-win32.exe
Sdpo-0.1.6.zip
synaser.zip-2007-12-21 - release no. 16

allen_lins

  • New member
  • *
  • Posts: 7
Re: Can't compile(can not find termio used by synaser)
« Reply #3 on: March 25, 2009, 04:22:06 pm »
I have recieved reply form Synapse project


'It is because I never try to compile it for WinCE, and current IFDEFs not identifying this platform correctly.'


'> That means I can not use synaser under windows mobile system in PDA or> Smartphone?
---Yes. It means - nobody ported Synaser to this platform yet.'


It is a pity that I can not use synaser in windows mobile PDA or Smart Phone.
So if I want to use serial port component in windows mobile(Wince), any other serial port component supported LAZARUS except Synaser?

 

TinyPortal © 2005-2018