Unix compile issue

Hopefully this is the irght sub-forum…

I was following the instructions here

in order to create pqi images for displays. I installed the latest unbuntu, once in, I installed ffmpeg, I am pretty sure I got netpbm installed.

After that, I downloaded the latest proffieos, then started the directions in the link above. When I try to “make” cpqoi and dpqoi, I get an error.

orntar@orntar-Surface-Pro:~/Downloads/ProffieOS-master/display$ make
g++ -O -g -std=c++11 -MD -MP -o tests tests.cpp -lm
make: g++: No such file or directory
make: *** [Makefile:5: tests] Error 127

I know very little about linux and ubuntu, can any help me out?

Try this:

$ apt install g++

then I get this:

orntar@orntar-Surface-Pro:~/Downloads/ProffieOS-master$ apt install g++
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

should I try sudo apt install g++ ?

yes, yes you should.

1 Like

lol, ok

Looks like it worked. Thanks, now to convert some files.