#1 2016-05-22 08:43:28

berndh
Member

build error on osx 10.11.4

cannot build on my mac, looks like an OpenGL incompatibility. This is what I get:

$ svn update
....
$ cd src
$ make
c++ -O3 -fomit-frame-pointer -ffast-math -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Igame -Ienet/include -I/usr/X11R6/include `sdl2-config --cflags` -x c++-header -o shared/cube.h.gch.tmp shared/cube.h
In file included from shared/cube.h:70:
shared/glexts.h:278:8: error: unknown type name 'PFNGLDEPTHBOUNDSEXTPROC'
extern PFNGLDEPTHBOUNDSEXTPROC glDepthBounds_;
       ^
shared/glexts.h:682:8: error: unknown type name
      'PFNGLBEGINCONDITIONALRENDERPROC'; did you mean
      'PFNGLBEGINCONDITIONALRENDERNVPROC'?
extern PFNGLBEGINCONDITIONALRENDERPROC glBeginConditionalRender_;
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       PFNGLBEGINCONDITIONALRENDERNVPROC
shared/glexts.h:634:25: note: 'PFNGLBEGINCONDITIONALRENDERNVPROC' declared here
typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, G...
                        ^
shared/glexts.h:683:8: error: unknown type name 'PFNGLENDCONDITIONALRENDERPROC';
      did you mean 'PFNGLENDCONDITIONALRENDERNVPROC'?
extern PFNGLENDCONDITIONALRENDERPROC glEndConditionalRender_;
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       PFNGLENDCONDITIONALRENDERNVPROC
shared/glexts.h:635:25: note: 'PFNGLENDCONDITIONALRENDERNVPROC' declared here
typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
                        ^
3 errors generated.
make: *** [shared/cube.h.gch] Error 1

Offline

#2 2016-05-23 04:02:22

eihrul
Administrator

Re: build error on osx 10.11.4

Fixed.

Offline

Board footer