Fox Tool kit installing issue
Soubheek Nath <[email protected]> Fri, 22 Sep 2023 08:41:19 +0530
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Message-ID | <[email protected]> |
I am attempting to install the fox tool kit on my Ubuntu 23.04 operating
system. However, I encountered some errors after building it. I also
attempted to install libpng, but encountered the same problems.
fxpngio.cpp:78:18: error: invalid use of incomplete type 'png_struct'
{aka 'struct png_struct_def'}
78 | longjmp(png_ptr->jmpbuf,1); //
Bail out
| ^~
In file included from fxpngio.cpp:29:
/usr/include/png.h:439:16: note: forward declaration of 'png_struct'
{aka 'struct png_struct_def'}
439 | typedef struct png_struct_def png_struct;
| ^~~~~~~~~~~~~~
In file included from /usr/include/pngconf.h:51,
from /usr/include/png.h:335:
fxpngio.cpp: In function 'bool FX::fxloadPNG(FXStream&, FXColor*&,
FXint&, FXint&)':
fxpngio.cpp:121:20: error: invalid use of incomplete type 'png_struct'
{aka 'struct png_struct_def'}
121 | if(setjmp(png_ptr->jmpbuf)){
| ^~
/usr/include/png.h:439:16: note: forward declaration of 'png_struct'
{aka 'struct png_struct_def'}
439 | typedef struct png_struct_def png_struct;
| ^~~~~~~~~~~~~~
fxpngio.cpp: In function 'bool FX::fxsavePNG(FXStream&, const FXColor*,
FXint, FXint)':
fxpngio.cpp:234:20: error: invalid use of incomplete type 'png_struct'
{aka 'struct png_struct_def'}
234 | if(setjmp(png_ptr->jmpbuf)){
| ^~
/usr/include/png.h:439:16: note: forward declaration of 'png_struct'
{aka 'struct png_struct_def'}
439 | typedef struct png_struct_def png_struct;
| ^~~~~~~~~~~~~~
make[1]: *** [Makefile:745: fxpngio.lo] Error 1
make[1]: Leaving directory '/home/sn/temp/fox-1.6.8/src'
make: *** [Makefile:203: install-recursive] Error 1
--
Soubheek Nath
Fifth Estate
[email protected]
_______________________________________________
Foxgui-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/foxgui-users