G++ can't find references to raw() or cbreak(), even when linking curses [duplicate]
问题 This question already has an answer here : DSO missing from command line [duplicate] (1 answer) Closed 2 years ago . I'm having trouble getting some absolute basic work with curses.h done, even though I've worked with it before. I'm sure it's a classic case of missing something small, but I'm at my wit's end. G++ absolutely won't recognize the functions raw() or cbreak(), even though curses.h is included in my .cpp and header file, and linked to when compiling with (minimal version): g++