{"action":"created","issue":{"url":"https://api.github.com/repos/matus-chochlik/oglplus/issues/109","labels_url":"https://api.github.com/repos/matus-chochlik/oglplus/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/matus-chochlik/oglplus/issues/109/comments","events_url":"https://api.github.com/repos/matus-chochlik/oglplus/issues/109/events","html_url":"https://github.com/matus-chochlik/oglplus/issues/109","id":70238492,"number":109,"title":"Fails to build with OpenGL 3.0","user":{"login":"bfops","id":196249,"avatar_url":"https://avatars.githubusercontent.com/u/196249?v=3","gravatar_id":"","url":"https://api.github.com/users/bfops","html_url":"https://github.com/bfops","followers_url":"https://api.github.com/users/bfops/followers","following_url":"https://api.github.com/users/bfops/following{/other_user}","gists_url":"https://api.github.com/users/bfops/gists{/gist_id}","starred_url":"https://api.github.com/users/bfops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfops/subscriptions","organizations_url":"https://api.github.com/users/bfops/orgs","repos_url":"https://api.github.com/users/bfops/repos","events_url":"https://api.github.com/users/bfops/events{/privacy}","received_events_url":"https://api.github.com/users/bfops/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"matus-chochlik","id":1516057,"avatar_url":"https://avatars.githubusercontent.com/u/1516057?v=3","gravatar_id":"","url":"https://api.github.com/users/matus-chochlik","html_url":"https://github.com/matus-chochlik","followers_url":"https://api.github.com/users/matus-chochlik/followers","following_url":"https://api.github.com/users/matus-chochlik/following{/other_user}","gists_url":"https://api.github.com/users/matus-chochlik/gists{/gist_id}","starred_url":"https://api.github.com/users/matus-chochlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matus-chochlik/subscriptions","organizations_url":"https://api.github.com/users/matus-chochlik/orgs","repos_url":"https://api.github.com/users/matus-chochlik/repos","events_url":"https://api.github.com/users/matus-chochlik/events{/privacy}","received_events_url":"https://api.github.com/users/matus-chochlik/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-04-22T21:22:27Z","updated_at":"2015-04-24T02:52:44Z","closed_at":null,"body":"    [ 11%] Building CXX object source/lib/oglplus/CMakeFiles/oglplus.dir/text.cpp.o\r\n    In file included from /home/ben/devl/oglplus/source/lib/oglplus/text.cpp:33:0:\r\n    /home/ben/devl/oglplus/include/oglplus/text/bitmap_glyph.hpp:17:2: error: #error \"The Bitmap glyph text rendering utility requires GL version 3.1\"\r\n     #error \"The Bitmap glyph text rendering utility requires GL version 3.1\"\r\n      ^\r\n    In file included from /home/ben/devl/oglplus/source/lib/oglplus/text.cpp:34:0:\r\n    /home/ben/devl/oglplus/include/oglplus/text/stb_truetype.hpp:17:2: error: #error \"The STB TrueType text rendering utility requires GL version 3.1\"\r\n     #error \"The STB TrueType text rendering utility requires GL version 3.1\"\r\n      ^\r\n    In file included from /home/ben/devl/oglplus/include/oglplus/text/bitmap_glyph/pager.hpp:145:0,\r\n                     from /home/ben/devl/oglplus/include/oglplus/text/bitmap_glyph/font_essence.hpp:19,\r\n                     from /home/ben/devl/oglplus/include/oglplus/text/bitmap_glyph.hpp:22,\r\n                     from /home/ben/devl/oglplus/source/lib/oglplus/text.cpp:33:\r\n    /home/ben/devl/oglplus/implement/oglplus/text/bitmap_glyph/pager.ipp: In constructor ‘oglplus::text::BitmapGlyphPager::BitmapGlyphPager(oglplus::text::BitmapGlyphRenderingBase&, oglplus::TextureUnitSelector, GLsizei)’:\r\n    /home/ben/devl/oglplus/implement/oglplus/text/bitmap_glyph/pager.ipp:98:2: error: ‘Buffer’ is not a member of ‘oglplus::Texture {aka oglplus::Object<oglplus::ObjectOps<oglplus::tag::ExplicitSel, oglplus::tag::Texture> >}’\r\n      Texture::Buffer(\r\n      ^\r\n    source/lib/oglplus/CMakeFiles/oglplus.dir/build.make:376: recipe for target 'source/lib/oglplus/CMakeFiles/oglplus.dir/text.cpp.o' failed\r\n    make[2]: *** [source/lib/oglplus/CMakeFiles/oglplus.dir/text.cpp.o] Error 1\r\n    CMakeFiles/Makefile2:5000: recipe for target 'source/lib/oglplus/CMakeFiles/oglplus.dir/all' failed\r\n    make[1]: *** [source/lib/oglplus/CMakeFiles/oglplus.dir/all] Error 2\r\n    Makefile:113: recipe for target 'all' failed\r\n    make: *** [all] Error 2\r\n\r\nThis seems intentional - should the `configure` script just fail if it can't find OpenGL > 3.0, or should this component just be disabled?"},"comment":{"url":"https://api.github.com/repos/matus-chochlik/oglplus/issues/comments/95781814","html_url":"https://github.com/matus-chochlik/oglplus/issues/109#issuecomment-95781814","issue_url":"https://api.github.com/repos/matus-chochlik/oglplus/issues/109","id":95781814,"user":{"login":"bfops","id":196249,"avatar_url":"https://avatars.githubusercontent.com/u/196249?v=3","gravatar_id":"","url":"https://api.github.com/users/bfops","html_url":"https://github.com/bfops","followers_url":"https://api.github.com/users/bfops/followers","following_url":"https://api.github.com/users/bfops/following{/other_user}","gists_url":"https://api.github.com/users/bfops/gists{/gist_id}","starred_url":"https://api.github.com/users/bfops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfops/subscriptions","organizations_url":"https://api.github.com/users/bfops/orgs","repos_url":"https://api.github.com/users/bfops/repos","events_url":"https://api.github.com/users/bfops/events{/privacy}","received_events_url":"https://api.github.com/users/bfops/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T02:52:44Z","updated_at":"2015-04-24T02:52:44Z","body":"The `cloud_trace` example fails because this operator is only defined in `3_2` and above in `include/oglplus/framebuffer.hpp`:\r\n\r\n    inline FramebufferTarget operator << (\r\n    \tFramebufferTargetAndAttch taa,\r\n    \tTextureName tex\r\n    )\r\n\r\nRemoving that example makes the build succeed with `3_1` for me."}}