I've had to fight to get this library to run. I can import it and the samples_cpp works fine. But when I run my roguelike, I get this error:
> python main.py
Traceback (most recent call last):
File "main.py", line 3, in <module>
import libtcodpy as libtcod
File "/home/slumking/Documents/Python/scripts/hm_game-master/libtcodpy.py", line 479, in <module>
_lib.TCOD_console_has_mouse_focus.restype = c_bool
File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: ./libtcod.so: undefined symbol: TCOD_console_has_mouse_focus