Menu

How to set HAVE_JPEG, HAVE_PNG etc.?

2014-12-10
2014-12-11
  • Gary Oberbrunner

    I've been trying to build emacs from source. I can't get configure to define HAVE_JPEG, HAVE_PNG, etc. in config.h no matter what I do. Do I need to have the development headers for those libs and have the libs present during build (and if so, where)? I thought on Windows it just loads the libs dynamically so it should predefine HAVE_JPEG etc. always.

    NEVER MIND, I read README.W32 more closely. I do need to install the dev builds of all those libs. I don't suppose anyone has packaged all of those in a simple zip file?

     

    Last edit: Gary Oberbrunner 2014-12-10
  • zklhp

    zklhp - 2014-12-11

    As my wiki said, I use MSYS2 (https://sourceforge.net/projects/msys2/) to get such environment. But if you install that you won't need to build Emacs by yourself, just `pacman -S mingw-w64-x86_64-emacs' because Emacs is now a package in MSYS2 project. This means that my build is a bit "less important", but I still keep on building the master.

     

Log in to post a comment.