Lazarus

Programming => Packages and Libraries => KOL => Topic started by: luk2009 on October 25, 2010, 11:47:38 am

Title: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs
Post by: luk2009 on October 25, 2010, 11:47:38 am
Hi

this  is my first program using KOL-ce 2.80.3 with lazarus 0.9.29 fpc2.4.3 svn 27815

i received this error:
fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs

Title: Re: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs
Post by: Thaddy on November 18, 2010, 09:45:55 pm
If you are using a *nix as target, KOL won't work for you.
There is only very sparse and very expirimental support for linux based on GTK and libc bindings.
Title: Re: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs
Post by: luk2009 on December 02, 2010, 06:29:36 pm
thank you for your answer, but i don.t know what is *nix.

I used windows 7 and my phone is a HTC touch pro 2 with winmo 6.5
Title: Re: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs
Post by: SONFEDAI on January 18, 2011, 02:21:38 pm
Open FileProcs.pas

Change
  {$IFDEF MSWindows}
to
   {$IF DEFINED(MSWindows) OR DEFINED(WINDOWS) OR DEFINED(WINCE)}
Title: Re: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs
Post by: Marc on January 18, 2011, 02:54:26 pm
according to the FPC docs (http://www.freepascal.org/docs-html/prog/progap7.html) {$IFDEF Windows} should cover them all
Title: Re: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs
Post by: SONFEDAI on January 18, 2011, 03:00:05 pm
according to the FPC docs (http://www.freepascal.org/docs-html/prog/progap7.html) {$IFDEF Windows} should cover them all

I have the error and change {$IFDEF ...} section.

No any error but have new error for installing KOL-CE.

If lazarus need recompile give this and some error

c:\lazarus\components\printers\printersdlgs.pp(42,14) Error: Forward declaration not solved "TPageSetupDialog.Execute:Boolean;"

Dİd you konow? How t solve this problem?
Title: Re: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs
Post by: SONFEDAI on January 18, 2011, 03:13:58 pm
according to the FPC docs (http://www.freepascal.org/docs-html/prog/progap7.html) {$IFDEF Windows} should cover them all

Yeahh

Quote
Windows (all)    WINDOWS
Windows 32-bit    WIN32, MSWINDOWS
Windows 64-bit    WIN64, MSWINDOWS
Windows (winCE)    WINCE, UNDER_CE, UNICODE

{$IFDEF MSWindows}

I Think, it is a bug for Windows CE

This section must be {$ IFDEF WINDOWS} for ALL MS WINDOWS

TinyPortal © 2005-2018