Open antzucaro opened 3 years ago
For anyone that comes along looking for this - I added "-lncurses" to the end of the generated make command and ran it instead of make. Works as expected.
$ make V=1
-> gcc -W -Wall -g -O3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -lncursesw -ltinfo camera-ctl.o -o camera-ctl
This command will compile the program:
gcc -W -Wall -g -O3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -lncursesw -ltinfo camera-ctl.o -o camera-ctl -lncurses
Then run:
./camera-ctl
Hi @peterbay, I'm having trouble compiling on Ubuntu 18.04. After having installed the prerequisites I run
make
, but it gives me errors with linking that appear to be related toncurses
:I'm not familiar enough with C to figure out why this is happening, but I'd venture a guess that it's something simple. Could you take a look when you get the time? Thank you!