Page 1 of 1

Run time error with with libvlc_set_exit_handler

Posted: 24 Jun 2011 19:57
by arborbr01
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.

Re: Run time error with with libvlc_set_exit_handler

Posted: 24 Jun 2011 22:16
by Rémi Denis-Courmont
You are running VLC 1.2.0 against an older version of libvlccore. This cannot work.

Re: Run time error with with libvlc_set_exit_handler

Posted: 27 Jun 2011 18:56
by arborbr01
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.

Re: Run time error with with libvlc_set_exit_handler

Posted: 27 Jun 2011 19:00
by Rémi Denis-Courmont
I don't understand the question.

Re: Run time error with with libvlc_set_exit_handler

Posted: 27 Jun 2011 22:16
by arborbr01
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.

Re: Run time error with with libvlc_set_exit_handler

Posted: 28 Jun 2011 08:18
by Sébastien Escudier
you should write your own function, outside vlc core/plugins and try to open your streams every 5 minutes with libvlc calls...