google / cloud-print-connector

Google Cloud Print Connector
BSD 3-Clause "New" or "Revised" License
764 stars 184 forks source link

OSX Build failure, cupsGetPPD3 #393

Open jschissel82 opened 6 years ago

jschissel82 commented 6 years ago

OSX 10.12 build failure: $ go get github.com/google/cloud-print-connector/...

github.com/google/cloud-print-connector/cups

cgo-gcc-prolog:81:6: warning: 'cupsGetPPD3' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] /usr/include/cups/ppd.h:366:22: note: 'cupsGetPPD3' has been explicitly marked deprecated here

Centium76 commented 6 years ago

I'm experiencing the same issue on 10.12.6.

rnhurt commented 5 years ago

I'm seeing more deprecations on macOS Mojave 10.14.1. It doesn't seem to affect the build but I did want to bring attention to it.

$ go get github.com/google/cloud-print-connector/...
# github.com/google/cloud-print-connector/cups
cgo-gcc-prolog:86:11: warning: 'cupsGetPPD3' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/cups/ppd.h:366:113: note: 'cupsGetPPD3' has been explicitly marked deprecated here
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/cups/ppd.h:58:29: note: expanded from macro '_PPD_DEPRECATED'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/cups/versioning.h:147:43: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/cups/versioning.h:142:55: note: expanded from macro '_CUPS_DEPRECATED_MSG'
$
mule1515 commented 5 years ago

Can someone please help me with this...I"m running 10.13.6

image

image

rnhurt commented 5 years ago

@mule1515 did you see if the binary built or not? It might have been created but not put on your path correctly.

mule1515 commented 5 years ago

@mule1515 did you see if the binary built or not? It might have been created but not put on your path correctly.

@rnhurt no, i don't really know what i'm doing. you think you can help me?