Recent

Author Topic: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs  (Read 12771 times)

luk2009

  • Jr. Member
  • **
  • Posts: 50
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


Thaddy

  • Hero Member
  • *****
  • Posts: 10119
Re: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs
« Reply #1 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.
I am more like donkey than shrek

luk2009

  • Jr. Member
  • **
  • Posts: 50
Re: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs
« Reply #2 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

SONFEDAI

  • Jr. Member
  • **
  • Posts: 55
Re: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs
« Reply #3 on: January 18, 2011, 02:21:38 pm »
Open FileProcs.pas

Change
  {$IFDEF MSWindows}
to
   {$IF DEFINED(MSWindows) OR DEFINED(WINDOWS) OR DEFINED(WINCE)}
I'm using
   Lazarus: 0.9.3.1
   Date: 2011-11-05
   FPC: 2.5.1
   SVN Ver.: 29060

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2508
Re: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs
« Reply #4 on: January 18, 2011, 02:54:26 pm »
according to the FPC docs {$IFDEF Windows} should cover them all
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

SONFEDAI

  • Jr. Member
  • **
  • Posts: 55
Re: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs
« Reply #5 on: January 18, 2011, 03:00:05 pm »
according to the FPC docs {$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?
I'm using
   Lazarus: 0.9.3.1
   Date: 2011-11-05
   FPC: 2.5.1
   SVN Ver.: 29060

SONFEDAI

  • Jr. Member
  • **
  • Posts: 55
Re: fileprocs.pas(477,1) Fatal: Can't find unit Unix used by FileProcs
« Reply #6 on: January 18, 2011, 03:13:58 pm »
according to the FPC docs {$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

I'm using
   Lazarus: 0.9.3.1
   Date: 2011-11-05
   FPC: 2.5.1
   SVN Ver.: 29060

 

TinyPortal © 2005-2018