Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xsrc/local/programs

On Wed, 15 Sep 2021, Chavdar Ivanov wrote:

To build xsetwallpaper, I had to
  git clone

and copy stb/stb_image.h as stbi.h, as well as
stb/deprecated/stb_image.c as stb_image.c (both files are public
domain); then I made a short Imakefile:
          SRCS = stb_image.c      xsetwallpaper.c
          OBJS = stb_image.o      xsetwallpaper.o

          NAME = xsetwallpaper
       VERSION = 1.0.0


xmkmf && make then compiles,  but link fails as libm is not included;

xsetwallpaper is in base, and is built here:



Home | Main Index | Thread Index | Old Index