[vtkusers] Compiling OpenGL2 on mac os x

Ben Boeckel ben.boeckel at kitware.com
Mon Oct 26 16:53:01 EDT 2015


On Mon, Oct 26, 2015 at 15:16:25 -0500, Raul Huertas wrote:
> else()
>   if (${OPENGL_ES_VERSION} MATCHES 3.0)
>     message( STATUS "OpenGL3 ACTIVATED!!!!!!!!")
>     set(Module_SRCS ${Module_SRCS}
>       vtkFrameBufferObject.cxx
>       vtkFrameBufferObject2.cxx
>       vtkPixelBufferObject.cxx
>       vtkRenderbuffer.cxx
>       )

On master, this seems to be:

  if (${OPENGL_ES_VERSION} MATCHES 3.0)
    set(Module_SRCS ${Module_SRCS}
      vtkFrameBufferObject2.cxx
      vtkPixelBufferObject.cxx
      vtkRenderbuffer.cxx
      )
  endif()

I think this is something which makes sense to backport. Ken?

> And now it compiles perfectly and I already built an example in
> QtCreator. So, is this something to be fixed? will my programs crash?
> will I have conflict problems with your reflection system?

The commit message mentions warnings.

--Ben


More information about the vtkusers mailing list