Toon posts:

Xine compile errors

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hoi,

als ik Xine probeer te compileren op mijn systeem, krijg ik deze fouten.
Wie weet hoe ik die moet oplossen?
video_out_opengl.c:72: GL/glx.h: No such file or directory
video_out_opengl.c:151: parse error before `GLXContext'
video_out_opengl.c:151: warning: no semicolon at end of struct or union
video_out_opengl.c:153: parse error before `*'
video_out_opengl.c:153: warning: type defaults to `int' in declaration of `vinfo'
video_out_opengl.c:153: warning: data definition has no type or storage class
video_out_opengl.c:196: parse error before `}'
video_out_opengl.c:196: warning: type defaults to `int' in declaration of `opengl_driver_t'
video_out_opengl.c:196: warning: data definition has no type or storage class
video_out_opengl.c: In function `opengl_frame_dispose':
video_out_opengl.c:275: `this' undeclared (first use in this function)
video_out_opengl.c:275: (Each undeclared identifier is reported only once
video_out_opengl.c:275: for each function it appears in.)
video_out_opengl.c:275: parse error before `)'
video_out_opengl.c: In function `opengl_alloc_frame':
video_out_opengl.c:296: `this' undeclared (first use in this function)
video_out_opengl.c:296: parse error before `)'
video_out_opengl.c: In function `opengl_update_frame_format':
video_out_opengl.c:329: `this' undeclared (first use in this function)
video_out_opengl.c:329: parse error before `)'
video_out_opengl.c: At top level:
video_out_opengl.c:406: parse error before `*'
video_out_opengl.c: In function `opengl_compute_ideal_size':
video_out_opengl.c:415: `width' undeclared (first use in this function)
video_out_opengl.c:415: `height' undeclared (first use in this function)
video_out_opengl.c:417: `this' undeclared (first use in this function)
video_out_opengl.c:419: `ratio_code' undeclared (first use in this function)
video_out_opengl.c:421: warning: unreachable code at beginning of switch statement
video_out_opengl.c:421: warning: unreachable code at beginning of switch statement
video_out_opengl.c: At top level:
video_out_opengl.c:475: parse error before `*'
video_out_opengl.c: In function `opengl_compute_output_size':
video_out_opengl.c:478: `this' undeclared (first use in this function)
video_out_opengl.c: At top level:
video_out_opengl.c:515: parse error before `*'
video_out_opengl.c: In function `opengl_overlay_clut_yuv2rgb':
video_out_opengl.c:519: `overlay' undeclared (first use in this function)
video_out_opengl.c:523: `frame' undeclared (first use in this function)
video_out_opengl.c: In function `opengl_overlay_blend':
video_out_opengl.c:543: `this' undeclared (first use in this function)
video_out_opengl.c:543: parse error before `)'
video_out_opengl.c: In function `opengl_redraw_needed':
video_out_opengl.c:568: `this' undeclared (first use in this function)
video_out_opengl.c:568: parse error before `)'
video_out_opengl.c: At top level:
video_out_opengl.c:600: parse error before `*'
video_out_opengl.c: In function `opengl_render_image':
video_out_opengl.c:616: `this' undeclared (first use in this function)
video_out_opengl.c:625: `frame' undeclared (first use in this function)
video_out_opengl.c:648: `ctx' undeclared (first use in this function)
video_out_opengl.c:661: warning: implicit declaration of function `glXDestroyContext'
video_out_opengl.c:664: warning: implicit declaration of function `glXCreateContext'
video_out_opengl.c:687: warning: implicit declaration of function `glXMakeCurrent'
video_out_opengl.c:697: warning: implicit declaration of function `glViewport'
video_out_opengl.c:698: warning: implicit declaration of function `glMatrixMode'
video_out_opengl.c:698: `GL_MODELVIEW' undeclared (first use in this function)
video_out_opengl.c:699: warning: implicit declaration of function `glLoadIdentity'
video_out_opengl.c:700: warning: implicit declaration of function `glClearColor'
video_out_opengl.c:701: warning: implicit declaration of function `glClearDepth'
video_out_opengl.c:702: warning: implicit declaration of function `glDisable'
video_out_opengl.c:702: `GL_BLEND' undeclared (first use in this function)
video_out_opengl.c:703: `GL_DEPTH_TEST' undeclared (first use in this function)
video_out_opengl.c:704: warning: implicit declaration of function `glDepthMask'
video_out_opengl.c:704: `GL_FALSE' undeclared (first use in this function)
video_out_opengl.c:705: `GL_CULL_FACE' undeclared (first use in this function)
video_out_opengl.c:706: warning: implicit declaration of function `glShadeModel'
video_out_opengl.c:706: `GL_FLAT' undeclared (first use in this function)
video_out_opengl.c:707: warning: implicit declaration of function `glHint'
video_out_opengl.c:707: `GL_PERSPECTIVE_CORRECTION_HINT' undeclared (first use in this function)
video_out_opengl.c:707: `GL_FASTEST' undeclared (first use in this function)
video_out_opengl.c:728: warning: implicit declaration of function `glClear'
video_out_opengl.c:728: `GL_COLOR_BUFFER_BIT' undeclared (first use in this function)
video_out_opengl.c:729: `GL_PROJECTION' undeclared (first use in this function)
video_out_opengl.c:731: warning: implicit declaration of function `glOrtho'
video_out_opengl.c:735: warning: implicit declaration of function `glEnable'
video_out_opengl.c:735: `GL_TEXTURE_2D' undeclared (first use in this function)
video_out_opengl.c:736: warning: implicit declaration of function `glTexParameteri'
video_out_opengl.c:736: `GL_TEXTURE_MAG_FILTER' undeclared (first use in this function)
video_out_opengl.c:736: `GL_LINEAR' undeclared (first use in this function)
video_out_opengl.c:737: `GL_TEXTURE_MIN_FILTER' undeclared (first use in this function)
video_out_opengl.c:738: warning: implicit declaration of function `glTexEnvi'
video_out_opengl.c:738: `GL_TEXTURE_ENV' undeclared (first use in this function)
video_out_opengl.c:738: `GL_TEXTURE_ENV_MODE' undeclared (first use in this function)
video_out_opengl.c:738: `GL_REPLACE' undeclared (first use in this function)
video_out_opengl.c:751: warning: implicit declaration of function `glTexImage2D'
video_out_opengl.c:751: `GL_RGB' undeclared (first use in this function)
video_out_opengl.c:753: `GL_UNSIGNED_BYTE' undeclared (first use in this function)
video_out_opengl.c:680: warning: unused variable `i'
video_out_opengl.c:770: warning: implicit declaration of function `glTexSubImage2D'
video_out_opengl.c:771: `GLsizei' undeclared (first use in this function)
video_out_opengl.c:773: `GL_BGRA' undeclared (first use in this function)
video_out_opengl.c:776: warning: implicit declaration of function `glBegin'
video_out_opengl.c:776: `GL_QUADS' undeclared (first use in this function)
video_out_opengl.c:777: warning: implicit declaration of function `glTexCoord2f'
video_out_opengl.c:777: warning: implicit declaration of function `glVertex2i'
video_out_opengl.c:781: warning: implicit declaration of function `glEnd'
video_out_opengl.c:804: warning: implicit declaration of function `glFlush'
video_out_opengl.c: In function `opengl_display_frame':
video_out_opengl.c:812: `this' undeclared (first use in this function)
video_out_opengl.c:812: parse error before `)'
video_out_opengl.c: In function `opengl_get_property':
video_out_opengl.c:842: `this' undeclared (first use in this function)
video_out_opengl.c:842: parse error before `)'
video_out_opengl.c: In function `opengl_set_property':
video_out_opengl.c:879: `this' undeclared (first use in this function)
video_out_opengl.c:879: parse error before `)'
video_out_opengl.c: At top level:
video_out_opengl.c:921: parse error before `*'
video_out_opengl.c: In function `opengl_translate_gui2video':
video_out_opengl.c:927: `this' undeclared (first use in this function)
video_out_opengl.c:933: `x' undeclared (first use in this function)
video_out_opengl.c:934: `y' undeclared (first use in this function)
video_out_opengl.c:941: `frame' undeclared (first use in this function)
video_out_opengl.c:945: `vid_x' undeclared (first use in this function)
video_out_opengl.c:946: `vid_y' undeclared (first use in this function)
video_out_opengl.c: In function `opengl_gui_data_exchange':
video_out_opengl.c:952: `this' undeclared (first use in this function)
video_out_opengl.c:952: parse error before `)'
video_out_opengl.c:954: `GLX_RGBA' undeclared (first use in this function)
video_out_opengl.c:954: initializer element is not constant
video_out_opengl.c:954: (near initialization for `glxAttrib[0]')
video_out_opengl.c:954: `GLX_RED_SIZE' undeclared (first use in this function)
video_out_opengl.c:954: initializer element is not constant
video_out_opengl.c:954: (near initialization for `glxAttrib[1]')
video_out_opengl.c:954: `GLX_GREEN_SIZE' undeclared (first use in this function)
video_out_opengl.c:954: initializer element is not constant
video_out_opengl.c:954: (near initialization for `glxAttrib[3]')
video_out_opengl.c:954: `GLX_BLUE_SIZE' undeclared (first use in this function)
video_out_opengl.c:954: initializer element is not constant
video_out_opengl.c:954: (near initialization for `glxAttrib[5]')
video_out_opengl.c:963: warning: implicit declaration of function `glXChooseVisual'
video_out_opengl.c:967: `XVisualInfo' undeclared (first use in this function)
video_out_opengl.c:967: parse error before `)'
video_out_opengl.c: In function `opengl_exit':
video_out_opengl.c:1035: `this' undeclared (first use in this function)
video_out_opengl.c:1035: parse error before `)'
video_out_opengl.c: In function `init_video_out_plugin':
video_out_opengl.c:1052: `this' undeclared (first use in this function)
video_out_opengl.c:1052: warning: statement with no effect
video_out_opengl.c:1053: parse error before `*'
video_out_opengl.c:1056: `visual' undeclared (first use in this function)
video_out_opengl.c:1057: `display' undeclared (first use in this function)
Ik heb al wat gegoogled, maar kwam niet echt tot goede resultaten.

Verwijderd

Ik denk dat je opengl mist...

www.opengl.org

Verwijderd

Topicstarter
ik had alwel xlibmesa3 geinstalleerd, maar je moet dus echt opengl nog installeren..

ok, zal ik proberen.

Verwijderd

Topicstarter
Ok, Xine loopt nu (heb maar gewoon apt-get install xine-ui gedaan).

xine liep eerst ook perfect, maar ik dacht laat ik maar eens een nieuwere versie proberen dan.

Nu zit ikdusweer met een Xine die crasht met een segmentation fault.


metronom: set_video_rate 3600
libmad: audio sample rate 44100 mode 00000008
audio_arts_out: ao_open bits=16 rate=44100, mode=8
audio_arts_out: 2 channels output
Segmentation fault


wie weet hoe ik dit dan kan oplossen? :)

ow ja, hij speelt wel eerst voor 5 seconden ofzo.. soms maar 1.

  • RickDB
  • Registratie: Oktober 2001
  • Laatst online: 18-05 21:17
IK heb ongeveer hetzelfde probleem met xine, start niet op en blijft haken.
Oplossing was de artsd server uitzetten en toen deed iet het, misschien eens proberen om artsd met bv: procman af te sluiten.

Verwijderd

Topicstarter
Ik zal eens proberen.
Bedankt.

Verwijderd

Topicstarter
werkt helaas niet..
toch bedankt.

Verwijderd

Topicstarter
ow ja. het probleem van een crashende xine is ontstaan, nadat ik kde3 heb geinstalleerd.

Verwijderd

Topicstarter
een lief klein kickje :)

Verwijderd

Verwijderd schreef op 09 september 2002 @ 23:54:
ow ja. het probleem van een crashende xine is ontstaan, nadat ik kde3 heb geinstalleerd.
apt-get remove kde3
>:)

Verwijderd

Topicstarter
dat heb ik al geprobeerd (apt-get remove --purge kde*

maar dat heeft niets geholpen :(

  • DeMoN
  • Registratie: Maart 2001
  • Laatst online: 12-03 14:25

DeMoN

Pastafari

Ik ben ook een gegeven moment ook aan het kutten geweest toen xine aan het sigsegv'en ging na wat aankloten.

Mijn oplossing..

Xine er totaal afdonderen, naar de xine site gaan, de libs en de ui downloaden en helemaal installen volgens de README!

RTFM!!! :P (jk had ik zin in)

En dan moet ie het denk ik wel gaan doen. :)
Je hebt toch ook een xine-check ? zegt die niks nuttigs?

Gamertag: Cosmicv0id
"Het woord Gods is voor mij niets meer dan een expressie en het product van menselijke zwakheid. De Bijbel is een verzamelwerk van legendes die achtenswaardig zijn maar ook primitief en kinderachtig.'' - Albert Einstein


Verwijderd

Topicstarter
nou, dat compileren heb ik gedaan volgens de readme hoor :)
Ik ben er al redelijk lang mee bezig.

Xine-check geeft niets nuttigs.
hij speelt gewoon nu ene paar seconden goed en dan hoppa segmentation fault.
Naja. ik ga ook maar weer eens proberen verder met compileren :)
heb nog nooit zoveel moeite gehad met een programma te compileren in ald ie jaren.

Verwijderd

segfaults zijn heel normaal voor xine hoor.. :p

huidige mplayer is beter qua features, ondersteuning van formaten , _snelheid_ en stabiliteit.

wget ftp://ftp1.mplayerhq.hu/M.../MPlayer-0.90pre7.tar.bz2 && tar jxvf MPlayer-0.90pre7.tar.bz2 && cd MPlayer-0.90pre7

dan ./configure --enable-gui (als je een gui wilt, er zijn ondertussen hele goede skins) --language=nl (als je nederlandse vertaling wilt) --prefix=/usr (of niet) && make && su -c make install

klaar.

of gewoon
mplayer for Debian
----------------------

Most options are autodetected or configured during compilation thus
users are supposed to build this package themselves.

Recommended method is running "fakeroot debian/rules binary" in the top
directory

In case you would like to pass some parameters to ./configure, set variable
DEB_BUILD_OPTIONS like that:

eyck@ghost$ DEB_BUILD_OPTIONS="--enable-streaming" fakeroot debian/rules binary

Verwijderd

Topicstarter
Ik ben al met mplayer bezig :)
nu GTK aan het installeren :)

Verwijderd

Topicstarter
Mplayer heeft nudeze error :(

Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
vo: couldn't open the X11 display (:0.0)!
Error opening/initializing the selected video_out (-vo) device!

Terwijl ikwel ingewoon Xzit.

xvinfo geeft ook een error dat hij dedisplay niet kan openen.

Verwijderd

'xhost +' als gebruiker helpt misschien?

of gewoon als gebruiker mplayer opstarten. probeer -vo xv (als xfree tenminste met xvideo start)

Verwijderd

Topicstarter
mplayer werkt nu naar behoren.


thnx thnx thnx ;)

Verwijderd

voor gui moet je geloof ik eerst skins downloaden: http://www.mplayerhq.hu/homepage/dload.html

plastic, cyrus, neutron en proton zijn mooie skins :)

Verwijderd

Topicstarter
gui werkt ook al hoor. geeft alleen nog ene font foutmelding, maar die krijg ik morgne wel weg.
Kan ik ook eens eindelijk film kijken op me linux WS :)
Pagina: 1