Skip to content

Can't compile PPD per instructions in README #36

@elasticdotventures

Description

@elasticdotventures
$  cmake --build .
Scanning dependencies of target ppds
[ 33%] Building PPDs
[ 33%] Built target ppds
Scanning dependencies of target rastertozj
[ 66%] Building C object CMakeFiles/rastertozj.dir/rastertozj.c.o
/c0de/d0ngxi/src/zj-58/rastertozj.c: In function ‘initializeSettings’:
/c0de/d0ngxi/src/zj-58/rastertozj.c:37:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
   37 |   ppd_file_t *pPpd = ppdOpenFile(getenv("PPD"));
      |   ^~~~~~~~~~
In file included from /c0de/d0ngxi/src/zj-58/rastertozj.c:4:
/usr/include/cups/ppd.h:389:20: note: declared here
  389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
      |                    ^~~~~~~~~~~
/c0de/d0ngxi/src/zj-58/rastertozj.c:41:3: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
   41 |   ppdClose(pPpd);
      |   ^~~~~~~~
In file included from /c0de/d0ngxi/src/zj-58/rastertozj.c:4:
/usr/include/cups/ppd.h:364:14: note: declared here
  364 | extern void  ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
      |              ^~~~~~~~
[100%] Linking C executable rastertozj
[100%] Built target rastertozj

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions