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
491 stars 72 forks source link

.ipp files #84

Closed elliotpotts closed 9 years ago

elliotpotts commented 9 years ago

In <oglplus/string/utf8.hpp> and other files, .ipp files are included. What are these files? Configuring with -DOGLPLUS_NO_DOCS=ON and -DOGLPLUS_NO_EXAMPLES=ON means that there are no files to build - I can only assume these files were meant to be generated.

Including <oglplus/all.hpp> fails because utf8.ipp cannot be found. See utf8.hpp:91 for the offending include.

My apologies if I have something trivial wrong!

matus-chochlik commented 9 years ago

Hi,

these files are in the ./implement/ directory tree that has the same/similar hierarchy as ./include/ directory, so if you are building your own application, besides -I$(OGLPLUS_DIR)/include you also need to add -I$(OGLPLUS_DIR)/implement.

HTH

elliotpotts commented 9 years ago

Okay, thanks very much for the prompt response! This fixed this issue but now I run into error: no member named 'glEnablei' in the global namespace; did you mean 'glEnable'?. I haven't investigated this problem yet though, so I'll look into it before opening a new issue or replying on here if I haven't fixed it yet.

elliotpotts commented 9 years ago

Yeah this was an issue with not having the gl headers included correctly. All fixed now, thanks!