mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 14:49:28 +02:00
LCL: added comment about linker errors when user forgets unit interfaces
git-svn-id: trunk@36485 -
This commit is contained in:
parent
274dd03266
commit
c23b1f8f26
@ -4,6 +4,16 @@ unit WSFactory;
|
||||
|
||||
interface
|
||||
|
||||
{ These functions are implemented by the LCL backends.
|
||||
If you get a linker error for one of these functions you probably forgot
|
||||
to add the unit "interfaces" to your program.
|
||||
The unit interfaces must be added as one of the first units of the main program.
|
||||
|
||||
Example for a linker error:
|
||||
/path/to/lazarus/lcl/units/x86_64-linux/wsimglist.o: In function `REGISTERCUSTOMIMAGELIST':
|
||||
/path/to/lazarus/lcl//widgetset/wsimglist.pp:266: undefined reference to `WSRegisterCustomImageList'
|
||||
}
|
||||
|
||||
// imglist
|
||||
function WSRegisterCustomImageList: Boolean; external name 'WSRegisterCustomImageList';
|
||||
// controls
|
||||
|
Loading…
Reference in New Issue
Block a user