1
Programming / Re: Any C/C++ library for roguelike without SDL dependency?
« on: May 21, 2015, 01:54:06 AM »Quote from: summonerErrors occurred everywhere after I tried to remove some input/render functions in header files.It should not be that hard. I removed direct references to SDL from libtcod.h and libtcod_int.h, then edited out SDL and output subsystem implementations from makefile:
libtcod-nosdl.diff
And now resulting libtcod.so does not have SDL dependency anymore:Code: [Select]$ ldd libtcod.so
linux-vdso.so.1 => (0x00007fff50946000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5479649000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5479445000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5479227000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5478e67000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5479bc1000)
Thanks for help.
I think you are using version 1.6.0. I will switch from 1.5.1 stable to that version and retry.