Cross compile to Win64 or running Lazarus under wine lazarus / 32-Linux ---------------------------------------------------------------------- ard · 2023-11-02 19:54 Lazarus 3.0RC2 When i cross compile from Linux for Win64 or wen compiled with the Win64 version under wine i only get the main window but the window is not drawn. Compiling with the same Lazarus version on windows work fine. The resulting executable will work on Windows and wine. (Empty project with just the main form) Some hints ? Thanks ---------------------------------------------------------------------- dbannon · 2023-11-03 09:02 Hi Ard, I routinely build my app on U2004 and cross compile to Win64 (and others) without any problem. So, it 'should' work for you. Good move to do an simple app. But it did not work ?  So, perhaps tell us a bit more about your build system ? OS ? FPC - probably 3.2.2 but from distro, source forge or source ? Lazarus 3.0rc2, from source forge or source ? You followed the cross compiler build recipe on the wiki ? (Just the cross compile, I don't use Wine, but maybe someone else might be able to comment on that.) Davo ---------------------------------------------------------------------- ard · 2023-11-03 20:14 Thanks, i figured it out, btw, i'm using FPC 3.3.1 and Lazarus 3.0RC2 while searching for the problem i switched to another desktop and when switching back the window was drawn and the simple app worked. When i compile "real" applications that contains more than an empty form it works fine. (Have not tried this before as the simple app did not work) So this is an error that only pops up in combination of wine with a simple application (Project, new Project, F9), therefore not an FPC or Lazarus thing but a problem / incompatibility in wine (wine 8.18 on Fedora 38) Sorry for the noise