Closed woosaj closed 11 years ago
You will need to build it first, it is a C program. Once you have cloned the repository you will need to use the 'make' command to build the raspi2png executable. By default if you run raspi2png it will create a file called snapshot.png. There are a number of switches you can use on the command itself.
Usage: raspi2png [-p pngname] [-v] [-w
Hope that helps.
make command is not working for me
make: libpng-config: Command not found cc -Wall -g -O3 -I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -g -c raspi2png.c -o raspi2png.o -Wno-deprecated-declarations raspi2png.c:29:17: fatal error: png.h: No such file or directory compilation terminated. make: *\ [raspi2png.o] Error 1
Yes, sorry you need to install libpng.
sudo apt-get install libpng12-dev
should do the trick. Then try 'make' again.
It's working thanks
Can you please tell me how can I run this?