Giter Site home page Giter Site logo

GD lib on Raspberry Pi about fswebcam HOT 8 CLOSED

Fabryz avatar Fabryz commented on July 24, 2024
GD lib on Raspberry Pi

from fswebcam.

Comments (8)

Buadhai avatar Buadhai commented on July 24, 2024 6

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.

fsphil avatar fsphil commented on July 24, 2024

You'll need the development package, possibly called libgd2-dev or libgd2-devel.

from fswebcam.

Fabryz avatar Fabryz commented on July 24, 2024

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.

fsphil avatar fsphil commented on July 24, 2024

Not sure, is there a libgd2-xpm-dev?

from fswebcam.

mntmn avatar mntmn commented on July 24, 2024

fabryz, apt-get install libgd2-xpm-dev or libgd2-noxpm-dev works for me on raspi debian.

from fswebcam.

robert-wallis avatar robert-wallis commented on July 24, 2024

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.

fsphil avatar fsphil commented on July 24, 2024

Indeed, confirmed here too. Compiles fine with libgd2-noxpm-dev. Closing.

from fswebcam.

Buadhai avatar Buadhai commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.