I am using Ubuntu 11.04, 2.6.38 kernel, Xorg 1.10.1, and the proprietary Nvidia drivers, and when using Stonesense in DFHack-r2 I get this:
Cannot load image: stonesense/stonesense.png
Ok. That's something I haven't seen yet. Some options here:
Look at the DF folder. Is the stonesense.png file in the right spot? it should be (DF being the '/' here) in /stonesense/stonesense.png along with all the other stonesense files.
Might be a missing lib? Try 'ldd hack/plugins/stonesense.plug.so' and pastebin/post the result.
Alternatively try to install some different versions of libpng.
stonesense.png is in the stonesenese folder that was the first thing I checked since if it was missing I could just replace it.
The results of ldd hack/plugins/stonesense.plug.so are below.
linux-gate.so.1 => (0xb7fff000)
libdfhack.so => /usr/lib/libdfhack.so (0xb7ddf000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7dc6000)
libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xb7dbd000)
libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xb7da5000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb7c8a000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb7c7b000)
libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xb7c71000)
libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xb7c6a000)
libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 (0xb7c66000)
libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xb7c5e000)
libXpm.so.4 => /usr/lib/libXpm.so.4 (0xb7c4d000)
libGL.so.1 => /usr/lib/nvidia-current/libGL.so.1 (0xb7b7f000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7b11000)
libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0xb7ada000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb7ad1000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb79e6000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb79c0000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb79a3000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7842000)
/lib/ld-linux.so.2 (0x00110000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb783d000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb7824000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb7820000)
libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb7815000)
libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xb780f000)
libnvidia-tls.so.270.41.06 => /usr/lib/nvidia-current/tls/libnvidia-tls.so.270.41.06 (0xb780d000)
libnvidia-glcore.so.270.41.06 => /usr/lib/nvidia-current/libnvidia-glcore.so.270.41.06 (0xb60eb000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb60e6000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb60e0000)
I don't see libpng there could that be the problem?
There are no other packaged versions of libpng to install but I don't think that is the problem since I can run stonesense when it is not a part of dfhack.
The picture below shows the results of running stonesense and running dfhack stonesense side by side.
I wonder if it might be related to this problem where stonesense can not find a font if it is called a certain way.
I built allegro5 with all optional dependencies, dfhack 0.5.15, and then stonesense in Ubuntu 11.04.
I got the font not found error by running with
~/stonesense/stonesense &
I was able to run stonesense without the font error using
cd stonesense
./stonesense
Most common cause of this is an OpenGL issue.
Do you know a way to figure out if this is the problem?
I tried to build dfhack with stonesense to see if there was a difference but it failed. Link to the pastebin of the error is below.
http://pastebin.com/Pd3YVtR7