Skip to content
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

Building Theoraplayer Demos for iOS #31

Open
machine-mind opened this issue May 28, 2018 · 3 comments
Open

Building Theoraplayer Demos for iOS #31

machine-mind opened this issue May 28, 2018 · 3 comments

Comments

@machine-mind
Copy link

Hi,
I've tried to build one of the Theoraplayer demos (OpenGL Demos (iOS). But I'm getting compile errors.

/Users/stefan/src/theoraplayer/demos/opengl_demos/demo_tv.cpp:110:3: Use of undeclared identifier 'gluLookAt'
/Users/stefan/src/theoraplayer/demos/opengl_demos/demo_tv.cpp:138:3: Use of undeclared identifier 'glColor3f'
/Users/stefan/src/theoraplayer/demos/opengl_demos/demo_tv.cpp:148:3: Use of undeclared identifier 'glColor3f'

I can build the same Demo (OpenGL Demos (Mac)) fine for MacOS.

Am I missing something to compile for iOS?

@kspes
Copy link
Collaborator

kspes commented May 28, 2018

looks like you're missing gl/glu.h, which isn't available on iOS. If I remeber correctly, TV demo was never ported to iOS, didn't have the time to replace the GLU callbacks.

@machine-mind
Copy link
Author

Is there any demo I could run on iOS?

@kspes
Copy link
Collaborator

kspes commented May 28, 2018

not sure, I think the last refactor broke the ios demo, don't have time to fix it currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants