Results 1 to 2 of 2

Thread: phonon - first aproach

  1. #1
    Join Date
    Sep 2008
    Location
    Portugal
    Posts
    171
    Thanks
    57
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default phonon - first aproach

    Hi,
    I was about to make my first experience with the phonon module but it failed.
    Is it available by default or do i need to...
    [CODE./configure -phonon -phonon-backend ...
    ][/CODE]
    This last command gives me:
    Qt Code:
    1. EGL (EGL/egl.h) auto-detection... ()
    2. g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o egl.o egl.cpp
    3. egl.cpp:42:21: error: EGL/egl.h: Arquivo ou diretório não encontrado
    4. egl.cpp: In function ‘int main(int, char**)’:
    5. egl.cpp:46: error: ‘EGLint’ was not declared in this scope
    6. egl.cpp:46: error: expected `;' before ‘x’
    7. egl.cpp:47: error: ‘EGLDisplay’ was not declared in this scope
    8. egl.cpp:47: error: expected `;' before ‘dpy’
    9. egl.cpp:48: error: ‘EGLContext’ was not declared in this scope
    10. egl.cpp:48: error: expected `;' before ‘ctx’
    11. egl.cpp:49: error: ‘dpy’ was not declared in this scope
    12. egl.cpp:49: error: ‘ctx’ was not declared in this scope
    13. egl.cpp:49: error: ‘eglDestroyContext’ was not declared in this scope
    14. make: ** [egl.o] Erro 1
    15. EGL (EGL/egl.h) disabled.
    16. EGL (GLES/egl.h) auto-detection... ()
    17. g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o egl4gles1.o egl4gles1.cpp
    18. egl4gles1.cpp:42:22: error: GLES/egl.h: Arquivo ou diretório não encontrado
    19. egl4gles1.cpp: In function ‘int main(int, char**)’:
    20. egl4gles1.cpp:46: error: ‘EGLint’ was not declared in this scope
    21. egl4gles1.cpp:46: error: expected `;' before ‘x’
    22. egl4gles1.cpp:47: error: ‘EGLDisplay’ was not declared in this scope
    23. egl4gles1.cpp:47: error: expected `;' before ‘dpy’
    24. egl4gles1.cpp:48: error: ‘EGLContext’ was not declared in this scope
    25. egl4gles1.cpp:48: error: expected `;' before ‘ctx’
    26. egl4gles1.cpp:49: error: ‘dpy’ was not declared in this scope
    27. egl4gles1.cpp:49: error: ‘ctx’ was not declared in this scope
    28. egl4gles1.cpp:49: error: ‘eglDestroyContext’ was not declared in this scope
    29. make: ** [egl4gles1.o] Erro 1
    30. EGL (GLES/egl.h) disabled.
    31. Glib auto-detection... ()
    32. g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o glib.o glib.cpp
    33. glib.cpp:44:18: error: glib.h: Arquivo ou diretório não encontrado
    34. glib.cpp: In function ‘int main(int, char**)’:
    35. glib.cpp:49: error: ‘GSource’ was not declared in this scope
    36. glib.cpp:49: error: ‘source’ was not declared in this scope
    37. glib.cpp:50: error: ‘GPollFD’ was not declared in this scope
    38. glib.cpp:50: error: ‘pollfd’ was not declared in this scope
    39. glib.cpp:51: error: ‘g_thread_supported’ was not declared in this scope
    40. glib.cpp:52: error: ‘NULL’ was not declared in this scope
    41. glib.cpp:52: error: ‘g_thread_init’ was not declared in this scope
    42. glib.cpp:53: error: ‘g_main_context_default’ was not declared in this scope
    43. glib.cpp:54: error: ‘g_source_new’ was not declared in this scope
    44. glib.cpp:55: error: ‘g_source_add_poll’ was not declared in this scope
    45. make: ** [glib.o] Erro 1
    46. Glib disabled.
    47. Phonon support cannot be enabled due to functionality tests!
    48. Turn on verbose messaging (-v) to ./configure to see the final report.
    49. If you believe this message is in error you may use the continue
    50. switch (-continue) to ./configure to continue.
    To copy to clipboard, switch view to plain text mode 

    What's missing?

    I using Debian Lenny.

    Thanks

  2. #2
    Join Date
    Sep 2008
    Location
    Portugal
    Posts
    171
    Thanks
    57
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: phonon - first aproach

    Qt Code:
    1. apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
    To copy to clipboard, switch view to plain text mode 

    http://ubuntuforums.org/archive/inde...t-1094920.html

Similar Threads

  1. Qt4.4.3 Phonon
    By alexcuiCN in forum Qt Programming
    Replies: 0
    Last Post: 18th April 2009, 03:09
  2. Phonon V4L
    By kovariadam in forum Newbie
    Replies: 1
    Last Post: 31st January 2009, 15:35
  3. phonon on QT4.4
    By coolk in forum Installation and Deployment
    Replies: 15
    Last Post: 15th January 2009, 13:38
  4. Phonon
    By QTInfinity in forum Qt Programming
    Replies: 2
    Last Post: 19th November 2008, 14:24
  5. Phonon and Mac
    By SidGBF in forum Qt Programming
    Replies: 5
    Last Post: 8th September 2008, 13:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.