On Friday 20 July 2018 15:22:50 fredvs wrote:
> > tcustommseform.windowopacity has been introduced recently. I assume you
> > try
>
> to
>
> > load a form produced by current MSEide with an old MSEgui mseforms unit.
>
> Yes, it must be the problem.
> The mseforms unit was created with a OS that use windowopacity.
> And it seems that Manjaro xfce does not use windowopacity.
>
> Hum, dont you think that a crash is a litlle too big sanction for the OS
> because not using windowopacity ?
> (IMHO raise a exception is hard).
>
It has nothing to do with the window manager. In the *_mfm.pas file and 
probably in the *.mfm file too there is a property value for 
tcustomform.windowopacity stored which does not exist in the mseform unit you 
use. Please ensure that you use the mseform.pas file from current git master 
branch everywhere and ensure that the used mseform.ppu will be recompiled.

> By the way, there is still a bug in fpc for multi-arch compatibility.
>
> When using fpc in some multi-arch OS (64 and 32 bit), the compilation of
> fpc fail in 32 bit.
> This is caused by the wrong search path used for the linker.
>
The compiler parameters must be setup correctly. Important is -n so no 
existing fpc.cfg influences the setup.
Have a look how it is done for ARM cross compiling
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/raspberrypi/helloworld
The used cross environment is here (32 bit host):
https://sourceforge.net/projects/mseide-msegui/files/fpcrossarm/crossfpc-i386_linux_eabihf_3_0_5.tar.gz/download
or here (64 bit host):
https://sourceforge.net/projects/mseide-msegui/files/fpcrossarm/crossfpc-x86_64_linux_eabihf_3_0_5.tar.gz/download

Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to