PDCurses wrapper will compile. However there are a couple dozen consts commented out that were problematic. Also, I got confused about a few procs with function ptrs as arguments. Feel free to fix