|
发表于 2022-2-11 10:42:16
只看该作者
8#
本帖最后由 李南 于 2022-2-11 10:44 编辑
打印有点长,命令和对应的打印如下:
root@b74f37100b29:/home/nan/myFile/Projects/Hongruan/cs_rx_cam_arc/server_rv1126# /home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/bin/qmake ./
root@b74f37100b29:/home/nan/myFile/Projects/Hongruan/cs_rx_cam_arc/server_rv1126# make
/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/bin/uic MainWindow.ui -o ui_MainWindow.h
/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DUSE_UPDATEENGINE=ON -DSUCCESSFUL_BOOT=ON --sysroot=/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DBUILDROOT -DRV1126 -DCONFIG_CTRL_IFACE_UNIX -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I-L/home/nan/myFile/Projects/Hongruan/cs_rx_cam_arc/server_rv1126/inc -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5 -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtWidgets -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtNetwork -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore -I. -I. -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/mkspecs/devices/linux-buildroot-g++ -o main.o main.cpp
/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DUSE_UPDATEENGINE=ON -DSUCCESSFUL_BOOT=ON --sysroot=/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DBUILDROOT -DRV1126 -DCONFIG_CTRL_IFACE_UNIX -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I-L/home/nan/myFile/Projects/Hongruan/cs_rx_cam_arc/server_rv1126/inc -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5 -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtWidgets -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtNetwork -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore -I. -I. -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/mkspecs/devices/linux-buildroot-g++ -o MainWindow.o MainWindow.cpp
In file included from MainWindow.cpp:1:0:
MainWindow.h: In constructor 'MainWindow::MainWindow(QWidget*)':
MainWindow.h:62:17: warning: 'MainWindow::fileSocket' will be initialized after [-Wreorder]
QTcpSocket *fileSocket; //TCP文件套接字
^~~~~~~~~~
MainWindow.h:58:12: warning: 'qint64 MainWindow::receiveFileSize' [-Wreorder]
qint64 receiveFileSize; //接收的文件大小
^~~~~~~~~~~~~~~
MainWindow.cpp:32:1: warning: when initialized here [-Wreorder]
MainWindow::MainWindow(QWidget *parent) :
^~~~~~~~~~
In file included from MainWindow.cpp:1:0:
MainWindow.h:60:12: warning: 'MainWindow::receiveFileBytesReceived' will be initialized after [-Wreorder]
qint64 receiveFileBytesReceived;
^~~~~~~~~~~~~~~~~~~~~~~~
MainWindow.h:52:12: warning: 'qint64 MainWindow::blockSize' [-Wreorder]
qint64 blockSize; //每次读取文件数据块大小
^~~~~~~~~
MainWindow.cpp:32:1: warning: when initialized here [-Wreorder]
MainWindow::MainWindow(QWidget *parent) :
^~~~~~~~~~
In file included from MainWindow.cpp:1:0:
MainWindow.h:52:12: warning: 'MainWindow::blockSize' will be initialized after [-Wreorder]
qint64 blockSize; //每次读取文件数据块大小
^~~~~~~~~
MainWindow.h:47:12: warning: 'qint64 MainWindow::currentFileSize' [-Wreorder]
qint64 currentFileSize; //当前文件大小
^~~~~~~~~~~~~~~
MainWindow.cpp:32:1: warning: when initialized here [-Wreorder]
MainWindow::MainWindow(QWidget *parent) :
^~~~~~~~~~
In file included from MainWindow.cpp:1:0:
MainWindow.h:50:12: warning: 'MainWindow::totalFileBytesWritten' will be initialized after [-Wreorder]
qint64 totalFileBytesWritten; //所有文件已写入字节数
^~~~~~~~~~~~~~~~~~~~~
MainWindow.h:48:12: warning: 'qint64 MainWindow::totalFileSize' [-Wreorder]
qint64 totalFileSize; //所有文件大小
^~~~~~~~~~~~~
MainWindow.cpp:32:1: warning: when initialized here [-Wreorder]
MainWindow::MainWindow(QWidget *parent) :
^~~~~~~~~~
MainWindow.cpp: In member function 'void MainWindow::onCmdSocketBytesWritten(const qint64&)':
MainWindow.cpp:349:56: warning: unused parameter 'bytes' [-Wunused-parameter]
void MainWindow::onCmdSocketBytesWritten(const qint64 &bytes)
^~~~~
In file included from MainWindow.cpp:3:0:
register.h: At global scope:
register.h:60:12: warning: 'int load_cfg(const char*)' declared 'static' but never defined [-Wunused-function]
static int load_cfg(const char *cfg_file);
^~~~~~~~
/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DUSE_UPDATEENGINE=ON -DSUCCESSFUL_BOOT=ON --sysroot=/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DBUILDROOT -DRV1126 -DCONFIG_CTRL_IFACE_UNIX -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I-L/home/nan/myFile/Projects/Hongruan/cs_rx_cam_arc/server_rv1126/inc -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5 -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtWidgets -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtNetwork -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore -I. -I. -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/mkspecs/devices/linux-buildroot-g++ -o register.o register.cpp
register.cpp: In function 'int compare(int, const unsigned char*, const unsigned char*, const void*, int, void*)':
register.cpp:27:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
register.cpp:8:44: warning: unused parameter 'name' [-Wunused-parameter]
int compare(int id , const unsigned char * name, const unsigned char * path, const void * feature,int len,void * data) {
^~~~
register.cpp:8:72: warning: unused parameter 'path' [-Wunused-parameter]
int compare(int id , const unsigned char * name, const unsigned char * path, const void * feature,int len,void * data) {
^~~~
register.cpp: In function 'void printSDKInfo()':
register.cpp:90:49: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'MRESULT {aka long int}' [-Wformat=]
printf("ASFOnlineActivation failed: %x\n", res);
^
register.cpp:92:47: warning: ISO C++ forbids converting a string constant to 'MPChar {aka char*}' [-Wwrite-strings]
res = ASFOfflineActivation("ArcFacePro32.dat");
^
register.cpp:94:50: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'MRESULT {aka long int}' [-Wformat=]
printf("ASFOfflineActivation failed: %x\n", res);
^
register.cpp: In function 'int startReister(int, char**)':
register.cpp:117:43: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'MRESULT {aka long int}' [-Wformat=]
printf("ASFInitEngine failed: %x\n", res);
^
register.cpp:121:22: warning: missing initializer for member 'sqldata::name' [-Wmissing-field-initializers]
sqldata data = { -1 };
^
register.cpp:121:22: warning: missing initializer for member 'sqldata::imgpath' [-Wmissing-field-initializers]
register.cpp:121:22: warning: missing initializer for member 'sqldata::data' [-Wmissing-field-initializers]
register.cpp:151:32: warning: missing initializer for member '__tag_ASVL_OFFSCREEN::i32Width' [-Wmissing-field-initializers]
ASVLOFFSCREEN offscreen1 = {0};
^
register.cpp:151:32: warning: missing initializer for member '__tag_ASVL_OFFSCREEN::i32Height' [-Wmissing-field-initializers]
register.cpp:151:32: warning: missing initializer for member '__tag_ASVL_OFFSCREEN::ppu8Plane' [-Wmissing-field-initializers]
register.cpp:151:32: warning: missing initializer for member '__tag_ASVL_OFFSCREEN::pi32Pitch' [-Wmissing-field-initializers]
register.cpp:154:40: warning: missing initializer for member 'ASF_MultiFaceInfo::faceOrient' [-Wmissing-field-initializers]
ASF_MultiFaceInfo detectedFaces1 = {0};
^
register.cpp:154:40: warning: missing initializer for member 'ASF_MultiFaceInfo::faceNum' [-Wmissing-field-initializers]
register.cpp:154:40: warning: missing initializer for member 'ASF_MultiFaceInfo::faceID' [-Wmissing-field-initializers]
register.cpp:154:40: warning: missing initializer for member 'ASF_MultiFaceInfo::wear_glasses' [-Wmissing-field-initializers]
register.cpp:154:40: warning: missing initializer for member 'ASF_MultiFaceInfo::left_eye_closed' [-Wmissing-field-initializers]
register.cpp:154:40: warning: missing initializer for member 'ASF_MultiFaceInfo::right_eye_closed' [-Wmissing-field-initializers]
register.cpp:155:46: warning: missing initializer for member '__tag_rect::top' [-Wmissing-field-initializers]
ASF_SingleFaceInfo SingleDetectedFaces = {0};
^
register.cpp:155:46: warning: missing initializer for member '__tag_rect::right' [-Wmissing-field-initializers]
register.cpp:155:46: warning: missing initializer for member '__tag_rect::bottom' [-Wmissing-field-initializers]
register.cpp:155:46: warning: missing initializer for member 'ASF_SingleFaceInfo::faceOrient' [-Wmissing-field-initializers]
register.cpp:156:32: warning: missing initializer for member 'ASF_FaceFeature::featureSize' [-Wmissing-field-initializers]
ASF_FaceFeature feature1 = {0};
^
register.cpp:160:68: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'MRESULT {aka long int}' [-Wformat=]
printf("%s ASFDetectFaces 1 failed: %x\n", argv, res);
^
register.cpp:170:81: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'MRESULT {aka long int}' [-Wformat=]
printf("%s ASFFaceFeatureExtractEx 1 failed: %x\n", argv, res);
^
register.cpp:174:83: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'MRESULT {aka long int}' [-Wformat=]
printf("%s ASFFaceFeatureExtractEx 1 sucessed: %x\n", argv, res);
^
register.cpp:218:45: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'MRESULT {aka long int}' [-Wformat=]
printf("ASFUninitEngine failed: %x\n", res);
^
/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DUSE_UPDATEENGINE=ON -DSUCCESSFUL_BOOT=ON --sysroot=/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot -std=gnu++11 -Wall -W -dM -E -o moc_predefs.h ../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/mkspecs/features/data/dummy.cpp
/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/bin/moc -DQT_DEPRECATED_WARNINGS -DBUILDROOT -DRV1126 -DCONFIG_CTRL_IFACE_UNIX -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/mkspecs/devices/linux-buildroot-g++ -I/home/nan/myFile/Projects/Hongruan/cs_rx_cam_arc/server_rv1126 -I/home/nan/myFile/Projects/Hongruan/cs_rx_cam_arc/server_rv1126/-L/home/nan/myFile/Projects/Hongruan/cs_rx_cam_arc/server_rv1126/inc -I/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5 -I/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtWidgets -I/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui -I/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtNetwork -I/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore -I/usr/include/c++/5 -I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward -I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include MainWindow.h -o moc_MainWindow.cpp
/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DUSE_UPDATEENGINE=ON -DSUCCESSFUL_BOOT=ON --sysroot=/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DBUILDROOT -DRV1126 -DCONFIG_CTRL_IFACE_UNIX -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I-L/home/nan/myFile/Projects/Hongruan/cs_rx_cam_arc/server_rv1126/inc -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5 -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtWidgets -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtNetwork -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore -I. -I. -I../../rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/mkspecs/devices/linux-buildroot-g++ -o moc_MainWindow.o moc_MainWindow.cpp
/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ --sysroot=/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot -Wl,-O1 -o server_rv1126 main.o MainWindow.o register.o moc_MainWindow.o -L/home/nan/myFile/Projects/Hongruan/cs_rx_cam_arc/server_rv1126/lib -lstdc++ -larcsoft_face_engine -larcsoft_face -lffsqlite -lsqlite3 -lopencv_core -lopencv_highgui -lopencv_imgcodecs -lopencv_imgproc -L/home/nan/myFile/Projects/Hongruan/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib -lQt5Widgets -lQt5Gui -lQt5Network -lQt5Core -lrt -ldl -latomic -lpthread |
|