Theverat / NormalmapGenerator

A simple program that converts images into normal maps
GNU General Public License v3.0
416 stars 51 forks source link

crash on Ubuntu 14.04 #1

Closed drBouvierLeduc closed 9 years ago

drBouvierLeduc commented 9 years ago

(v0.3.2) On Ubuntu 14.04, as soon as I click on a tab, it's an instant crash with the following error message in the terminal :

./NormalmapGenerator: symbol lookup error: ./NormalmapGenerator: undefined symbol: _ZN7QString13toUtf8_helperERKS_
Theverat commented 9 years ago

Does it happen with emptpy tabs (no image loaded), too?

Did you just download the zip and start the program or did you relink the libraries (like described in this post: http://www.luxrender.net/forum/viewtopic.php?f=17&t=11058&start=20#p107983)?

What version of Qt do you have installed?

drBouvierLeduc commented 9 years ago

No it doesn't crash with empty tab.

The first time, I didn't relink the libraries. I jumped straight from the first post in the luxrender forums to the github page, whithout reading all the thread. If some relinking is necessary, I would expect some readme file explaining the process with the archive.

So I tried to do that, but I have a new error message :

Cannot mix incompatible Qt library (version 0x50201) with this library (version 0x50300)

I'm not very familiar with linking libraries and such, so it's very possible I did something wrong.

Here is the output from ldd command :

    linux-vdso.so.1 =>  (0x00007fff6c7fe000)
    libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007ffe114d4000)
    libQt5Gui.so.5 (0x00007ffe10db1000)
    libQt5Core.so.5 (0x00007ffe1067d000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ffe10379000)
    libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007ffe10169000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ffe0ff53000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffe0fb8d000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ffe0f96e000)
    libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007ffe0f71d000)
    libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007ffe0f415000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007ffe0f0df000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ffe0edd9000)
    libGL.so.1 => /usr/lib/nvidia-331-updates/libGL.so.1 (0x00007ffe0eaa6000)
    libicui18n.so.52 => /opt/normalmap/libicui18n.so.52 (0x00007ffe0e685000)
    libicuuc.so.52 => /opt/normalmap/libicuuc.so.52 (0x00007ffe0e2fd000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ffe0e0f9000)
    libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007ffe0def6000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ffe0dcee000)
    /lib64/ld-linux-x86-64.so.2 (0x00007ffe11d21000)
    libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007ffe0dae5000)
    libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007ffe0d8a7000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007ffe0d688000)
    libnvidia-tls.so.331.38 => /usr/lib/nvidia-331-updates/tls/libnvidia-tls.so.331.38 (0x00007ffe0d484000)
    libnvidia-glcore.so.331.38 => /usr/lib/nvidia-331-updates/libnvidia-glcore.so.331.38 (0x00007ffe0ac76000)
    libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007ffe0aa64000)
    libicudata.so.52 => /opt/normalmap/libicudata.so.52 (0x00007ffe091f8000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007ffe08ff4000)
    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007ffe08ded000)

My version of Qt is the one that comes with Ubuntu 14.04, which is 5.2 if I'm not mistaken.

Theverat commented 9 years ago

Thanks, I'll try to fix the linking issues with a wrapper script in the next days. Hopefully I can get it to a point where it runs out of the box, I'll report back here then.

Theverat commented 9 years ago

Please try with this tar.gz archive: https://github.com/Theverat/NormalmapGenerator/releases/tag/v0.3.3

Start the wrapper script with ./NormalmapGenerator I tested it on a live Ubuntu 14.04.

drBouvierLeduc commented 9 years ago

It works fine now, thanks for your support