which glut version is the libtheoraplayer used?

yaxinhoo

17-08-2010 07:13:02

which glut version is the libtheoraplayer used?

i want to build the av_player in the libtheoraplayer.sln , i got the following errors
Error 1 fatal error C1083: Cannot open include file: 'GL/glext.h': No such file or directory i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 61
Error 2 error BK1506 : cannot open file '.\Debug_Static\av_player.sbr': No such file or directory BSCMAKE


i have a glut in my local drive, so i add to ,then i got the other errors
Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 62
Error 3 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 62
Error 5 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 63
Error 6 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 63
Error 8 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 64
Error 9 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 64
Error 11 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 65
Error 12 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 65
Error 14 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 66
Error 15 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 66
Error 17 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 67
Error 18 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 67
Error 20 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 68
Error 21 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 68
Error 22 error C2146: syntax error : missing ';' before identifier 'wglGetProcAddress' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 148
Error 23 error C2146: syntax error : missing ';' before identifier 'wglGetProcAddress' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 149
Error 24 error C2146: syntax error : missing ';' before identifier 'wglGetProcAddress' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 150
Error 25 error C2146: syntax error : missing ';' before identifier 'wglGetProcAddress' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 151
Error 26 error C2146: syntax error : missing ';' before identifier 'wglGetProcAddress' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 152
Error 27 error C2146: syntax error : missing ';' before identifier 'wglGetProcAddress' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 153
Error 28 error C2146: syntax error : missing ';' before identifier 'wglGetProcAddress' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 154
Error 13 error C2146: syntax error : missing ';' before identifier 'glUseProgram' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 66
Error 10 error C2146: syntax error : missing ';' before identifier 'glShaderSource' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 65
Error 7 error C2146: syntax error : missing ';' before identifier 'glLinkProgram' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 64
Error 4 error C2146: syntax error : missing ';' before identifier 'glCreateShader' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 63
Error 1 error C2146: syntax error : missing ';' before identifier 'glCreateProgram' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 62
Error 16 error C2146: syntax error : missing ';' before identifier 'glCompileShader' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 67
Error 19 error C2146: syntax error : missing ';' before identifier 'glAttachShader' i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 68
Error 30 error C2065: 'GL_FRAGMENT_SHADER' : undeclared identifier i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 174
Error 31 error C2064: term does not evaluate to a function taking 4 arguments i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 175
Error 33 error C2064: term does not evaluate to a function taking 2 arguments i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 177
Error 32 error C2064: term does not evaluate to a function taking 1 arguments i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 176
Error 34 error C2064: term does not evaluate to a function taking 1 arguments i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 178
Error 35 error C2064: term does not evaluate to a function taking 1 arguments i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 189
Error 36 error C2064: term does not evaluate to a function taking 1 arguments i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 195
Error 29 error C2064: term does not evaluate to a function taking 0 arguments i:\engine\worldsimulator\video\libtheoraplayer\trunk\demos\demo_basecode.h 173


any hints can help me ?

Kreso

17-08-2010 07:52:31

you're having problems with glext.h, the opengl extension header. download the header file and put it along your gl.h file and you should be fine.

yaxinhoo

17-08-2010 08:01:10

why i can't use the ogre source 's glext.h? ogre source contain it.

Kreso

17-08-2010 08:05:12

sure, you can, but I guess you need to setup the include path in visual studio or whatever you use to find the file.

yaxinhoo

17-08-2010 08:09:08

yeah , i did it , but i got the error too. i upload the build log.

Kreso

17-08-2010 08:13:08

what are you using? which ogre and which visual c++?

yaxinhoo

17-08-2010 08:15:37

ogre1.7
vs2008

yaxinhoo

17-08-2010 10:36:42

thanks kreso , which version you suggestion ?

Kreso

17-08-2010 10:39:03

I last tried on ogre 1.6.5 in vs2008.

yaxinhoo

17-08-2010 12:27:38

which cegui version you used ?

Kreso

17-08-2010 12:40:15

0.5

yaxinhoo

18-08-2010 07:02:26

it is curious that the demoplayer use OgreCEGUIRenderer.h , but i got the cegui0.5.x, 0.6.x,0.7.x , all names CEGUIOgreRenderer.h . you said 0.5 , can you upload you cegui source code ?