Swordfish90 / cool-retro-term

A good looking terminal emulator which mimics the old cathode display...
22.09k stars 840 forks source link

Can't compile on latest Trisquel? #552

Open cogburnd02 opened 4 years ago

cogburnd02 commented 4 years ago

First tried the appimage, didn't work because I'm on 32-bit.

Getting errors trying to compile manually on latest Trisquel, this is after qmake && make

lib/ColorScheme.cpp:370:13: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat] r = colorStr.midRef(1, 2).toInt(nullptr, 16); ^ lib/ColorScheme.cpp: In member function ‘void Konsole::ColorScheme::readColorEntry(QSettings*, int)’: lib/ColorScheme.cpp:370:45: error: ‘nullptr’ was not declared in this scope r = colorStr.midRef(1, 2).toInt(nullptr, 16); ^ lib/ColorScheme.cpp: In member function ‘QList Konsole::ColorSchemeManager::listKDE3ColorSchemes()’: lib/ColorScheme.cpp:726:38: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 for (const QString &scheme_dir : get_color_schemes_dirs()) ^ lib/ColorScheme.cpp:734:33: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 for (const QString &i : list) ^ lib/ColorScheme.cpp: In member function ‘QList Konsole::ColorSchemeManager::listColorSchemes()’: lib/ColorScheme.cpp:746:38: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 for (const QString &scheme_dir : get_color_schemes_dirs()) ^ lib/ColorScheme.cpp:754:33: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 for (const QString &i : list) ^ Makefile:569: recipe for target 'ColorScheme.o' failed make[1]: [ColorScheme.o] Error 1 make[1]: Leaving directory '/media/cogburnd02/fe40ab03-a0cc-49fc-88a6-0f47eec54793/sorted/ddc/crt/cool-retro-term/cool-retro-term/qmltermwi dget' Makefile:43: recipe for target 'sub-qmltermwidget-make_first-ordered' failed make: [sub-qmltermwidget-make_first-ordered] Error 2

pulketo commented 4 years ago

me too... maybe no 32bit support for something... I got that too... and upgraded gcc to gcc (Ubuntu 7.4.0-1ubuntu1~16.04~ppa1) 7.4.0 and i got this: ... ... lib/Filter.cpp: In member function ‘Konsole::UrlFilter::HotSpot::UrlType Konsole::UrlFilter::HotSpot::urlType() const’: lib/Filter.cpp:433:35: error: ‘class QStringList’ has no member named ‘constFirst’; did you mean ‘contains’? QString url = capturedTexts().constFirst(); ^~~~~~ contains lib/Filter.cpp: In member function ‘virtual void Konsole::UrlFilter::HotSpot::activate(const QString&)’: lib/Filter.cpp:445:35: error: ‘class QStringList’ has no member named ‘constFirst’; did you mean ‘contains’? QString url = capturedTexts().constFirst(); ^~~~~~ contains Makefile:584: recipe for target 'Filter.o' failed make[1]: [Filter.o] Error 1 make[1]: Leaving directory '/home/pkssd/gits/cool-retro-term/qmltermwidget' Makefile:43: recipe for target 'sub-qmltermwidget-make_first-ordered' failed make: [sub-qmltermwidget-make_first-ordered] Error 2