Running my Flsun 3D Cube from a Kubuntu PC using Octopi, and trying to get my webcam to work with it. I've followed the instructions on Github for mjpg_streamer to the letter. Everything I've read says, "Sure! The Raspberry PI directions will work with Linux, you bet!" but they don't, at least, not for me, a beginning level Linux user.
I know that my webcam works with Kubuntu since I can load it and view it using VLC, but I've been unable to figure out how to get Octopi to read the stream from VLC (the documentation could use some improvement) or even confirm if the stream works.
Back to mjpg_streamer: when I issue the command
export LD_LIBRARY_PATH=. ./mjpg_streamer -o "output_http.so -w ./www" -i "input_raspicam.so"
I get
bash: export: 'mjpg_streamer': not a valid identifier
bash: export: '-o:' not a valid identifier
bash: export: 'output_http.so -w ./www': not a valid identifier
bash: export: '-i': not a valid identifier
bash: export: 'input_raspicam.so': not a valid identifier
I don't know what I don't know, and I don't know how to proceed. The goal is to view my webcam in Octopi/Octolapse on a Kubuntu PC. (Windows with Yawcam, no brainer; Linux, not so much.)