Recent

Author Topic: (ASK) Fatal: Can't find unit iconvenc used by LConv  (Read 9494 times)

kodok.buncit

  • New Member
  • *
  • Posts: 35
(ASK) Fatal: Can't find unit iconvenc used by LConv
« on: September 24, 2010, 10:12:49 am »
hi,i have problem when compiling the multhithred example (and all multhithread application maybe?)
here the error message
../../lcl/lconvencoding.pas(27,24) Fatal: Can't find unit iconvenc used by LConvEncoding  :o
how i can solve this ?

lazarus 0.9.29
fpc 2.4.0-2
platform linux ubuntu - lucid
btw,i dont speak english very well :D
« Last Edit: September 24, 2010, 10:17:37 am by mnemonic »
kodok.buncit on github https://github.com/kodok-buncit/

Primary OS : Linux Ubuntu 12.04
fpc & laz      : always Trunk version

kodok.buncit

  • New Member
  • *
  • Posts: 35
Re: (ASK) Fatal: Can't find unit iconvenc used by LConv
« Reply #1 on: September 25, 2010, 10:33:09 am »
hmmm any body here? :-[ :'(
kodok.buncit on github https://github.com/kodok-buncit/

Primary OS : Linux Ubuntu 12.04
fpc & laz      : always Trunk version

BlueIcaro

  • Hero Member
  • *****
  • Posts: 818
    • Blog personal
Re: (ASK) Fatal: Can't find unit iconvenc used by LConv
« Reply #2 on: September 25, 2010, 11:53:14 am »
Try the last Snapshot

/BlueIcaro

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4565
  • I like bugs.
Re: (ASK) Fatal: Can't find unit iconvenc used by LConv
« Reply #3 on: September 25, 2010, 11:57:49 am »
hi,i have problem when compiling the multhithred example (and all multhithread application maybe?)
here the error message
../../lcl/lconvencoding.pas(27,24) Fatal: Can't find unit iconvenc used by LConvEncoding  :o
how i can solve this ?

This does not look like a thread related problem. In unit LConvEncoding I found:
---
  {$IFDEF UNIX}{$IF not defined(VER2_2_0) and not defined(VER2_2_2)}{$DEFINE HasIconvEnc}{$ENDIF}{$ENDIF}

 uses
   SysUtils, Classes, dos, LCLProc
   {$IFDEF HasIconvEnc},iconvenc{$ENDIF};
---

which means iconvenc is a new unit introduced in FPC 2.4.0.
Please check all your paths in your system and in Lazarus settings. You may be using an old version of RTL.
You could uninstall the old FPC 2.2.x to be sure.

Juha
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

kodok.buncit

  • New Member
  • *
  • Posts: 35
Re: (ASK) Fatal: Can't find unit iconvenc used by LConv
« Reply #4 on: September 27, 2010, 06:45:22 pm »
which means iconvenc is a new unit introduced in FPC 2.4.0.
Please check all your paths in your system and in Lazarus settings. You may be using an old version of RTL.
You could uninstall the old FPC 2.2.x to be sure.

Juha


thanks i just remove old FPC source,its work now :D
kodok.buncit on github https://github.com/kodok-buncit/

Primary OS : Linux Ubuntu 12.04
fpc & laz      : always Trunk version

 

TinyPortal © 2005-2018