It depends what you call a 'dependency', why you want to avoid it, and what you need the library for. "C/C++ roguelike" is not a very precise term (the very 'roguelike' word is pretty vague these days). At least say if this is going to be ASCII or tiles, and which platform are you targeting.