running Lazarus 0.9.24 on Wine lazarus / 1-Linux ---------------------------------------------------------------------- tatamata · 2008-01-02 08:52 Hello. I installed win32 Lazarus 0.9.24 on both OpenSuse and Sabayon Linux, using the latest Wine (0.9.52). It is being installed without problem. But, when I try to install additional components, such as Zeoslib or Rxfpc, although it is compiled without problem, the IDE freezes during rebuilding, in stage "Compiling resource lazarus.rc". Someone said he can install components without troubles in Ubuntu gutsy, which I haven't tried yet, but will, as soon as I get it. Anyway, what could be the reason for my problems? Is it something with windres? Could someone point me to right direction how to enable Lazarus on Wine? What are your experiences? Is there something to be adjusted in Lazarus or Wine? Thanks, Zlatko ---------------------------------------------------------------------- bee · 2008-01-02 16:19 Sorry I can't help you. But I'm very curious. Since both fpc and laz are cross platform development tools and work pretty good on linux and windows, why do you bother running laz using wine? Is there any particular reasons for that? Or perhaps you don't have any windows installed? If the last is the case, why don't you just install windows on a VM? ---------------------------------------------------------------------- osvaldo-tcf · 2008-01-02 17:32 Hi, Wine is good. No licence ... and no resource (memory and cpu) problem. I don't have problem with lazarus+wine. Ubuntu Gutsy + wine package + lazarus-svn (with any components) and more: IbEasy (for firebird design) and DelForEx standalone code format. ---------------------------------------------------------------------- tatamata · 2008-01-04 10:45 Oh, I have found something in Vincent's developer blog that could be connected to my windres problem on Wine: QuoteMonday, October 29, 2007 New poll on the lazarus site about Windows versions Lately I have been trying to fix recompiling the Lazarus (needed to install components) from the IDE. On windows 2000 and higher, using .rc files is working OK if windres is not on the path, but on windows 98 there are still some problems. Marc has done a large graphic rewrite in Lazarus 0.9.23 and he also noticed that there are noticeable difference between Windows 98 and Windows XP. I wondered if there still many people using Windows 98 and Windows ME for Lazarus development or as target for LCL application. Therefore I created a new poll on the Lazarus website, asking people about the oldest Windows version is, that they use for Lazarus development. Currently when we program on the win32 interface we try to use only functions available in windows 95, or provide a fall back if we want to use a function not available on windows 95. Some features like graphics, Unicode support, the shell provided by cmd32.exe and the availability of console (used for the debugger) are better and easier in Windows 2000 and later. So it would be nice if we could restrict ourselves to these newer Windows versions. Personally, I don't think we can drop support for windows 98 yet, but I doubt anybody is using Windows 95 to program with Lazarus. Let us know where you stand and cast your votes in the poll. This poll is about the OS you use for Lazarus, a future poll may be held about the Windows versions you want your developed applications to run on. Note: people who don't use Lazarus on Windows, don't need to vote. Posted by Vincent Snijders at 10:01 PM 5 comments Labels: Windows ---------------------------------------------------------------------- Vincent Snijders · 2008-01-04 11:24 Why are you cross posting, tatmata? ---------------------------------------------------------------------- tatamata · 2008-01-04 12:02 Anxious to get answer:) ---------------------------------------------------------------------- tatamata · 2008-01-04 12:47 What will happen if remove all {$IFDEF WINDOWS}   {$R lazarus.rc} {$ENDIF} and similar lines from Lazarus source code, for instance in lazarus.pp? Would Lazarus still work? ---------------------------------------------------------------------- Leledumbo · 2008-01-07 09:44 Yes, it would. But on Windows, Lazarus executable will fall back to classic style look and have no icon. See Lazarus.rc for what it contains. ---------------------------------------------------------------------- tatamata · 2008-01-07 10:40 What do you mean by "classic style"? Beside icons, what else will be missing without windres? Is it only lazarus.pp to be modified or I need to modify some other source files to completely remove dependency on windres utility? ---------------------------------------------------------------------- tatamata · 2008-01-08 17:48 Actually, it is working now, after I removed lazarus.rc from lazarus.pp. ---------------------------------------------------------------------- Leledumbo · 2008-01-11 04:06 Classic style: Right click on desktop->properties->appearance->windows and buttons->windows classic style