[lldb-dev] [Bug 51954] New: GUI: curses mode not interactive Windows (PDCursesMod)
lldb-dev at lists.llvm.org
Fri Sep 24 04:03:45 PDT 2021
Bug ID: 51954
Summary: GUI: curses mode not interactive Windows (PDCursesMod)
OS: Windows NT
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: steve at advance-software.com
CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org
Building with curses on windows (pdcursesmod)
This : https://github.com/Bill-Gray/PDCursesMod
... because PDCureses was erroring out for me, tried other, seems better.
One build issue :
define_key not defined. that's a ncurses extension. have a dummy in there for
now so it will link as follows :
// pdcurses doesn't implement define_key so we stub for the time being.
int define_key(const char *definition, int keycode)
return ERR ; // not implemented.
Filed as issue here :
That builds & runs. Can type gui to enter gui mode but its not interactive.
Should be. Perhaps due to stubbed define_key. Don't know. Don't personally have
time to take this further at the moment, but was a request issue was filed.
Need something like this to build with PDCursesMod
cmake -S llvm -DPANEL_LIBRARIES=%CURSES_LIB% -DCURSES_LIBRARY=%CURSES_LIB%
-DLLVM_ENABLE_PROJECTS="clang;lldb" -B build -G Ninja
Also if you build PDCursesMod as DLL, you'll need to patch #include as follows.
#define PDC_DLL_BUILD 1
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev