I got this problem:
[ 55%] Building CXX object
src/graphic/CMakeFiles/graphic.dir/gl/dither_program.cc.o
In file included from
/var/widelands/BZR/glsl/src/graphic/gl/dither_program.h:23:0,
from
/var/widelands/BZR/glsl/src/graphic/gl/dither_program.cc:20:
/var/widelands/BZR/glsl/src/graphic/gl/fields_to_draw.h:65:9: error: ‘size_t’
does not name a type
inline size_t size() const {
^
/var/widelands/BZR/glsl/src/graphic/gl/dither_program.cc: In member function
‘void DitherProgram::add_vertex(const FieldsToDraw::Field&, int, int)’:
/var/widelands/BZR/glsl/src/graphic/gl/dither_program.cc:118:9: warning: switch
missing default case [-Wswitch-default]
switch (order_index) {
^
/var/widelands/BZR/glsl/src/graphic/gl/dither_program.cc: In member function
‘void DitherProgram::draw(const
DescriptionMaintainer<Widelands::TerrainDescription>&, const FieldsToDraw&)’:
/var/widelands/BZR/glsl/src/graphic/gl/dither_program.cc:169:64: error: ‘const
class FieldsToDraw’ has no member named ‘size’
for (size_t current_index = 0; current_index < fields_to_draw.size();
++current_index) {
^
src/graphic/CMakeFiles/graphic.dir/build.make:215: recipe for target
'src/graphic/CMakeFiles/graphic.dir/gl/dither_program.cc.o' failed
make[2]: *** [src/graphic/CMakeFiles/graphic.dir/gl/dither_program.cc.o] Error 1
CMakeFiles/Makefile2:12562: recipe for target
'src/graphic/CMakeFiles/graphic.dir/all' failed
make[1]: *** [src/graphic/CMakeFiles/graphic.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
--
https://code.launchpad.net/~widelands-dev/widelands/glsl/+merge/240363
Your team Widelands Developers is requested to review the proposed merge of
lp:~widelands-dev/widelands/glsl into lp:widelands.
_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help : https://help.launchpad.net/ListHelp