[fpc-pascal] cross compiling - easier than expected - wiki needs update?

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Apr 29 19:44:46 CEST 2012


On Sun, 29 Apr 2012 15:27:47 +0200
Bernd <prof7bit at googlemail.com> wrote:

> 2012/4/29 Mattias Gaertner <nc-gaertnma at netcologne.de>:
> 
> > You don't need to set the LCLWidgetType here because win32 is the
> > default for TargetOS win32.
> 
> I tried this but then it seems it would try to use what is configured
> in "Build Lazarus" which is set to GTK2 on my machine. When I try to
> run the resulting exe in wine then it will print this error and exit:
> 
> err:module:import_dll Library libgdk-win32-2.0-0.dll (which is needed
> by L"Z:\\home\\bernd\\proj\\inventar\\inventar.exe") not found

I fixed that. Please test.

Mattias



More information about the fpc-pascal mailing list