Sign in Join

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

Mailing lists / lazarus / 2002-03

No widget interface object error (Win32)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Keith Bowes
to Unknown author: After some search in mailing list and in Lazarus homepage, i compiled Lazarus with…

----- Original Message -----
From:
To:
Sent: Sunday, March 10, 2002 9:54 PM
Subject: [lazarus] No widget interface object error (Win32)

Show quoted text 8 lines
After some search in mailing list and in Lazarus homepage, i compiled Lazarus with success under win32, but when i run the executable i get the following error message: ERROR: no widget interface object. Did u compile an abstract LCL? An unhandled exception occurred at 0x0052B2E9 : No widget interface object. Did u compile an abstract LCL? 0x0052B2E9 TAPPLICATION__INITIALIZE, line 177 of

./include/application.inc

forms.pp - finalization section

I haven't worked on the win32 interface in a while (because I got frustrated with tool bars and with using a non-release version of FPC), but I updated my source and the only problem was a typo in the Win32-specific part of the code tools. I've fixed the typo and have committed the file. The compilation now goes fairly smoothely, considering you have to type 'make' three times. After compilation, the lazarus.exe runs as well (or badly, depending on your point of view) as ever.

My advice is to type the following:
make clean
make
make
make

If that doesn't work, I don't know what the problem is.

I've already defined LCL_PLATFORM=win32 in makefile. Is it necessary do more something to define the LCL_Platform?

On Windows, win32 is the default LCL_PLATFORM (case sensitive).

Keith

Reply by email

Unknown author

After some search in mailing list and in Lazarus homepage, i compiled Lazarus with success under win32, but when i run the executable i get the following error message:

ERROR: no widget interface object. Did u compile an abstract LCL? An unhandled exception occurred at 0x0052B2E9 :
No widget interface object. Did u compile an abstract LCL? 0x0052B2E9 TAPPLICATION__INITIALIZE, line 177 of ./include/application.inc

forms.pp - finalization section

I've already defined LCL_PLATFORM=win32 in makefile. Is it necessary do more something to define the LCL_Platform?

I'm using win98 SE, fpc 1.05 (http://movieplace.freeyellow.com/prog/lazarus/#dl), and lazarus src nigth builds 03/08/01
Thanks.

------------------------------------------
Use o melhor sistema de busca da Internet
Radar UOL - http://www.radaruol.com.br

Reply by email