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

openSUSE:Factory:ARM — ./OpenGLWriter.hpp:13:25: error: expected ')' before '*' token #6

Closed
DAP-DarkneSS opened this issue Oct 5, 2015 · 6 comments

Comments

@zaps166
Copy link
Owner

zaps166 commented Oct 5, 2015

Hi!
Most of ARM devices doesn't use desktop OpenGL, because it uses OpenGL|ES.
OpenGL|ES is compatible (but not in 100%) with OpenGL, but OpenGL is not compatible with OpenGL|ES.

What you should to do:

  • disable the OpenGL plugin and use XVideo (if drivers are available) or QPainter (as last resort),
  • wait for OpenGL|ES in QMPlay2 (I'll write GLES plugin, but I don't know when it will be available),
  • install desktop OpenGL headers and libraries from Mesa package - ARM is only the CPU, but GPUs can use desktop OpenGL if it has good drivers or it can be emulated via CPU (e.g. Mesa LLVMPIPE).

If you want to disable OpenGL plugin, just edit "src/modules/modules.pro" and remove "OpenGL" from "SUBDIRS". Remember to clean built files and Makefiles before (run: "make distclean" or "clean_unix")!

//Edit: Qt4 is more stable than Qt5, so if you are compiling it for X11, use Qt4 :)

@DAP-DarkneSS
Copy link
Author

Hello.

  • disable the OpenGL plugin and use XVideo (if drivers are available) or
    QPainter (as last resort),

Done.

  • wait for OpenGL|ES in QMPlay2 (I'll write GLES plugin, but I don't
    know when it will be available),

Of course.

  • install desktop OpenGL headers and libraries from Mesa package - ARM
    is only the CPU, but GPUs can use desktop OpenGL if it has good drivers
    or it can be emulated via CPU (e.g. Mesa LLVMPIPE).

It seems to be a default so it seems to change nothing for me. However at
another build service (not main one) arm packages are built fine just out
of box. It's strange.

@zaps166
Copy link
Owner

zaps166 commented Oct 7, 2015

You can't compile QMPlay2 with OpenGL when Qt is compiled using OpenGL|ES (QGLWidget).

//Edit2: New OpenGL 2 module is now available. It supports OpenGL 2 and OpenGL|ES 2! libqmplay2 API and ABI is not compatible because of small change, so you can't use OpenGL|ES module in older versions!

@zaps166
Copy link
Owner

zaps166 commented Oct 9, 2015

  • wait for OpenGL|ES in QMPlay2 (I'll write GLES plugin, but I don't know when it will be available),

Of course.

Please test the pre-release 15.10.09. The new module "OpenGL2" should compile using OpenGL or OpenGL|ES (automatic detection from Qt compilation).

@DAP-DarkneSS
Copy link
Author

Hi again. I'll do it in 2-3 days. Thank you!

@DAP-DarkneSS
Copy link
Author

Thank you very much!
Buildtime is fine for all architectures and runtime is fine for x86_64 the only I personally have.

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