Run time error with with libvlc_set_exit_handler

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
arborbr01
Blank Cone
Blank Cone
Posts: 26
Joined: 10 Feb 2011 19:41
VLC version: 2.0.5
Operating System: Linux
Location: Sao Paulo - Brasil
Contact:

Run time error with with libvlc_set_exit_handler

Postby arborbr01 » 24 Jun 2011 19:57

I'm trying to run vlc-1.2.0, and it compiled fine.
But when I try to execute it it gives me back the following error :
"/usr/local/bin/vlc: symbol lookup error: /usr/local/bin/vlc: undefined symbol: libvlc_set_exit_handler"

There's anobody that can help me?

Thanks in advance.

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Run time error with with libvlc_set_exit_handler

Postby Rémi Denis-Courmont » 24 Jun 2011 22:16

You are running VLC 1.2.0 against an older version of libvlccore. This cannot work.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

arborbr01
Blank Cone
Blank Cone
Posts: 26
Joined: 10 Feb 2011 19:41
VLC version: 2.0.5
Operating System: Linux
Location: Sao Paulo - Brasil
Contact:

Re: Run time error with with libvlc_set_exit_handler

Postby arborbr01 » 27 Jun 2011 18:56

I'd made a download of the hole git including libvlccore just like you say in the Wiki.

Another question.
I need run a thread assinchronously from inside the graphics (qt4) plugin.
What can I do to do this?
I'm using vlc-1.1.9.
I saw that in vlc-1.2.0 there is a function that make this, but you said cannot be used from inside plugins.

Thanks.

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Run time error with with libvlc_set_exit_handler

Postby Rémi Denis-Courmont » 27 Jun 2011 19:00

I don't understand the question.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

arborbr01
Blank Cone
Blank Cone
Posts: 26
Joined: 10 Feb 2011 19:41
VLC version: 2.0.5
Operating System: Linux
Location: Sao Paulo - Brasil
Contact:

Re: Run time error with with libvlc_set_exit_handler

Postby arborbr01 » 27 Jun 2011 22:16

I need to scan the net to discover cameras IP's.
I need to do this once each five minutes.
I need to do this idependent of other threads or processes in the sistem.
I saw in version 1.2.0 tha ther is a function thar should be candidate to do this.
It is vlc_clone_detach. But there is an observation that it can be used only with core, never with plugins.
How could I do what I want?

Thanks in advance.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Run time error with with libvlc_set_exit_handler

Postby Sébastien Escudier » 28 Jun 2011 08:18

you should write your own function, outside vlc core/plugins and try to open your streams every 5 minutes with libvlc calls...


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 40 guests