OGLplus is a collection of open-source, cross-platform libraries which implement an object-oriented facade over the OpenGL® (version 3 and higher) and also OpenAL® (version 1.1) and EGL (version 1.4) C-language APIs. It provides wrappers which automate resource and object management and make the use of these libraries in C++ safer and more convenient.
I get following error message:
oglplus/error/deferred_handler.ipp(17): error C2144: syntax error: 'void' should be preceded by ';'
because OGLPLUS_LIB_FUNC is not defined as <oglplus/config/basic.hpp> is not included in deferred_handler.ipp or deferred_handler.hpp.
Adding #include <oglplus/config/basic.hpp> to deferred_handler.hpp fixes the error.
I get following error message:
oglplus/error/deferred_handler.ipp(17): error C2144: syntax error: 'void' should be preceded by ';'
becauseOGLPLUS_LIB_FUNC
is not defined as<oglplus/config/basic.hpp>
is not included indeferred_handler.ipp
ordeferred_handler.hpp
.Adding
#include <oglplus/config/basic.hpp>
todeferred_handler.hpp
fixes the error.