DYMO-SDK-for-Linux icon indicating copy to clipboard operation
DYMO-SDK-for-Linux copied to clipboard

Your new DYMO-SDK-for-Linux package does not compile

Open villandra opened this issue 3 years ago • 2 comments

DYMO-SDK-for-Linux output.pdf

You seem to have changed your package in the last two days. The old one didn't work, as per my previous issue if it's still there. The old one appeared to run with lots of warnings but didn't do anything, like install files, let alone associate the driver with the printer.

The DYMO-SDK-for-Linux doesn't even get through compile. Output attached - IN COLOR, so the warnings and errors stand out.

It ends with DymoPrinterDriver::CCupsPrintEnvironmentForLM::ReadData(DymoPrinterDriver::buffer_t&)’: ../common/CupsPrintEnvironment.cpp:139:23: error: ‘cupsBackChannelRead’ was not declared in this scope 139 | ssize_t bytesRead = cupsBackChannelRead((char*)buf, sizeof(buf), 2.5); | ^~~~~~~~~~~~~~~~~~~ make[4]: *** [Makefile:494: CupsPrintEnvironment.o] Error 1 make[4]: Leaving directory '/home/dora/DYMO-SDK-for-Linux/src/lw' make[3]: *** [Makefile:570: all-recursive] Error 1 make[3]: Leaving directory '/home/dora/DYMO-SDK-for-Linux/src/lw' make[2]: *** [Makefile:355: all-recursive] Error 1 make[2]: Leaving directory '/home/dora/DYMO-SDK-for-Linux/src' make[1]: *** [Makefile:300: all] Error 2 make[1]: Leaving directory '/home/dora/DYMO-SDK-for-Linux/src' make: *** [Makefile:364: all-recursive] Error 1

I am using Ubuntu 20.04. And getting the same results on two very different computers.

villandra avatar Jul 29 '21 20:07 villandra

Same error. This patch fixes it: https://sources.debian.org/patches/dymo-cups-drivers/1.4.0-9/0005-Include-cups-sidechannel.h-for-cupsBackChannelRead-s.patch/

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943549

Edit: Just install printer-driver-dymo

frmdstryr avatar Jul 29 '21 23:07 frmdstryr

Tried this on Linux Mint 21.0 (Cups 2.4.1) it compiled ok. When I issue a sudo apt install printer-driver-dymo I get printer-driver-dymo is already the newest version (1.4.0-11) but still nothing prints on a Dymo LabelWriter 400 from gLabels. However, removing and reinstalling the printer fixed it. Thanks.

craigs100 avatar Nov 03 '22 19:11 craigs100