-
|
I can write a simple prog to write "Hello World": main.cpp kernel.h: kernel.cpp: it works fine! kernel.cpp: make,but got error: the doc (https://circle-rpi.readthedocs.io/en/49.0/devices/character-devices.html#cconsole) said: CConsole::CConsole(CDevice *pAlternateDevice = 0, boolean bPlugAndPlay = FALSE) I use usbkeyboard,so the first parameter is 0,the keyboard is already connect to the rpi4b,so the second parameter is false,so the line I write: should be right.Why I got the make error?How to fix it?Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Attached you'll find the simplest version of a program, which uses the The library lib/input/libinput.a must be listed in |
Beta Was this translation helpful? Give feedback.
Attached you'll find the simplest version of a program, which uses the
CConsoleclass.The library lib/input/libinput.a must be listed in
LIBSin the Makefile to suppress the make error.console-simple.zip