scheckmedia / photils-cli

photils-cli is an application that passes an image through a neural network, classifies it, and extracts the suggested tags. Everything happens offline without the need that your data are sent over the internet.
GNU General Public License v3.0
42 stars 5 forks source link

The Appimage doesn't work on debian (buster) #3

Closed bestlibre closed 4 years ago

bestlibre commented 4 years ago

Hello,

I wanted to try your tool on debian, but I got the following error :

photils-cli: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by photils-cli)
photils-cli: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /tmp/.mount_photiltxG9hA/usr/bin/../lib/libopencv_imgcodecs.so.4.3)
photils-cli: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /tmp/.mount_photiltxG9hA/usr/bin/../lib/libopencv_core.so.4.3)
scheckmedia commented 4 years ago

Which version of Debian are you using?

bestlibre commented 4 years ago

I'm using buster (the last stable to date)

bestlibre commented 4 years ago

The problem comes from the use of gcc-9 which is not available in debian stable. To build with gcc-8 I had to add link_libraries(stdc++fs) in the CmakeLists.txt. The resulting appimage is working on my system.

scheckmedia commented 4 years ago

Thanks for your help! I've downgraded GCC to version 8 and updated the build process. The new release with tag 0.21b should solve this issue. Can you check this (if the build is complete), when you have some minutes?

bestlibre commented 4 years ago

I don't see the AppImage in the release assets. I will test as soon as possible when the AppImage is ready.

bestlibre commented 4 years ago

It's working without problems. Thanks !