GPUOpen-Tools / compressonator

Tool suite for Texture and 3D Model Compression, Optimization and Analysis using CPUs, GPUs and APUs
1.3k stars 197 forks source link

Release is not runnable on Linux due to missing library #283

Open LordOfDragons opened 1 year ago

LordOfDragons commented 1 year ago
./compressonatorcli-bin: error while loading shared libraries: libIlmImf-2_2.so.22: cannot open shared object file: No such file or directory

A required library is missing.

Using LDD some more libraries are missing for a self-sustained Linux release:

ldd ./compressonatorcli-bin  | grep not
        libIlmImf-2_2.so.22 => not found
        libIex-2_2.so.12 => not found
        libopencv_imgproc.so.3.2 => not found
        libopencv_core.so.3.2 => not found
denislevesqueAMD commented 11 months ago

@LordOfDragons Thanks for the report! How did you install Compressonator on your machine, was it through the .deb package or the tarball? The .tar.gz package seems to contain all of the libraries you say are missing.

LordOfDragons commented 11 months ago

I've tested the tarball. If you want to use the included libraries you have to run it from a console like this: LD_LIBRARY_PATH=pkglibs:qt ./compressonatorcli-bin This is not mentioned.

denislevesqueAMD commented 11 months ago

@LordOfDragons Thanks for the clarification, we will look into improving the documentation and user experience on Linux.

LordOfDragons commented 11 months ago

For improving that it would be better to have the GUI version pre-compiled. It's using Qt but has only Windows binaries. This is kinda... strange. Especially a problem since the build instructions for Linux do not work so you are stuck with the console version.