Hi,
as I have to work with user keyboard inputs I was using ncurses.
If the user presses a specific key, a defined function is called without waiting for the keyboard input within the main loop.
Building for the host works but when it comes to build for the PX2 I get the following error message:
fatal error: ncurses.h: No such file or directory
I changed the libraries in the CMakeList for my project to:
set(LIBRARIES
${Driveworks_LIBRARIES}
dw_samples_common
ncurses
)
How can I use ncurses on the target?
Do I have to include the ncurses.h and ncurses.c directly in the common folder for example?