DYMO-SDK-for-Linux
DYMO-SDK-for-Linux copied to clipboard
Error using make command
Hi, with make command i get the following error:
../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); | ^~~~~~~~~~~~~~~~~~~
Thank you very much
Enri
Hi, can you provide some additional information such as what environment you're running and what commands you used to get to this point?
I'm using Ubuntu 20.04 and this is the command sequence:
`sudo apt-get install git libcups2-dev libcupsimage2-dev gcc g++ automake
cd ~/ git clone https://github.com/Kyle-Falconer/DYMO-SDK-for-Linux.git cd DYMO-SDK-for-Linux aclocal automake --add-missing autoconf ./configure make`
Hey!
We'r getting the exact same issue on a Ubuntu 20.10 Installation.
Its a fresh installlation of Ubuntu and we'r getting the following error:
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);
| ^~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:494: CupsPrintEnvironment.o] Fehler 1
make[4]: Verzeichnis „/home/lappi/Downloads/DYMO-SDK-for-Linux/src/lw“ wird verlassen
make[3]: *** [Makefile:570: all-recursive] Fehler 1
make[3]: Verzeichnis „/home/lappi/Downloads/DYMO-SDK-for-Linux/src/lw“ wird verlassen
make[2]: *** [Makefile:355: all-recursive] Fehler 1
make[2]: Verzeichnis „/home/lappi/Downloads/DYMO-SDK-for-Linux/src“ wird verlassen
make[1]: *** [Makefile:300: all] Fehler 2
make[1]: Verzeichnis „/home/lappi/Downloads/DYMO-SDK-for-Linux/src“ wird verlassen
make: *** [Makefile:364: all-recursive] Fehler 1
All Installation-Steps were followed (installing those required packages):
lappi@Laptop:~/Downloads/DYMO-SDK-for-Linux$ sudo apt-get install git libcups2-dev libcupsimage2-dev gcc g++ automake
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
automake ist schon die neueste Version (1:1.16.2-4ubuntu1).
g++ ist schon die neueste Version (4:10.2.0-1ubuntu1).
gcc ist schon die neueste Version (4:10.2.0-1ubuntu1).
git ist schon die neueste Version (1:2.27.0-1ubuntu1).
libcups2-dev ist schon die neueste Version (2.3.3-3ubuntu1).
libcupsimage2-dev ist schon die neueste Version (2.3.3-3ubuntu1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Regards SeaLife
The problem is caused by a missing import required by the newer versions of Ubuntu: SideChannelImport