ClanLib 3.0 SVN.
Code:
bvanevery@nomad:~/devel/ClanLib-3.0/Examples/Display_Shaders/Gaussian$ make
g++ `pkg-config --cflags clanApp-3.0 clanDisplay-3.0 clanCore-3.0 clanGL-3.0` -pthread -c Sources/app.cpp -o Sources/app.o
Sources/app.cpp: In member function ‘void App::draw_texture(clan::GraphicContext&, const clan::Rectf&, const clan::Rectf&)’:
Sources/app.cpp:219:44: error: no matching function for call to ‘clan::VertexArrayVector<clan::Vec2<float> >::upload_data(clan::GraphicContext&, clan::Vec2f [6], int)’
Sources/app.cpp:219:44: note: candidates are:
In file included from /usr/local/include/ClanLib-3.0/ClanLib/Display/2D/../Render/primitives_array.h:42:0,
                 from /usr/local/include/ClanLib-3.0/ClanLib/Display/2D/../Render/graphic_context.h:44,
                 from /usr/local/include/ClanLib-3.0/ClanLib/Display/2D/canvas.h:38,
                 from /usr/local/include/ClanLib-3.0/ClanLib/display.h:44,
                 from Sources/precomp.h:5,
                 from Sources/app.cpp:28:
/usr/local/include/ClanLib-3.0/ClanLib/Display/2D/../Render/vertex_array_vector.h:89:7: note: void clan::VertexArrayVector<Type>::upload_data(clan::GraphicContext&, int, const Type*, int) [with Type = clan::Vec2<float>]
/usr/local/include/ClanLib-3.0/ClanLib/Display/2D/../Render/vertex_array_vector.h:89:7: note:   candidate expects 4 arguments, 3 provided
/usr/local/include/ClanLib-3.0/ClanLib/Display/2D/../Render/vertex_array_vector.h:95:7: note: void clan::VertexArrayVector<Type>::upload_data(clan::GraphicContext&, int, const std::vector<Type>&) [with Type = clan::Vec2<float>]
/usr/local/include/ClanLib-3.0/ClanLib/Display/2D/../Render/vertex_array_vector.h:95:7: note:   no known conversion for argument 3 from ‘int’ to ‘const std::vector<clan::Vec2<float>, std::allocator<clan::Vec2<float> > >&’
Sources/app.cpp:220:48: error: no matching function for call to ‘clan::VertexArrayVector<clan::Vec2<float> >::upload_data(clan::GraphicContext&, clan::Vec2f [6], int)’
Sources/app.cpp:220:48: note: candidates are:
In file included from /usr/local/include/ClanLib-3.0/ClanLib/Display/2D/../Render/primitives_array.h:42:0,
                 from /usr/local/include/ClanLib-3.0/ClanLib/Display/2D/../Render/graphic_context.h:44,
                 from /usr/local/include/ClanLib-3.0/ClanLib/Display/2D/canvas.h:38,
                 from /usr/local/include/ClanLib-3.0/ClanLib/display.h:44,
                 from Sources/precomp.h:5,
                 from Sources/app.cpp:28:
/usr/local/include/ClanLib-3.0/ClanLib/Display/2D/../Render/vertex_array_vector.h:89:7: note: void clan::VertexArrayVector<Type>::upload_data(clan::GraphicContext&, int, const Type*, int) [with Type = clan::Vec2<float>]
/usr/local/include/ClanLib-3.0/ClanLib/Display/2D/../Render/vertex_array_vector.h:89:7: note:   candidate expects 4 arguments, 3 provided
/usr/local/include/ClanLib-3.0/ClanLib/Display/2D/../Render/vertex_array_vector.h:95:7: note: void clan::VertexArrayVector<Type>::upload_data(clan::GraphicContext&, int, const std::vector<Type>&) [with Type = clan::Vec2<float>]
/usr/local/include/ClanLib-3.0/ClanLib/Display/2D/../Render/vertex_array_vector.h:95:7: note:   no known conversion for argument 3 from ‘int’ to ‘const std::vector<clan::Vec2<float>, std::allocator<clan::Vec2<float> > >&’
make: *** [Sources/app.o] Error 1
bvanevery@nomad:~/devel/ClanLib-3.0/Examples/Display_Shaders/Gaussian$