-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
When building on Ubuntu 20.04 I got a broken build:
g++ -DHAVE_CONFIG_H -I. -I../../src -I../common -O2 -Wall -Wno-unknown-pragmas -MT CupsPrintEnvironment.o -MD -MP -MF .deps/CupsPrintEnvironment.Tpo -c -o CupsPrintEnvironment.o `test -f '../common/CupsPrintEnvironment.cpp' || echo './'`../common/CupsPrintEnvironment.cpp
../common/CupsPrintEnvironment.cpp: In member function ‘virtual void 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);
| ^~~~~~~~~~~~~~~~~~~
An additional include
#include <cups/sidechannel.h>
Seems to fix it.
Thank you for providing this updated dymo sdk!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels