plugin compile error

mhisted's Avatar

mhisted

24 May, 2019 04:19 PM

Hi Chris,

I have a plugin I'm trying to compile on MWorks 19.05.17 nightly on High Sierra, and I'm getting these problems from inside the MWorks Framework headers (below).

Have you seen these before?

Mark

In file included from /Library/Frameworks/MWorksCore.framework/Headers/Stimulus.h:38:
/Library/Frameworks/MWorksCore.framework/Headers/OpenGLUtilities.hpp:28:4: error: Unsupported platform
# error Unsupported platform
   ^
/Library/Frameworks/MWorksCore.framework/Headers/OpenGLUtilities.hpp:42:58: error: unknown type name 'GLenum'; did you mean 'enum'?
    explicit OpenGLException(const std::string &message, GLenum error = GL_NO_ERROR);
                                                         ^~~~~~
                                                         enum
/Library/Frameworks/MWorksCore.framework/Headers/OpenGLUtilities.hpp:42:65: error: ISO C++ forbids forward references to 'enum' types
    explicit OpenGLException(const std::string &message, GLenum error = GL_NO_ERROR);
                                                                ^
/Library/Frameworks/MWorksCore.framework/Headers/OpenGLUtilities.hpp:45:59: error: unknown type name 'GLenum'; did you mean 'enum'?
    static std::string formatMessage(std::string message, GLenum error);
                                                          ^~~~~~
                                                          enum
/Library/Frameworks/MWorksCore.framework/Headers/OpenGLUtilities.hpp:42:73: error: use of undeclared identifier 'GL_NO_ERROR'
    explicit OpenGLException(const std::string &message, GLenum error = GL_NO_ERROR);
                                                                        ^
/Library/Frameworks/MWorksCore.framework/Headers/OpenGLUtilities.hpp:53:27: error: unknown type name 'GLuint'; did you mean 'uint'?
template <void (*deleter)(GLuint)>
                          ^~~~~~
                          uint

  1. Support Staff 1 Posted by Christopher Sta... on 24 May, 2019 04:24 PM

    Christopher Stawarz's Avatar

    Hi Mark,

    I'm not sure how that's happening. What version of Xcode are you using?

    Chris

  2. 2 Posted by mhisted on 24 May, 2019 05:38 PM

    mhisted's Avatar

    Fixed it by compiling on Mojave with latest XCode. Thanks!

  3. Christopher Stawarz closed this discussion on 24 May, 2019 05:45 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac