Menu

#992 grshader.cpp won't compile on OS X

2.3.1
new
nobody
defect
major
Graphics
svn
2022-10-17
2019-11-06
beaglejoe
No

The new grshader.cpp file does not compile on OS X (Yosemite).
Full log is attached.
There are many errors like these:

/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2923:13: note: 
      candidate function not viable: cannot convert argument of incomplete type
      'GLhandleARB' (aka 'void *') to 'GLuint' (aka 'unsigned int')
extern void glShaderSource (GLuint shader, GLsizei count, const GLchar* ...
            ^
/Users/joe/source/sd-head/src/modules/graphic/ssggraph/grshader.cpp:325:4: error: 
      no matching function for call to 'glCompileShader'
                        glCompileShader(vertex);
1 Attachments

Discussion

  • Bertaux Xavier

    Bertaux Xavier - 2019-11-23

    Sorry Joe I don't know OSX ... any idea for solved this ?

     
  • beaglejoe

    beaglejoe - 2019-11-25

    Xavier, is the shader used for the new live weather? I can't see where it is used in ssggraph. Maybe we can disable it on Mac?

    [r6786] grshader removed from Mac compiles.
    Need to verify that everything still works.

     

    Related

    Commit: [r6786]


    Last edit: beaglejoe 2020-08-29
  • beaglejoe

    beaglejoe - 2021-09-02
    • Milestone: 2.3.0 --> 2.4.0
     
  • beaglejoe

    beaglejoe - 2022-10-17
    • Milestone: 2.3.1 --> 2.4.0
     
  • beaglejoe

    beaglejoe - 2022-10-17
    • Milestone: 2.4.0 --> 2.3.1
     

Log in to post a comment.

Auth0 Logo