Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The make command return error #7

Open
gholamrezaeipt opened this issue Nov 14, 2023 · 4 comments
Open

The make command return error #7

gholamrezaeipt opened this issue Nov 14, 2023 · 4 comments

Comments

@gholamrezaeipt
Copy link

command and output attached

How to fix?

make -j

g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/main.o src/main.cpp
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/appE4MT.o src/appE4MT.cpp
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/Configs.o src/Configs.cpp
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/XMLReader.o src/XMLReader.cpp
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/args.o 3rdParty/fastText/src/args.cc
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/autotune.o 3rdParty/fastText/src/autotune.cc
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/densematrix.o 3rdParty/fastText/src/densematrix.cc
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/dictionary.o 3rdParty/fastText/src/dictionary.cc
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/fasttext.o 3rdParty/fastText/src/fasttext.cc
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/loss.o 3rdParty/fastText/src/loss.cc
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/matrix.o 3rdParty/fastText/src/matrix.cc
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/meter.o 3rdParty/fastText/src/meter.cc
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/model.o 3rdParty/fastText/src/model.cc
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/productquantizer.o 3rdParty/fastText/src/productquantizer.cc
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/quantmatrix.o 3rdParty/fastText/src/quantmatrix.cc
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/utils.o 3rdParty/fastText/src/utils.cc
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/vector.o 3rdParty/fastText/src/vector.cc
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/clsFormalityChecker.o src/clsFormalityChecker.cpp
g++ -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -dM -E -o out/build/E4MT/E4MT/moc/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
/usr/lib/qt5/bin/moc -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /home/mmg/EngineerZone/Targoman/E4MT/out/build/E4MT/E4MT/moc/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/mmg/EngineerZone/Targoman/E4MT -I/home/mmg/EngineerZone/Targoman/E4MT -I/home/mmg/EngineerZone/Targoman/E4MT/src -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/out/include -I'/home/mmg/EngineerZone/Targoman/E4MT/~/local/include' -I'/home/mmg/EngineerZone/Targoman/E4MT//root/local/include' -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/9 -I/usr/include/x86_64-linux-gnu/c++/9 -I/usr/include/c++/9/backward -I/usr/lib/gcc/x86_64-linux-gnu/9/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include src/appE4MT.h -o out/build/E4MT/E4MT/moc/moc_appE4MT.cpp
g++ -c -pipe -Wno-unknown-pragmas -std=c++11 -std=c++14 -O3 -Wall -W -D_REENTRANT -fPIC -DWITH_QJsonRPC -DTARGOMAN_DEBUG_PROCESS_LINE=1 -DTARGOMAN_SHOW_WARNING=1 -DTARGOMAN_SHOW_INFO=1 -DTARGOMAN_SHOW_HAPPY=1 -DTARGOMAN_SHOW_NORMAL=1 -DPROJ_VERSION=2.1.1 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -Iout/include -I~/local/include -I/root/local/include -I/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/Private/ -I/home/mmg/EngineerZone/Targoman/E4MT/libsrc/libE4MT/ -isystem /usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iout/build/E4MT/E4MT/moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o out/build/E4MT/E4MT/obj/moc_appE4MT.o out/build/E4MT/E4MT/moc/moc_appE4MT.cpp
In file included from 3rdParty/fastText/src/matrix.h:16,
                 from 3rdParty/fastText/src/densematrix.h:18,
                 from 3rdParty/fastText/src/quantmatrix.h:20,
                 from 3rdParty/fastText/src/quantmatrix.cc:9:
3rdParty/fastText/src/densematrix.h: In member function ‘const real& fasttext::DenseMatrix::at(int64_t, int64_t) const’:
3rdParty/fastText/src/densematrix.h:48:23: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   48 |     assert(i * n_ + j < data_.size());
      |            ~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from 3rdParty/fastText/src/matrix.h:16,
                 from 3rdParty/fastText/src/densematrix.h:18,
                 from 3rdParty/fastText/src/densematrix.cc:9:
3rdParty/fastText/src/densematrix.h: In member function ‘const real& fasttext::DenseMatrix::at(int64_t, int64_t) const’:
3rdParty/fastText/src/densematrix.h:48:23: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   48 |     assert(i * n_ + j < data_.size());
      |            ~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from 3rdParty/fastText/src/matrix.h:16,
                 from 3rdParty/fastText/src/densematrix.h:18,
                 from 3rdParty/fastText/src/fasttext.h:23,
                 from 3rdParty/fastText/src/fasttext.cc:9:
