Lazarus

Installation => General => Topic started by: kevinspencer33 on February 09, 2010, 03:11:06 pm

Title: Wine or Cross compiling in Ubuntu (an impossible odyssey?)
Post by: kevinspencer33 on February 09, 2010, 03:11:06 pm
Lazarus version: 0.9.28
FPC version: 2.2.4
SO: Ubuntu Linux 9.10
Wine: 1.1.31

I want to make a Windows application but I use Linux, so I installed Lazarus for Windows for running with Wine, but it don't run. I see the splash screen and nothing more, although the lazarus.exe process is running).

 Then I tried to cross compile Lazarus, but it seems that there are 2 or 3 ways to do it, and i don't know really what to do.
 
 After failing to do that :http://wiki.lazarus.freepascal.org/Cross_compiling_for_Win32_under_Linux (http://wiki.lazarus.freepascal.org/Cross_compiling_for_Win32_under_Linux)

I successfully build fpc for cross compilling with windows, with this:http://wiki.lazarus.freepascal.org/Cross_compiling#To_Windows (http://wiki.lazarus.freepascal.org/Cross_compiling#To_Windows)
but when i try to build the LCL I see this messages:
Code: [Select]
/usr/lib/lazarus/0.9.28.2/lcl/interfaces/win32/win32int.pp(27,26) Warning: User defined: Fix implicit pointer conversions
win32int.pp(78,23) Fatal: Can't find unit Windows used by Win32Int


How I can really do a Windows program in Linux with Lazarus?
If there's no solution to this problem I may install Virtual Box or something like this. But I think that there will be a deb package for lazarus / fpc cross compilling, or at least a Lazarus for Windows that works under linux.
Title: Re: Wine or Cross compiling in Ubuntu (an impossible odyssey?)
Post by: mmab on February 09, 2010, 03:43:40 pm

Hi,
you may setup a virtualization software,
then you could setup lazarus on that software.
here you can find all vmware in once:

http://en.wikipedia.org/wiki/Comparison_of_platform_virtual_machines

Title: Re: Wine or Cross compiling in Ubuntu (an impossible odyssey?)
Post by: fredycc on February 09, 2010, 04:31:53 pm
Hi kevinspencer33, I use a virtualization software for compile diferent versions of my program like mmab suggest; in my case I use WMWare Workstation 7 on my windows vista; You can install differents platforms include SnowLeopard  ;) but is illegal** just for test reasons. I have compile programs for linux, Win, Os X and Mobile App successfully!!; Lazarus is powerfull.

I suggest you install a virtualization program too.
Title: Re: Wine or Cross compiling in Ubuntu (an impossible odyssey?)
Post by: kevinspencer33 on February 09, 2010, 05:26:24 pm
OK, so I'm not the only having problems with that. I'll try with a virtualization program, as you two suggested.
TinyPortal © 2005-2018