pikvm / ustreamer

µStreamer - Lightweight and fast MJPEG-HTTP streamer
https://pikvm.org
GNU General Public License v3.0
1.73k stars 240 forks source link

undefined reference to `jpeg_mem_src' on linux mint #84

Closed KUGA2 closed 3 years ago

KUGA2 commented 3 years ago
$ make
== LD ustreamer
build/src/libs/unjpeg.o: In function `unjpeg':
unjpeg.c:(.text+0x35b): undefined reference to `jpeg_mem_src'
collect2: error: ld returned 1 exit status
Makefile:113: recipe for target 'ustreamer' failed
make: *** [ustreamer] Error 1

I am on Linux Mint 19.3 Cinnamon, and did the Ubuntu instructions sudo apt install build-essential libevent-dev libjpeg62-dev uuid-dev libbsd-dev make gcc libjpeg8 libjpeg-turbo8 libuuid1 libbsd0 They installed without any problem.

KUGA2 commented 3 years ago

For future reference (or fixing): installing libjpeg8-dev made make work.

Note: I also needed to uninstall libjpeg62-dev. I rebuilt the project to be safe. Now i can stream my webcam