Hi,
I use Kubuntu 14.04, Eclipse CDT and like to include CSFML which generate this error:
/home/u123/Programme/TestProg/Debug/TestProg: error while loading shared libraries: libcsfml-graphics.so.2.2: cannot open shared object file: No such file or directory
My Eclipse settings:
Environment variable: LD_LIBRARY_PATH = /home/u123/Programme/TestpProg/sfmlStuff/SFML-2.2/lib
Compiler Symbols: CSFML_STATIC
Compiler Includes: /home/u123/Programme/TestpProg/sfmlStuff/SFML-2.2/include
/home/u123/Programme/TestpProg/sfmlStuff/CSFML-2.2/include
Linker libraries: csfml-audio
csfml-system
csfml-graphics
csfml-window
Linker search paths: /usr/local/lib
/home/u123/Programme/TestpProg/sfmlStuff/SFML-2.2/lib
/home/u123/Programme/TestpProg/sfmlStuff/CSFML-2.2/lib
output of ldd:
christian@PC-Ubuntu:~$ ldd /home/u123/Programme/TestpProg/Debug/TestpProg
linux-vdso.so.1 => (0x00007ffc4999c000)
libcsfml-graphics.so.2.2 => not found
libcsfml-window.so.2.2 => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f201ab19000)
/lib64/ld-linux-x86-64.so.2 (0x000056380a1a0000)
Any ideas into where the problem lies? Thanks.