I'm trying to get Adonthell compiled from a fresh checkout to be all
ready for this weekend's IRC hackathon, and have run into a build
error.

Any ideas?


: josh@laurana; mkdir adonthell-build && cd adonthell-build
: josh@laurana; cmake -DCMAKE_INSTALL_PREFIX=/usr/local ../adonthell
[...]
-- Configuring done
-- Generating done
-- Build files have been written to: /home/josh/Documents/code/adonthell-build
: josh@laurana; make
[...]
Scanning dependencies of target adonthell_gfx
[ 22%] Building CXX object src/gfx/CMakeFiles/adonthell_gfx.dir/drawable.cc.o
[ 22%] Building CXX object
src/gfx/CMakeFiles/adonthell_gfx.dir/drawing_area.cc.o
[ 23%] Building CXX object src/gfx/CMakeFiles/adonthell_gfx.dir/png_wrapper.cc.o
/home/josh/Documents/code/adonthell/src/gfx/png_wrapper.cc: In static
member function ‘static void* gfx::png::get(std::ifstream&, u_int16&,
u_int16&, bool*)’:
/home/josh/Documents/code/adonthell/src/gfx/png_wrapper.cc:107:26:
error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:726:16: error: forward declaration of
‘struct png_info’
/home/josh/Documents/code/adonthell/src/gfx/png_wrapper.cc:108:26:
error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:726:16: error: forward declaration of
‘struct png_info’
/home/josh/Documents/code/adonthell/src/gfx/png_wrapper.cc:121:27:
error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:726:16: error: forward declaration of
‘struct png_info’
/home/josh/Documents/code/adonthell/src/gfx/png_wrapper.cc:126:25:
error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:726:16: error: forward declaration of
‘struct png_info’
/home/josh/Documents/code/adonthell/src/gfx/png_wrapper.cc:140:62:
error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:726:16: error: forward declaration of
‘struct png_info’
/home/josh/Documents/code/adonthell/src/gfx/png_wrapper.cc:159:135:
error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:726:16: error: forward declaration of
‘struct png_info’
/home/josh/Documents/code/adonthell/src/gfx/png_wrapper.cc: In static
member function ‘static void gfx::png::put(std::ofstream&, const
char*, u_int16, u_int16, bool)’:
/home/josh/Documents/code/adonthell/src/gfx/png_wrapper.cc:234:58:
error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:726:16: error: forward declaration of
‘struct png_info’
make[2]: *** [src/gfx/CMakeFiles/adonthell_gfx.dir/png_wrapper.cc.o] Error 1
make[1]: *** [src/gfx/CMakeFiles/adonthell_gfx.dir/all] Error 2
make: *** [all] Error 2


-- 
Cheers,
Josh

_______________________________________________
Adonthell-devel mailing list
Adonthell-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/adonthell-devel

Reply via email to