Skip to content
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

Setup steps aren't working - Unable to load the system C library #9

Open
glsfa-iscte opened this issue Jul 22, 2024 · 1 comment
Open

Comments

@glsfa-iscte
Copy link

glsfa-iscte commented Jul 22, 2024

Hello, first of all thank you for the repo, it is a great tool! With regards to the setup steps, apart from the pip command being outdated (pip setup.py install (legacy) vs pip install .), after running the updated pip and the test code and error is launched, "Unable to load the system C library". I think that the issue is related to how the plugin files are saved in setup.py, as they dont appear to be called. When calling pip uninstall it shows that they are being saved in different locations, which could perhaps lead to the issue above "c:\users\USER\anaconda3\envs\python310\lib\site-packages\thermal_parser-20240327.dist-info*
c:\users\USER\anaconda3\envs\python310\lib\site-packages\thermal_parser*
c:\users\USER\anaconda3\envs\python310\plugins\dji_thermal_sdk_v1.5_20240507\history.txt
" Could you verify if there is an issue with the setup?

@ChilledFerrum
Copy link

Hello mate! If you are to go in the file

thermal_parser/thermal_parser/thermal.py in line 451-453, print the given paths to the CDLL. This process here loads any dependencies for the parser.
Printing it will give you a response like this:
"/home/UserName/Documents/CV/thermal_parser/plugins/dji_thermal_sdk_v1.5_20240507/linux/release_x64/libdirp.so
If you are to check in those files, it is missing...

Head to DJI Thermal SDK and download the SDK appropriate to your system (Linux/Windows). Once you are done find the corresponding "libdirp.so" in the utility from the downloaded SDK and for each release, both release_x64 and release_x86 drop them in the plugins. However, there still seems to be another issue with the current versions of the thermal_parser...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants