[Lazarus] Lazarus fails to start with "TWinControl.CreateWnd: The nogui widgetset does not support visual controls."

Frank Church vfclists at gmail.com
Wed Jan 19 19:25:04 CET 2011


On 19 January 2011 16:43, Frank Church <vfclists at gmail.com> wrote:

>
>
> On 19 January 2011 06:14, Vincent Snijders <vincent.snijders at gmail.com>wrote:
>
>> 2011/1/19 Mattias Gaertner <nc-gaertnma at netcologne.de>:
>> >> Are there some steps the additional steps required in the Build All
>> that I
>> >> may have missed?
>> >
>> > You have to choose the nogui widgetset in the project's compiler
>> > options and of course you must not use any unit that uses the gtk.
>>
>> Build all builds also the IDE with the nogui widgetset, that is not
>> what you want and what is supported, the IDE needs a GUI. Building
>> just the LCL with nogui is good and then you can try to compile your
>> project.
>>
>> --
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>>
>
>
> I set NoGUI alone in the project options and it worked.
>
> Thanks.
>
>
>

As a side question - what does the NoGUI widgetset do, how does it work?

Does it send all GUI related objects down some blackhole, or is the
programmer supposed to ensure that no Forms and items placed on forms are
included in the program?


-- 
> Frank Church
>
> =======================
> http://devblog.brahmancreations.com
>



-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110119/b9134a7b/attachment-0003.html>


More information about the Lazarus mailing list