matus-chochlik / oglplus

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.
http://oglplus.org/
Boost Software License 1.0
492 stars 72 forks source link

Trying to build a project using oglplus #114

Closed Nesh108 closed 9 years ago

Nesh108 commented 9 years ago

Hello there!

I am trying to get this example work: https://github.com/OculusRiftInAction/OculusRiftInAction/blob/master/examples/cpp/opencv/Example_13_2_SimpleWebcamDemo.cpp

And I am getting this error:

oglplus/include/oglplus/prog_var/set_ops.hpp:273:10: error: ‘base_location’ was not declared in this scope

I tried to comment out that line (Index(base_location)) but more errors spawn:

oglplus/include/oglplus/error/basic.hpp:420:13: error: expected unqualified-id before ‘.’ token

I tried using the latest version of oglplus (both master and devel) but I am having the same problems.

Note: I couldn't make the project but I think I don't need to do that as I only need the includes.

matus-chochlik commented 9 years ago

Hi, it should be fixed on develop now. It works with g++ and clang++, but I could not test it yet with msvc.

Nesh108 commented 9 years ago

This is truly amazing! Such a speed!

Thanks a lot, Matus!