-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to debug #18
Comments
Hi You should first try the basic loading of the vlc lib from a python import ctypes and see if it works. Olivier On Mon, 2016-11-21 at 01:25 -0800, lion6230i wrote:
|
Hi Olivier,
Python 2.7.6 (default, Nov 16 2016, 11:18:53)
Is it mean python can't find my libvlc.so ? |
python seems to find libvlc.so (else it would fail at the ctypes.CDLL If the symbol information is correct, then maybe it has to do with the Olivier On Mon, 2016-11-21 at 02:23 -0800, lion6230i wrote:
|
Hi Olivier, I dump symbol information in library , it's correct.
Then I try the command in below: pythonPython 2.7.6 (default, Nov 16 2016, 11:18:53)
Does it mean ctypes work fine on mips? |
So it seems ctypes is working on mips, and you have the correct symbol Olivier
|
Hi Olivier, You are right. The problem case by find_library.
lion debug 1 Build date: Fri Oct 7 12:04:48 2016 (0x0) I think , it's may cause by my platform do not have ldconfig. |
Hi ,
I porting vlc library to mips platform and use vlc.py to test.
But have some error.
python vlc.py
Usage: vlc.py [options] <movie_filename>
Once launched, type ? for help.
Build date: Fri Oct 7 12:04:48 2016 (0x0)
Error: no function 'libvlc_get_version'
Could any one suggest me how to debug?
I have confirm libvlc.so have libvlc_get_version function.
The text was updated successfully, but these errors were encountered: