libvlc_new return 0 on windows xp

This forum is about all development around libVLC.
liacat
New Cone
New Cone
Posts: 2
Joined: 10 Oct 2015 09:15

libvlc_new return 0 on windows xp

Postby liacat » 10 Oct 2015 09:30

i have successfully complied vlc 3.0.0 for windows on ubuntu 15.04(Mingw-w64 toolchain).
i copy the vlc-3.0.0-git folder to windows 7; vlc.exe runs ok.
i copy the vlc-3.0.0-git folder to windows xp; vlc.exe run fail:
a message box popup: "VLC media player could not start. Either the command line options were invalid or no plugins were found."
on windows xp, i write a program with libvlc. but function libvlc_new(0, 0) return 0; the debugging message is like this:
core libvlc warning: cannot load module `C:\vlc-3.0.0-git\plugins\logger\libfile_logger_plugin.dll' (找不到指定的程序。 (error 127))
core libvlc warning: cannot load module `C:\vlc-3.0.0-git\plugins\meta_engine\libfolder_plugin.dll' (找不到指定的程序。 (error 127))
core libvlc warning: cannot load module `C:\vlc-3.0.0-git\plugins\misc\libaudioscrobbler_plugin.dll' (找不到指定的程序。 (error 127))

how can i solve it?
thank you for reading and reply.
(sorry for my poor english)

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

Re: libvlc_new return 0 on windows xp

Postby Rémi Denis-Courmont » 10 Oct 2015 23:18

As you should know, Windows XP has been unsupported for over a year. You should probably not use an unsupported OS; but if you really must, then don't update the software on it.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

liacat
New Cone
New Cone
Posts: 2
Joined: 10 Oct 2015 09:15

Re: libvlc_new return 0 on windows xp

Postby liacat » 13 Oct 2015 12:32

yes, vlc 3.0 don't support xp.
in plugin.c function module_Load calls api SetThreadErrorMode which is exsit from win7.
i delete SetThreadErrorMode call. recompile the vlc. and vlc can run on xp.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 28 guests