Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gl_loadFunctions as needed by extension wrangler is not exported #16

Closed
ghost opened this issue Sep 15, 2013 · 1 comment
Closed

gl_loadFunctions as needed by extension wrangler is not exported #16

ghost opened this issue Sep 15, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 15, 2013

When trying to compile the magnum-examples repo, the gl_loadFunctions symbol is never found. The symbol is included in libMagnum but not exported. Modifying CMakefiles to include the objects with GlutApplication allows examples to be built.

@mosra
Copy link
Owner

mosra commented Sep 16, 2013

This one is hard. It seems that glLoadGen doesn't have any support for shared libraries. This is not a problem on Linux, where all symbols are exported by default, but on Windows every symbol needs to be marked explicitly. So I need to patch glLoadGen to export all the symbols.

The initial problem with ogl_LoadFunctions() is fixed in 100990c, but that covers just a small subset of the linker problems. Some inline functions (e.g. in Renderer.h) call gl*() functions directly and they will cause another linker errors when used.

@mosra mosra closed this as completed in 655c9ea Sep 16, 2013
@mosra mosra added this to the 2013.10 milestone Feb 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant