← Back to team overview

kicad-developers team mailing list archive

bzr 5173 build broken

 

After bzr up  and  make clean  && make -j10

......


[ 38%] Built target shader_headers
[ 38%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/shader.cpp.o
/home/jfm/build/kicad/kicad.bzr/common/gal/opengl/shader.cpp: In member function ‘bool KIGFX::SHADER::LoadBuiltinShader(unsigned int, KIGFX::SHADER_TYPE)’: /home/jfm/build/kicad/kicad.bzr/common/gal/opengl/shader.cpp:70:26: error: ‘shaders_number’ was not declared in this scope
     if( aShaderNumber >= shaders_number )
                          ^
/home/jfm/build/kicad/kicad.bzr/common/gal/opengl/shader.cpp:73:36: error: ‘shaders_src’ was not declared in this scope return addSource( std::string( shaders_src[aShaderNumber] ), aShaderType );
                                    ^
/home/jfm/build/kicad/kicad.bzr/common/gal/opengl/shader.cpp:74:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make[2]: *** [common/CMakeFiles/gal.dir/gal/opengl/shader.cpp.o] Error 1
make[1]: *** [common/CMakeFiles/gal.dir/all] Error 2
make: *** [all] Error 2



Follow ups