[Lazarus] How is work search path in CrossPlatform

Michael Van Canneyt michael at freepascal.org
Wed Mar 26 11:49:46 CET 2014



On Wed, 26 Mar 2014, FreeMan wrote:

> Hello,
> I'm using fpc & lazarus last svn on kubuntu 13.10 x64
> I have a converted package from "antique hellenic city name". its use 
> "fpcsrc/2.7.1/packages/x11/src/x.pp" everything is okay on my system, but 
> when I try crosscompile to win32 or win64 "Fatal: Can not find unit x used by 
> "
>
> /opt/freepascal/2.7.1/lib/fpc/2.7.1/units/
> x86_64-linux/x11 --> My system and this folder is there but, i386-win32/x11 
> and x86_64-win64/x11  has not
>
> x.pp has just type and const definition
> what is wrong ? has anyone have any idea?

X are the X-server headers. 
They cannot work on windows, they are by definition not cross-platform.

The only solution is not to use this unit.

Michael.




More information about the Lazarus mailing list