PyCEGUIOpenGLRenderer fails to link because OpenGL3Shader class is not exported

Create issue
Issue #993 new
Former user created an issue

Automatic migration. Original reporter: "CABAListic"

Currently if you try to compile the Python bindings on Windows, linking of PyCEGUIOpenGLRenderer will fail because the OpenGL3Shader class is not publically exported in the CEGUIOpenGLRenderer and therefore hidden.

To fix this, in Shader.h you need to add the dllexport property to the OpenGL3Shader class:

class OPENGL_GUIRENDERER_API OpenGL3Shader

In order for this to work, RendererBase.h will have to be included.

Reproducibility: always

Comments (0)

  1. Log in to comment