Errors during webcam setup

Camera model
RPi camera
What is the problem?
Trying to set it up using the Wiki...
What did you already try to solve it?
Just using the Wiki and hitting a barrier
Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support)
not applicable, commands below
Additional information about your setup (OctoPrint version, OctoPi version, ...)
OctoPrint 1.3.12, OctoPi 0.17.0, running on Raspberry Pi 3 Model B Rev 1.2

I'm following the Wiki for setup. Here's what I've entered, and the subsequent errors; I've looked through the thread for similar problems but found none:

pi@OctoPi:/ $ cd ~
pi@OctoPi:~ $ sudo apt install subversion libjpeg62-turbo-dev imagemagick ffmpeg libv4l-dev cmake
Reading package lists... Done
Building dependency tree
Reading state information... Done
cmake is already the newest version (3.13.4-1).
imagemagick is already the newest version (8:6.9.10.23+dfsg-2.1).
libjpeg62-turbo-dev is already the newest version (1:1.5.2-2+b1).
libv4l-dev is already the newest version (1.16.3-3).
subversion is already the newest version (1.10.4-1+deb10u1).
ffmpeg is already the newest version (7:4.1.4-1+rpt7~deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
pi@OctoPi:~ $ git clone https://github.com/jacksonliam/mjpg-streamer.git        fatal: destination path 'mjpg-streamer' already exists and is not an empty directory.
pi@OctoPi:~ $ cd mjpg-streamer/mjpg-streamer-experimental
pi@OctoPi:~/mjpg-streamer/mjpg-streamer-experimental $ export LD_LIBRARY_PATH=. pi@OctoPi:~/mjpg-streamer/mjpg-streamer-experimental $ make
**make: *** No targets specified and no makefile found.  Stop.**
pi@OctoPi:~/mjpg-streamer/mjpg-streamer-experimental $ ./mjpg_streamer -i "./input_uvc.so" -o "./output_http.so"
**-bash: ./mjpg_streamer: No such file or directory**
pi@OctoPi:~/mjpg-streamer/mjpg-streamer-experimental $

Any ideas?

Try

cd ~
rm -rf mjpg-streamer

an then start over

But why are you doing that? OctoPi comes with mjpg-streamer preinstalled.

:warning:You should run my commands only if you want to delete the existing mjpg-streamer and compile your own. :warning:

I was just following the instructions in the Wiki to get the camera going.

I should say out front that I'm not a coder. I muddle my way through with liberal use of CTRL-C and CTRL-V.

Oh okay. That wiki tutorial is for stock raspbian images. You got an OctoPi image which got everything you need preinstalled.

This answer might help you

2 Likes

Thanks, I appreciate the comments. It's working fine now.

1 Like