BOSSoNe0013 / track-o-bot

The friendly Hearthstone Tracker (Linux port)
https://trackobot.com
GNU Lesser General Public License v2.1
39 stars 6 forks source link

Wut? make error. #29

Closed avydashenko closed 8 years ago

avydashenko commented 8 years ago
feex@feex-VPCEC3DFX:~/game/HSTracker/track-o-bot$ qmake
feex@feex-VPCEC3DFX:~/game/HSTracker/track-o-bot$ make
make -f Makefile.Debug
make[1]: Вход в каталог `/home/feex/game/HSTracker/track-o-bot'
g++ -c -include debug/Track-o-Bot -m64 -pipe -g -std=c++0x -D_REENTRANT -Wall -W -fPIE -DVERSION=\"0.6.2\" -D_DEBUG -DPLATFORM=\"linux\" -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Itmp -Itmp -o tmp/Main.o src/Main.cpp
In file included from /usr/include/qt5/QtCore/qjsonobject.h:45:0,
                 from /usr/include/qt5/QtCore/QJsonObject:1,
                 from src/Result.h:5,
                 from src/HearthstoneLogTracker.h:4,
                 from src/ResultTracker.h:3,
                 from src/Core.h:3,
                 from src/Trackobot.h:6,
                 from src/Main.cpp:1:
/usr/include/qt5/QtCore/qjsonvalue.h: In member function ‘QJsonObject Result::AsJson() const’:
/usr/include/qt5/QtCore/qjsonvalue.h:119:12: error: ‘QJsonValue::QJsonValue(const void*)’ is private
     inline QJsonValue(const void *) {}
            ^
In file included from src/HearthstoneLogTracker.h:4:0,
                 from src/ResultTracker.h:3,
                 from src/Core.h:3,
                 from src/Trackobot.h:6,
                 from src/Main.cpp:1:
src/Result.h:146:26: error: within this context
     result[ "hero" ]     = CLASS_NAMES[ hero ];
                          ^
In file included from /usr/include/qt5/QtCore/qjsonobject.h:45:0,
                 from /usr/include/qt5/QtCore/QJsonObject:1,
                 from src/Result.h:5,
                 from src/HearthstoneLogTracker.h:4,
                 from src/ResultTracker.h:3,
                 from src/Core.h:3,
                 from src/Trackobot.h:6,
                 from src/Main.cpp:1:
/usr/include/qt5/QtCore/qjsonvalue.h:119:12: error: ‘QJsonValue::QJsonValue(const void*)’ is private
     inline QJsonValue(const void *) {}
            ^
In file included from src/HearthstoneLogTracker.h:4:0,
                 from src/ResultTracker.h:3,
                 from src/Core.h:3,
                 from src/Trackobot.h:6,
                 from src/Main.cpp:1:
src/Result.h:147:26: error: within this context
     result[ "opponent" ] = CLASS_NAMES[ opponent ];
                          ^
In file included from /usr/include/qt5/QtCore/qjsonobject.h:45:0,
                 from /usr/include/qt5/QtCore/QJsonObject:1,
                 from src/Result.h:5,
                 from src/HearthstoneLogTracker.h:4,
                 from src/ResultTracker.h:3,
                 from src/Core.h:3,
                 from src/Trackobot.h:6,
                 from src/Main.cpp:1:
/usr/include/qt5/QtCore/qjsonvalue.h:119:12: error: ‘QJsonValue::QJsonValue(const void*)’ is private
     inline QJsonValue(const void *) {}
            ^
In file included from src/HearthstoneLogTracker.h:4:0,
                 from src/ResultTracker.h:3,
                 from src/Core.h:3,
                 from src/Trackobot.h:6,
                 from src/Main.cpp:1:
src/Result.h:149:26: error: within this context
     result[ "mode" ]     = MODE_NAMES[ mode ];
                          ^
In file included from /usr/include/qt5/QtCore/qjsonobject.h:45:0,
                 from /usr/include/qt5/QtCore/QJsonObject:1,
                 from src/Result.h:5,
                 from src/HearthstoneLogTracker.h:4,
                 from src/ResultTracker.h:3,
                 from src/Core.h:3,
                 from src/Trackobot.h:6,
                 from src/Main.cpp:1:
/usr/include/qt5/QtCore/qjsonvalue.h:119:12: error: ‘QJsonValue::QJsonValue(const void*)’ is private
     inline QJsonValue(const void *) {}
            ^
In file included from src/HearthstoneLogTracker.h:4:0,
                 from src/ResultTracker.h:3,
                 from src/Core.h:3,
                 from src/Trackobot.h:6,
                 from src/Main.cpp:1:
src/Result.h:163:24: error: within this context
       item[ "player" ] = chi.player == PLAYER_SELF ? "me" : "opponent";
                        ^
In file included from /usr/include/qt5/QtCore/qjsonobject.h:45:0,
                 from /usr/include/qt5/QtCore/QJsonObject:1,
                 from src/Result.h:5,
                 from src/HearthstoneLogTracker.h:4,
                 from src/ResultTracker.h:3,
                 from src/Core.h:3,
                 from src/Trackobot.h:6,
                 from src/Main.cpp:1:
/usr/include/qt5/QtCore/qjsonvalue.h:119:12: error: ‘QJsonValue::QJsonValue(const void*)’ is private
     inline QJsonValue(const void *) {}
            ^
In file included from src/HearthstoneLogTracker.h:4:0,
                 from src/ResultTracker.h:3,
                 from src/Core.h:3,
                 from src/Trackobot.h:6,
                 from src/Main.cpp:1:
src/Result.h:164:25: error: within this context
       item[ "card_id" ] = chi.cardId.c_str();
                         ^
make[1]: *** [tmp/Main.o] Ошибка 1
make[1]: Выход из каталога `/home/feex/game/HSTracker/track-o-bot'
make: *** [debug] Ошибка 2
BOSSoNe0013 commented 8 years ago

Hi, you need Qt 5.5+ to build the app so update your Qt sdk. Cheers