matus-chochlik / oglplu2

Wrapper for OpenGL, OpenAL and EGL including utilities for writing distributed applications with graphics and/or audio rendering.
Boost Software License 1.0
89 stars 11 forks source link

"too few template arguments" on eagine::index_enum_value template #3

Open JPGygax68 opened 8 years ago

JPGygax68 commented 8 years ago

It seems there are two versions of indexed_enum.hpp, each in its own namespace. For some reason though, the compiler seems to pick the wrong one when trying to compile line 50 of include/oglplus/enum/utils/limited_value.hpp.

I do not understand how that is possible, as the line reporting the error is clearly inside the oglplus namespace. I'm going to investigate a bit more though.

JPGygax68 commented 8 years ago

(worked around be prepending ::oglplus)

matus-chochlik commented 8 years ago

Thanks for the info. I'll install MSVC15, GLFW and GLEW and if I manage to get oglplu2 going without too much gymnastics I'll push the changes.

JPGygax68 commented 8 years ago

Thanks, that would be appreciated! Though I would understand if it turns out to be too much of a pain.

matus-chochlik commented 8 years ago

OK, I've created a new branch backported-develop where most of the tests now pass even with MSVC 14 Update 1. I'm not sure yet about the GL examples since the only computer with Windows that I have access to right now is an old laptop with onboard GPU and I couldn't get OpenGL to work properly. But there seem to be some compiler bugs, and so far all my attempts at working around them ended up with internal compiler errors.

JPGygax68 commented 8 years ago

Thanks Matus! That is great news, and I'm gonna try this out as soon as I can.

On 1/6/2016 10:53 AM, Matus Chochlik wrote:

But there seem to be some compiler bugs, and so far all my attempts at working around them ended up with internal compiler errors.

Yeah, that sounds vaguely familiar :-)