[gephex-devel] Adding module copies -> xyz_xpm undeclared error

Martin Bayer martin at gephex.org
Mon Oct 31 16:28:10 CET 2005


Hi Herb,

> When I copy a module (let's say the effectvwarpmodule-dir to
> ownwarpmodule; renaming source files and modifiing the
> ownwarpmodule.spec to match the new name) the build system gives me
> errors concerning the xpm-icon of the module:
> 
> ownwarpmodule_auto.c: In function `getInfo':
> ownwarpmodule_auto.c:110: error: `ownwarpmodule_xpm' undeclared (first
> use in this function)

A xpm file is just a c file that defines an const array. Open the xpm
with a text editor and change the name of the array to "ownwarpmodule_xpm".

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.gephex.org/pipermail/gephex-devel/attachments/20051031/63ce5ad1/signature.pgp


More information about the gephex-devel mailing list