-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Failing on macOS (Open GL ES deprecated) #15
Comments
I could find the OpenGL ES Libs from ghe MacOSX 13.3 SDK and create the local dir: sudo mkdir -p /usr/local/include/OpenGLES/ES2
sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/glext.h /usr/local/include/OpenGLES/ES2/glext.h
sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/gl.h /usr/local/include/OpenGLES/ES2/gl.h but still have more issues: # github.com/goxjs/gl
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:32:2: could not determine kind of name for C.glActiveTexture
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:36:2: could not determine kind of name for C.glAttachShader
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:42:2: could not determine kind of name for C.glBindAttribLocation
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:46:2: could not determine kind of name for C.glBindBuffer
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:58:2: could not determine kind of name for C.glBindTexture
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:66:2: could not determine kind of name for C.glBlendEquation
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:70:2: could not determine kind of name for C.glBlendEquationSeparate
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:74:2: could not determine kind of name for C.glBlendFunc
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:78:2: could not determine kind of name for C.glBlendFuncSeparate
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:82:2: could not determine kind of name for C.glBufferData
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:90:2: could not determine kind of name for C.glBufferSubData
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:98:2: could not determine kind of name for C.glClear
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:110:2: could not determine kind of name for C.glClearStencil
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:114:2: could not determine kind of name for C.glColorMask
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:118:2: could not determine kind of name for C.glCompileShader
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:122:2: could not determine kind of name for C.glCompressedTexImage2D
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:126:2: could not determine kind of name for C.glCompressedTexSubImage2D
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:130:2: could not determine kind of name for C.glCopyTexImage2D
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:134:2: could not determine kind of name for C.glCopyTexSubImage2D
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:150:31: could not determine kind of name for C.glCreateProgram
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:160:30: could not determine kind of name for C.glCreateShader
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:170:2: could not determine kind of name for C.glCullFace
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:174:2: could not determine kind of name for C.glDeleteBuffers
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:182:2: could not determine kind of name for C.glDeleteProgram
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:190:2: could not determine kind of name for C.glDeleteShader
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:194:2: could not determine kind of name for C.glDeleteTextures
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:198:2: could not determine kind of name for C.glDepthFunc
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:202:2: could not determine kind of name for C.glDepthMask
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:210:2: could not determine kind of name for C.glDetachShader
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:214:2: could not determine kind of name for C.glDisable
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:218:2: could not determine kind of name for C.glDisableVertexAttribArray
../go/pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:222:2: could not determine kind of name for C.glDrawArrays |
I might look into other possible replacements. |
Hi, I forgot to mention, that I replaced the deprecated GUI library with Gio, however there is still an issue on MacOS which requires the GUI thread to be run on the main thread, for which reason it happens that on MacOS the desktop window just doesn't show up when generating the diagram. I'm trying to find a solution to this problem. |
github.com/goxjs/gl
../../../../pkg/mod/github.com/goxjs/gl@v0.0.0-20171128034433-dc8f4a9a3c9c/gl_opengles.go:14:10: fatal error: 'OpenGLES/ES2/glext.h' file not found
#include <OpenGLES/ES2/glext.h>
^~~~~~~~~~~~~~~~~~~~~~
Any plans to switch to something else now that open gl es is deprecated for MacOS? https://developer.apple.com/documentation/opengles
The text was updated successfully, but these errors were encountered: