[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-devel] Compile error
From: |
Josh Glover |
Subject: |
[Adonthell-devel] Compile error |
Date: |
Wed, 6 Jun 2012 11:31:55 +0200 |
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?
: address@hidden; mkdir adonthell-build && cd adonthell-build
: address@hidden; cmake -DCMAKE_INSTALL_PREFIX=/usr/local ../adonthell
[...]
-- Configuring done
-- Generating done
-- Build files have been written to: /home/josh/Documents/code/adonthell-build
: address@hidden; 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] Compile error,
Josh Glover <=
- Re: [Adonthell-devel] Compile error, Kai Sterker, 2012/06/06
- Re: [Adonthell-devel] Compile error, Josh Glover, 2012/06/06
- Re: [Adonthell-devel] Compile error, Kai Sterker, 2012/06/06
- Re: [Adonthell-devel] Compile error, Josh Glover, 2012/06/06
- Re: [Adonthell-devel] Compile error, Josh Glover, 2012/06/07
- Re: [Adonthell-devel] Compile error, Kai Sterker, 2012/06/07
- Re: [Adonthell-devel] Compile error, Josh Glover, 2012/06/07
- Re: [Adonthell-devel] Compile error, Josh Glover, 2012/06/07
- Re: [Adonthell-devel] Compile error, StyxD, 2012/06/07
- Re: [Adonthell-devel] Compile error, Josh Glover, 2012/06/08