Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-09

fpGUI

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vannus

I see fpGUI is 'pre-alpha', but i'm still a little surprised that when i try to compiile a 'blank' app I get an error...

"Fatal: Can't find unit Interfaces used by project1"

uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms, Unit1, LResources
{ you can add units after this };

and yet if I change only from 'fpGUI' to 'default' its fine...

any ideas?

- V

ps. Lazarus 0.9.28.beta on Windows 7 32bit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100901/68f91317/attachment.html>

Reply by email

José Mejuto
to Vannus

Hello Lazarus-List,

Wednesday, September 1, 2010, 11:49:27 PM, you wrote:

V> I see fpGUI is 'pre-alpha', but i'm still a little surprised that when i try V> to compiile a 'blank' app I get an error...
V> "Fatal: Can't find unit Interfaces used by project1" [...]
V> and yet if I change only from 'fpGUI' to 'default' its fine... V> any ideas?

You must recompile the LCL using fpGUI as target platform (Tools -> Configure Build Lazarus -> LCLInterface=fpGUI -> Select LCL build or LCL clean+build -> Build Lazarus.

All other options, like Package registration, IDE interface, etc, must be in "Non Build" mode ( the option under the X ).

PS: You must have fpGUI files in the fpGUI folder as described in Lazarus\lcl\interfaces\fpgui\README.txt

They are not supplied with Lazarus.

Best regards, Jos?

Reply by email