3rdParty/fastText/src/densematrix.h: In member function ‘const real& fasttext::DenseMatrix::at(int64_t, int64_t) const’:
3rdParty/fastText/src/densematrix.h:48:23: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   48 |     assert(i * n_ + j < data_.size());
      |            ~~~~~~~~~~~^~~~~~~~~~~~~~
3rdParty/fastText/src/args.cc: In member function ‘void fasttext::Args::parseArgs(const std::vector<std::__cxx11::basic_string<char> >&)’:
3rdParty/fastText/src/args.cc:120:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  120 |   for (int ai = 2; ai < args.size(); ai += 2) {
      |                    ~~~^~~~~~~~~~~~~
3rdParty/fastText/src/args.cc:221:19: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=]
  221 |     } catch (std::out_of_range) {
      |                   ^~~~~~~~~~~~
In file included from 3rdParty/fastText/src/matrix.h:16,
                 from 3rdParty/fastText/src/densematrix.h:18,
                 from 3rdParty/fastText/src/fasttext.h:23,
                 from 3rdParty/fastText/src/autotune.h:18,
                 from 3rdParty/fastText/src/autotune.cc:9:
3rdParty/fastText/src/densematrix.h: In member function ‘const real& fasttext::DenseMatrix::at(int64_t, int64_t) const’:
3rdParty/fastText/src/densematrix.h:48:23: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   48 |     assert(i * n_ + j < data_.size());
      |            ~~~~~~~~~~~^~~~~~~~~~~~~~
3rdParty/fastText/src/productquantizer.cc: In member function ‘void fasttext::ProductQuantizer::load(std::istream&)’:
3rdParty/fastText/src/productquantizer.cc:246:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  246 |   for (auto i = 0; i < centroids_.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~
3rdParty/fastText/src/dictionary.cc: In member function ‘void fasttext::Dictionary::computeSubwords(const string&, std::vector<int>&, std::vector<std::__cxx11::basic_string<char> >*) const’:
3rdParty/fastText/src/dictionary.cc:181:52: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  181 |     for (size_t j = i, n = 1; j < word.size() && n <= args_->maxn; n++) {
      |                                                  ~~^~~~~~~~~~~~~~
3rdParty/fastText/src/dictionary.cc:186:13: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  186 |       if (n >= args_->minn && !(n == 1 && (i == 0 || j == word.size()))) {
      |           ~~^~~~~~~~~~~~~~
3rdParty/fastText/src/dictionary.cc: In member function ‘void fasttext::Dictionary::initNgrams()’:
3rdParty/fastText/src/dictionary.cc:198:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
  198 |   for (size_t i = 0; i < size_; i++) {
      |                      ~~^~~~~~~
3rdParty/fastText/src/dictionary.cc: In member function ‘void fasttext::Dictionary::initTableDiscard()’:
3rdParty/fastText/src/dictionary.cc:296:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
  296 |   for (size_t i = 0; i < size_; i++) {
      |                      ~~^~~~~~~
3rdParty/fastText/src/densematrix.cc: In member function ‘void fasttext::DenseMatrix::uniform(fasttext::real, unsigned int, int32_t)’:
3rdParty/fastText/src/densematrix.cc:48:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   48 |     for (int i = 0; i < thread; i++) {
      |                     ~~^~~~~~~~
3rdParty/fastText/src/densematrix.cc:51:27: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   51 |     for (int32_t i = 0; i < threads.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~~~
3rdParty/fastText/src/dictionary.cc: In member function ‘void fasttext::Dictionary::addWordNgrams(std::vector<int>&, const std::vector<int>&, int32_t) const’:
3rdParty/fastText/src/dictionary.cc:316:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  316 |   for (int32_t i = 0; i < hashes.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~
3rdParty/fastText/src/dictionary.cc:318:31: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  318 |     for (int32_t j = i + 1; j < hashes.size() && j < i + n; j++) {
      |                             ~~^~~~~~~~~~~~~~~
3rdParty/fastText/src/dictionary.cc: In member function ‘void fasttext::Dictionary::prune(std::vector<int>&)’:
3rdParty/fastText/src/dictionary.cc:515:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<fasttext::entry>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  515 |   for (int32_t i = 0; i < words_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~
3rdParty/fastText/src/dictionary.cc:517:12: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  517 |         (j < words.size() && words[j] == i)) {
      |          ~~^~~~~~~~~~~~~~
3rdParty/fastText/src/fasttext.cc: In member function ‘void fasttext::FastText::getWordVector(fasttext::Vector&, const string&) const’:
3rdParty/fastText/src/fasttext.cc:114:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  114 |   for (int i = 0; i < ngrams.size(); i++) {
      |                   ~~^~~~~~~~~~~~~~~
3rdParty/fastText/src/fasttext.cc: In lambda function:
3rdParty/fastText/src/fasttext.cc:314:12: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  314 |     if (i1 == eosid && i2 == eosid) { // satisfy strict weak ordering
      |         ~~~^~~~~~~~
3rdParty/fastText/src/fasttext.cc:314:27: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  314 |     if (i1 == eosid && i2 == eosid) { // satisfy strict weak ordering
      |                        ~~~^~~~~~~~
3rdParty/fastText/src/fasttext.cc:317:18: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  317 |     return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]);
      |            ~~~~~~^~~~~
3rdParty/fastText/src/fasttext.cc:317:34: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  317 |     return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]);
      |                            ~~~~~~^~~~~
3rdParty/fastText/src/fasttext.cc: In member function ‘void fasttext::FastText::quantize(const fasttext::Args&, const TrainCallback&)’:
3rdParty/fastText/src/fasttext.cc:337:40: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
  337 |   if (qargs.cutoff > 0 && qargs.cutoff < input->size(0)) {
      |                           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
3rdParty/fastText/src/fasttext.cc:342:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  342 |     for (auto i = 0; i < idx.size(); i++) {
      |                      ~~^~~~~~~~~~~~
3rdParty/fastText/src/fasttext.cc: In member function ‘void fasttext::FastText::cbow(fasttext::Model::State&, fasttext::real, const std::vector<int>&)’:
3rdParty/fastText/src/fasttext.cc:393:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  393 |   for (int32_t w = 0; w < line.size(); w++) {
      |                       ~~^~~~~~~~~~~~~
3rdParty/fastText/src/fasttext.cc:397:41: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  397 |       if (c != 0 && w + c >= 0 && w + c < line.size()) {
      |                                   ~~~~~~^~~~~~~~~~~~~
3rdParty/fastText/src/fasttext.cc: In member function ‘void fasttext::FastText::skipgram(fasttext::Model::State&, fasttext::real, const std::vector<int>&)’:
3rdParty/fastText/src/fasttext.cc:411:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  411 |   for (int32_t w = 0; w < line.size(); w++) {
      |                       ~~^~~~~~~~~~~~~
3rdParty/fastText/src/fasttext.cc:415:41: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  415 |       if (c != 0 && w + c >= 0 && w + c < line.size()) {
      |                                   ~~~~~~^~~~~~~~~~~~~
3rdParty/fastText/src/fasttext.cc: In member function ‘void fasttext::FastText::getSentenceVector(std::istream&, fasttext::Vector&)’:
3rdParty/fastText/src/fasttext.cc:495:27: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  495 |     for (int32_t i = 0; i < line.size(); i++) {
      |                         ~~^~~~~~~~~~~~~
3rdParty/fastText/src/fasttext.cc: In member function ‘std::vector<std::pair<std::__cxx11::basic_string<char>, fasttext::Vector> > fasttext::FastText::getNgramVectors(const string&) const’:
3rdParty/fastText/src/fasttext.cc:530:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  530 |   for (int32_t i = 0; i < ngrams.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~
3rdParty/fastText/src/fasttext.cc: In member function ‘std::vector<std::pair<float, std::__cxx11::basic_string<char> > > fasttext::FastText::getNN(const fasttext::DenseMatrix&, const fasttext::Vector&, int32_t, const std::set<std::__cxx11::basic_string<char> >&)’:
3rdParty/fastText/src/fasttext.cc:591:23: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<float, std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
  591 |       if (heap.size() == k && similarity < heap.front().first) {
      |           ~~~~~~~~~~~~^~~~
3rdParty/fastText/src/fasttext.cc:596:23: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<float, std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
  596 |       if (heap.size() > k) {
      |           ~~~~~~~~~~~~^~~
3rdParty/fastText/src/loss.cc: In member function ‘void fasttext::Loss::findKBest(int32_t, fasttext::real, fasttext::Predictions&, const fasttext::Vector&) const’:
3rdParty/fastText/src/loss.cc:83:21: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<float, int> >::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
   83 |     if (heap.size() == k && std_log(output[i]) < heap.front().first) {
      |         ~~~~~~~~~~~~^~~~
3rdParty/fastText/src/loss.cc:88:21: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<float, int> >::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
   88 |     if (heap.size() > k) {
      |         ~~~~~~~~~~~~^~~
In file included from 3rdParty/fastText/src/matrix.h:16,
                 from 3rdParty/fastText/src/loss.h:15,
                 from 3rdParty/fastText/src/loss.cc:9:
3rdParty/fastText/src/loss.cc: In member function ‘virtual fasttext::real fasttext::NegativeSamplingLoss::forward(const std::vector<int>&, int32_t, fasttext::Model::State&, fasttext::real, bool)’:
3rdParty/fastText/src/loss.cc:171:22: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  171 |   assert(targetIndex < targets.size());
      |          ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
3rdParty/fastText/src/loss.cc: In member function ‘virtual fasttext::real fasttext::HierarchicalSoftmaxLoss::forward(const std::vector<int>&, int32_t, fasttext::Model::State&, fasttext::real, bool)’:
3rdParty/fastText/src/loss.cc:257:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  257 |   for (int32_t i = 0; i < pathToRoot.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~~~~
3rdParty/fastText/src/loss.cc: In member function ‘void fasttext::HierarchicalSoftmaxLoss::dfs(int32_t, fasttext::real, int32_t, fasttext::real, fasttext::Predictions&, const fasttext::Vector&) const’:
3rdParty/fastText/src/loss.cc:282:19: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<float, int> >::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
  282 |   if (heap.size() == k && score < heap.front().first) {
      |       ~~~~~~~~~~~~^~~~
3rdParty/fastText/src/loss.cc:289:21: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<float, int> >::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
  289 |     if (heap.size() > k) {
      |         ~~~~~~~~~~~~^~~
3rdParty/fastText/src/fasttext.cc: In member function ‘std::shared_ptr<fasttext::Matrix> fasttext::FastText::getInputMatrixFromFile(const string&) const’:
3rdParty/fastText/src/fasttext.cc:696:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
  696 |   for (size_t i = 0; i < n; i++) {
      |                      ~~^~~
3rdParty/fastText/src/fasttext.cc:701:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
  701 |     for (size_t j = 0; j < dim; j++) {
      |                        ~~^~~~~
3rdParty/fastText/src/fasttext.cc:713:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
  713 |   for (size_t i = 0; i < n; i++) {
      |                      ~~^~~
In file included from 3rdParty/fastText/src/matrix.h:16,
                 from 3rdParty/fastText/src/loss.h:15,
                 from 3rdParty/fastText/src/loss.cc:9:
3rdParty/fastText/src/loss.cc: In member function ‘virtual fasttext::real fasttext::SoftmaxLoss::forward(const std::vector<int>&, int32_t, fasttext::Model::State&, fasttext::real, bool)’:
3rdParty/fastText/src/loss.cc:331:22: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  331 |   assert(targetIndex < targets.size());
      |          ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
3rdParty/fastText/src/fasttext.cc:718:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
  718 |     for (size_t j = 0; j < dim; j++) {
      |                        ~~^~~~~
3rdParty/fastText/src/fasttext.cc: In member function ‘void fasttext::FastText::startThreads(const TrainCallback&)’:
3rdParty/fastText/src/fasttext.cc:803:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  803 |   for (int32_t i = 0; i < threads.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
In file included from out/include/fasttext/matrix.h:16,
                 from out/include/fasttext/densematrix.h:18,
                 from out/include/fasttext/fasttext.h:23,
                 from src/clsFormalityChecker.h:31,
                 from src/clsFormalityChecker.cpp:29:
out/include/fasttext/densematrix.h: In member function ‘const real& fasttext::DenseMatrix::at(int64_t, int64_t) const’:
out/include/fasttext/densematrix.h:48:23: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   48 |     assert(i * n_ + j < data_.size());
      |            ~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from out/include/fasttext/matrix.h:16,
                 from out/include/fasttext/densematrix.h:18,
                 from out/include/fasttext/fasttext.h:23,
                 from out/build/E4MT/E4MT/moc/../../../../../src/clsFormalityChecker.h:31,
                 from out/build/E4MT/E4MT/moc/../../../../../src/appE4MT.h:32,
                 from out/build/E4MT/E4MT/moc/moc_appE4MT.cpp:9:
out/include/fasttext/densematrix.h: In member function ‘const real& fasttext::DenseMatrix::at(int64_t, int64_t) const’:
out/include/fasttext/densematrix.h:48:23: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   48 |     assert(i * n_ + j < data_.size());
      |            ~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from out/include/fasttext/matrix.h:16,
                 from out/include/fasttext/densematrix.h:18,
                 from out/include/fasttext/fasttext.h:23,
                 from src/clsFormalityChecker.h:31,
                 from src/appE4MT.h:32,
                 from src/appE4MT.cpp:28:
out/include/fasttext/densematrix.h: In member function ‘const real& fasttext::DenseMatrix::at(int64_t, int64_t) const’:
out/include/fasttext/densematrix.h:48:23: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   48 |     assert(i * n_ + j < data_.size());
      |            ~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from out/include/fasttext/matrix.h:16,
                 from out/include/fasttext/densematrix.h:18,
                 from out/include/fasttext/fasttext.h:23,
                 from src/clsFormalityChecker.h:31,
                 from src/appE4MT.h:32,
                 from src/main.cpp:30:
out/include/fasttext/densematrix.h: In member function ‘const real& fasttext::DenseMatrix::at(int64_t, int64_t) const’:
out/include/fasttext/densematrix.h:48:23: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   48 |     assert(i * n_ + j < data_.size());
      |            ~~~~~~~~~~~^~~~~~~~~~~~~~
g++ -Wl,-O1 -o out/bin/E4MT out/build/E4MT/E4MT/obj/main.o out/build/E4MT/E4MT/obj/appE4MT.o out/build/E4MT/E4MT/obj/Configs.o out/build/E4MT/E4MT/obj/XMLReader.o out/build/E4MT/E4MT/obj/args.o out/build/E4MT/E4MT/obj/autotune.o out/build/E4MT/E4MT/obj/densematrix.o out/build/E4MT/E4MT/obj/dictionary.o out/build/E4MT/E4MT/obj/fasttext.o out/build/E4MT/E4MT/obj/loss.o out/build/E4MT/E4MT/obj/matrix.o out/build/E4MT/E4MT/obj/meter.o out/build/E4MT/E4MT/obj/model.o out/build/E4MT/E4MT/obj/productquantizer.o out/build/E4MT/E4MT/obj/quantmatrix.o out/build/E4MT/E4MT/obj/utils.o out/build/E4MT/E4MT/obj/vector.o out/build/E4MT/E4MT/obj/clsFormalityChecker.o out/build/E4MT/E4MT/obj/moc_appE4MT.o   -L/home/mmg/EngineerZone/Targoman/E4MT/out/lib64 -L/home/mmg/EngineerZone/Targoman/E4MT/out/lib -L~/local/lib64 -L~/local/lib -L/root/local/lib -L/root/local/lib64 -L/usr/lib -L/usr/lib64 -L/usr/local/lib -L/usr/local/lib64 -L/lib/x86_64-linux-gnu -lz -lTargomanCommon -lTargomanTextProcessor -lxml2 -lQJsonRPC /usr/lib/x86_64-linux-gnu/libQt5Network.so /usr/lib/x86_64-linux-gnu/libQt5Core.so -lpthread 
@ziabary
Copy link
Member

ziabary commented Nov 14, 2023

There is no error in the attached log. Just warnings related to compilation of fasttext code, which has been published by Facebook and has too many bugs and warnings.

@gholamrezaeipt
Copy link
Author

gholamrezaeipt commented Nov 15, 2023

Thanks, It's worked, how to use it as server? i tried this command

$E4MTBinPath/E4MT -m Server -c E4MT/scripts/E4MT.server.conf

and server started on port 10000 but the curl output is:

curl --location --request GET 'http://127.0.0.1:10000'
curl: (1) Received HTTP/0.9 when not allowed

UPDATE: The issue solved by setting http version in curl, example:

 curl --location --request GET 'http://127.0.0.1:10000' --http0.9

what is the problem? i could not find how to use E4MT as server and work with REST API

Curl Examples that has error:

curl --location --request GET 'http://127.0.0.1:10000' --http0.9
{"e":{"q":"","c":6,"s":"6:illegal value: 1 >;exJSONConversationProtocol"}}


curl --location --request POST 'http://127.0.0.1:10000' \
> --header 'Content-Type: application/json' \
> --data-raw '{
>     "r": {
>         "login": [
>             "mehran",
>             "1"
>         ]
>     }
> }' --http0.9
{"e":{"q":"","c":6,"s":"6:illegal value: 1 >;exJSONConversationProtocol"}}

@ziabary
Copy link
Member

ziabary commented Nov 17, 2023

Server mode provides JSON-RPC not REST so in order to communicate you must use raw sockets and RPC calls as described in JSON-RPC. Sample API calls are provided here

@ziabary
Copy link
Member

ziabary commented Nov 17, 2023

Also you must create a passwd file in order to store ACL using [tsapasswd] (https://github.com/Targoman/TargomanCommon/tree/fdd096ce983301275a7ad1ee163c102b1ca51ae2/apps/tsapasswd)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants