Comments (8)
Took me forever to find the answer The fact is that there is no more libgd2-xpm-dev. Instead you need to install libgd-dev: sudo apt install libgd-dev
Once you do that, fswebcam will compile without error.
I hope that by posting this I've saved at least one poor should hours of Google agony.
from fswebcam.
You'll need the development package, possibly called libgd2-dev or libgd2-devel.
from fswebcam.
libgd2-dev I guess, but it tells me:
Package libgd2-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'libgd2-dev' has no installation candidate
Will give a look if someone added external sources
from fswebcam.
Not sure, is there a libgd2-xpm-dev?
from fswebcam.
fabryz, apt-get install libgd2-xpm-dev or libgd2-noxpm-dev works for me on raspi debian.
from fswebcam.
just found this via Google, same issue, using libgd2-noxpm-dev worked perfect for me on raspberry pi uname -a Linux raspberrypi 3.1.9+ #90 Wed Apr 18 18:23:05 BST 2012 armv6l GNU/Linux
from fswebcam.
Indeed, confirmed here too. Compiles fine with libgd2-noxpm-dev. Closing.
from fswebcam.
I realize this is a very old, but when I try:
pi@raspmountain:~/webcam/fswebcam $ sudo apt install libgd2-noxpm-dev
<snip>
E: Unable to locate package libgd2-noxpm-dev
pi@raspmountain:~/webcam/fswebcam $ sudo apt-get install libgd2-xpm-de
<snip>
E: Unable to locate package libgd2-xpm-de
from fswebcam.
Related Issues (20)
- Random behaviour. Ignores parameters? HOT 2
- Re-get image on error
- Attempting to set non-existent control silently fails HOT 1
- When in --loop mode add option to run command after each frame is captured. HOT 1
- Cameras that lie about their properties
- "Error Querying Menu" when setting value
- Add ability to exit the loop after a specified number of iterations (--count ?)
- Release HOT 5
- Floating point vs Integer Math
- Write png with compression level 9 is pretty slow
- subsecond looping?
- gzip option `--best` not universal; use `-9` instead
- More astro features
- Running multiple cameras on raspberry HOT 2
- Read continuous frames from camera
- [suggestion] Capture directly to clipboard HOT 1
- "Opening /dev/video0... stat: No such file or directory" after taken 10 Pictures HOT 1
- A use after free bug in src_v41_set_read.c HOT 2
- Raspberry pi camera module error
- Sudo permission HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fswebcam.