aspire-fp7 / framework

The central ASPIRE framework repository, start here if you want to use our tools (this contains all tools and documentation)
Other
12 stars 5 forks source link

Issue with compiling software, developed with Qt #1

Open m2coyote opened 5 years ago

m2coyote commented 5 years ago

Hello Thanks for the great framework. I want to use ASPIRE for protecting my software, but before I do it, I thought I should try it on much simpler version, but I failed in compiling and getting results. The errors that I get are these " . SLP04_MERGE merge
into /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/D01/annotations.json . LINK link /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/main.cpp.o /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o /opt/diablo/obj/printarm_linux.o into /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC02/sampleOpenCV

/opt/diablo-gcc-toolchain/bin/arm-diablo-linux-gnueabi-gcc /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/main.cpp.o /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o /opt/diablo/obj/printarm_linux.o -Os -Wl,--fix-cortex-a8 -Wl,--hash-style=sysv -Wl,--no-demangle -Wl,--no-merge-exidx-entries -Wl,--no-undefined -fPIC -g -lc -marm -mcpu=cortex-a8 -msoft-float -g -ldl -mfloat-abi=softfp -msoft-float -mfpu=neon -Wl,-Map,/projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC02/sampleOpenCV.map -lpthread -o /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC02/sampleOpenCV

/projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/main.cpp.o: In function main': /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/main.cpp:6: undefined reference to_ZN12QApplicationC1ERiPPci' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/main.cpp:8: undefined reference to _ZN7QWidget4showEv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/main.cpp:10: undefined reference to_ZN12QApplication4execEv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/main.cpp:10: undefined reference to _ZN12QApplicationD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/main.cpp:10: undefined reference to_ZN12QApplicationD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/main.cpp:10: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/main.cpp.o:(.ARM.extab+0x0): undefined reference togxx_personality_v0' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function _ZN10MainWindowC2EP7QWidget': /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:13: undefined reference to_ZN11QMainWindowC2EP7QWidget6QFlagsIN2Qt10WindowTypeEE' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:13: undefined reference to _Znwj' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:20: undefined reference to_ZN7QPixmapC1ERK7QStringPKc6QFlagsIN2Qt19ImageConversionFlagEE' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:21: undefined reference to _ZN6QLabel9setPixmapERK7QPixmap' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:21: undefined reference to_ZN7QPixmapD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:20: undefined reference to _ZN7QPixmapD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:22: undefined reference to__cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:21: undefined reference to _ZN7QPixmapD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:20: undefined reference to_ZN7QPixmapD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:13: undefined reference to _ZN11QMainWindowD2Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:13: undefined reference tocxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:22: undefined reference to _ZTV10MainWindow' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function_ZN10MainWindowD2Ev': /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:26: undefined reference to _ZdlPv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:27: undefined reference to_ZN11QMainWindowD2Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:27: undefined reference to _ZdlPv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:27: undefined reference to_ZTV10MainWindow' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function _ZN10MainWindowD0Ev': /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:27: undefined reference to_ZdlPv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function _ZN10MainWindow25on_pushRunProgram_clickedEv': /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:42: undefined reference to_ZN5QFileC1ERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:44: undefined reference to _ZN5QFile4openE6QFlagsIN9QIODevice12OpenModeFlagEE' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:46: undefined reference to_ZNK14QMessageLogger5debugEv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:49: undefined reference to _ZNK5QFile4sizeEv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:51: undefined reference to_ZNK14QMessageLogger5debugEv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:54: undefined reference to _ZNK14QMessageLogger5debugEv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:55: undefined reference to_ZNK5QFile4sizeEv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:55: undefined reference to _ZN11QFileDevice3mapExxNS_14MemoryMapFlagsE' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:59: undefined reference to_ZNK14QMessageLogger5debugEv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:62: undefined reference to _ZNK14QMessageLogger5debugEv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:68: undefined reference to_Znwj' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:68: undefined reference to _ZN8QProcessC1EP7QObject' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:69: undefined reference to_ZN8QProcess13startDetachedERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:78: undefined reference to _ZNK14QMessageLogger5debugEv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:83: undefined reference to_ZN7QPixmapC1ERK7QStringPKc6QFlagsIN2Qt19ImageConversionFlagEE' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:84: undefined reference to _ZN6QLabel9setPixmapERK7QPixmap' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:84: undefined reference to_ZN7QPixmapD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:83: undefined reference to _ZN7QPixmapD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:42: undefined reference to_ZN5QFileD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:68: undefined reference to _ZdlPv' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:84: undefined reference to_ZN7QPixmapD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:83: undefined reference to _ZN7QPixmapD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:42: undefined reference to_ZN5QFileD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/SC12/mainwindow.cpp:85: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function_ZN10QArrayData10sharedNullEv': /projects/actc-demos/QT_OpenCV_Simple/actc/../QtCore/qarraydata.h:124: undefined reference to _ZN10QArrayData11shared_nullE' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function_ZN7QString8fromUtf8EPKci': /projects/actc-demos/QT_OpenCV_Simple/actc/../QtCore/qstring.h:476: undefined reference to _ZN7QString15fromUtf8_helperEPKci' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function_ZN7QStringC2EPKc': /projects/actc-demos/QT_OpenCV_Simple/actc/../QtCore/qstring.h:579: undefined reference to _ZN7QString16fromAscii_helperEPKci' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function_ZNK7QPixmap6scaledEiiN2Qt15AspectRatioModeENS0_18TransformationModeE': /projects/actc-demos/QT_OpenCV_Simple/actc/../QtGui/qpixmap.h:121: undefined reference to _ZNK7QPixmap6scaledERK5QSizeN2Qt15AspectRatioModeENS3_18TransformationModeE' /projects/actc-demos/QT_OpenCV_Simple/actc/../QtGui/qpixmap.h:121: undefined reference tocxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o:(.ARM.extab.text._ZNK7QPixmap6scaledEiiN2Qt15AspectRatioModeENS0_18TransformationModeE[_ZNK7QPixmap6scaledEiiN2Qt15AspectRatioModeENS0_18TransformationModeE]+0x0): undefined reference to __gxx_personality_v0' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function_ZN7QWidget6resizeEii': /projects/actc-demos/QT_OpenCV_Simple/actc/../QtWidgets/qwidget.h:830: undefined reference to _ZN7QWidget6resizeERK5QSize' /projects/actc-demos/QT_OpenCV_Simple/actc/../QtWidgets/qwidget.h:830: undefined reference tocxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o:(.ARM.extab.text._ZN7QWidget6resizeEii[_ZN7QWidget6resizeEii]+0x0): undefined reference to __gxx_personality_v0' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function_ZN13Ui_MainWindow7setupUiEP11QMainWindow': /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:40: undefined reference to _ZNK7QObject10objectNameEv' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:41: undefined reference to_ZN7QObject13setObjectNameERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:43: undefined reference to _Znwj' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:43: undefined reference to_ZN7QWidgetC1EPS_6QFlagsIN2Qt10WindowTypeEE' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:44: undefined reference to _ZN7QObject13setObjectNameERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:45: undefined reference to_Znwj' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:45: undefined reference to _ZN11QPushButtonC1EP7QWidget' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:46: undefined reference to_ZN7QObject13setObjectNameERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:47: undefined reference to _ZN7QWidget11setGeometryERK5QRect' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:48: undefined reference to_Znwj' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:48: undefined reference to _ZN6QLabelC1EP7QWidget6QFlagsIN2Qt10WindowTypeEE' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:49: undefined reference to_ZN7QObject13setObjectNameERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:50: undefined reference to _ZN7QWidget11setGeometryERK5QRect' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:51: undefined reference to_ZN11QMainWindow16setCentralWidgetEP7QWidget' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:52: undefined reference to _Znwj' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:52: undefined reference to_ZN8QMenuBarC1EP7QWidget' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:53: undefined reference to _ZN7QObject13setObjectNameERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:54: undefined reference to_ZN7QWidget11setGeometryERK5QRect' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:55: undefined reference to _ZN11QMainWindow10setMenuBarEP8QMenuBar' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:56: undefined reference to_Znwj' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:56: undefined reference to _ZN8QToolBarC1EP7QWidget' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:57: undefined reference to_ZN7QObject13setObjectNameERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:58: undefined reference to _ZN11QMainWindow10addToolBarEN2Qt11ToolBarAreaEP8QToolBar' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:59: undefined reference to_Znwj' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:59: undefined reference to _ZN10QStatusBarC1EP7QWidget' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:60: undefined reference to_ZN7QObject13setObjectNameERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:61: undefined reference to _ZN11QMainWindow12setStatusBarEP10QStatusBar' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:62: undefined reference to_Znwj' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:62: undefined reference to _ZN8QToolBarC1EP7QWidget' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:63: undefined reference to_ZN7QObject13setObjectNameERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:64: undefined reference to _ZN11QMainWindow10addToolBarEN2Qt11ToolBarAreaEP8QToolBar' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:68: undefined reference to_ZN11QMetaObject18connectSlotsByNameEP7QObject' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:41: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:43: undefined reference to_ZdlPv' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:43: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:44: undefined reference tocxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:45: undefined reference to _ZdlPv' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:45: undefined reference to__cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:46: undefined reference to `cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:46: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:48: undefined reference to_ZdlPv' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:48: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:49: undefined reference tocxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:49: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:52: undefined reference to_ZdlPv' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:52: undefined reference to `cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:53: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:53: undefined reference tocxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:56: undefined reference to _ZdlPv' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:56: undefined reference to__cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:57: undefined reference to `cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:59: undefined reference to _ZdlPv' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:59: undefined reference tocxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:60: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:62: undefined reference to_ZdlPv' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:62: undefined reference to `cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:63: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o:(.ARM.extab.text._ZN13Ui_MainWindow7setupUiEP11QMainWindow[_ZN13Ui_MainWindow7setupUiEP11QMainWindow]+0x0): undefined reference togxx_personality_v0' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function _ZN13Ui_MainWindow13retranslateUiEP11QMainWindow': /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:73: undefined reference to_ZN16QCoreApplication9translateEPKcS1_S1_i' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:73: undefined reference to _ZN7QWidget14setWindowTitleERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:74: undefined reference to_ZN16QCoreApplication9translateEPKcS1_S1_i' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:74: undefined reference to _ZN15QAbstractButton7setTextERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:75: undefined reference to_ZN6QLabel7setTextERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:76: undefined reference to _ZN16QCoreApplication9translateEPKcS1_S1_i' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:76: undefined reference to_ZN7QWidget14setWindowTitleERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:73: undefined reference to `cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:74: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:75: undefined reference tocxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../ui_mainwindow.h:76: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o:(.ARM.extab.text._ZN13Ui_MainWindow13retranslateUiEP11QMainWindow[_ZN13Ui_MainWindow13retranslateUiEP11QMainWindow]+0x0): undefined reference togxx_personality_v0' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function _ZN6QDebug6StreamD2Ev': /projects/actc-demos/QT_OpenCV_Simple/actc/../qdebug.h:63: undefined reference to_ZN11QTextStreamD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/../qdebug.h:63: undefined reference to _ZN11QTextStreamD1Ev' /projects/actc-demos/QT_OpenCV_Simple/actc/../qdebug.h:63: undefined reference tocxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o:(.ARM.extab.text._ZN6QDebug6StreamD2Ev[_ZN6QDebug6StreamD5Ev]+0x0): undefined reference to __gxx_personality_v0' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function_ZN6QDebugD2Ev': /projects/actc-demos/QT_OpenCV_Simple/actc/../qdebug.h:87: undefined reference to _Z17qt_message_output9QtMsgTypeRK18QMessageLogContextRK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../qdebug.h:90: undefined reference to_ZdlPv' /projects/actc-demos/QT_OpenCV_Simple/actc/../qdebug.h:92: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/../qdebug.h:88: undefined reference tocxa_begin_catch' /projects/actc-demos/QT_OpenCV_Simple/actc/../qdebug.h:88: undefined reference to `cxa_end_catch' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o:(.ARM.extab.text._ZN6QDebugD2Ev[_ZN6QDebugD5Ev]+0x0): undefined reference to `gxx_personality_v0' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function .LLSDACSE5566': mainwindow.cpp:(.ARM.extab.text._ZN6QDebugD2Ev[_ZN6QDebugD5Ev]+0x1c): undefined reference to_ZTISt9bad_alloc' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function _ZN6QDebug10maybeSpaceEv': /projects/actc-demos/QT_OpenCV_Simple/actc/../qdebug.h:97: undefined reference to_ZN11QTextStreamlsEc' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function _ZN6QDebuglsEi': /projects/actc-demos/QT_OpenCV_Simple/actc/../qdebug.h:107: undefined reference to_ZN11QTextStreamlsEi' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function _ZN6QDebuglsEPKc': /projects/actc-demos/QT_OpenCV_Simple/actc/../qdebug.h:117: undefined reference to_ZN11QTextStreamlsERK7QString' /projects/actc-demos/QT_OpenCV_Simple/actc/../qdebug.h:117: undefined reference to __cxa_end_cleanup' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o:(.ARM.extab.text._ZN6QDebuglsEPKc[_ZN6QDebuglsEPKc]+0x0): undefined reference togxx_personality_v0' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o:(.ARM.extab+0x0): undefined reference to __gxx_personality_v0' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function.LLSDACSE5614': mainwindow.cpp:(.ARM.extab+0x54): undefined reference to `gxx_personality_v0' /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o: In function _ZN15QTypedArrayDataItE10deallocateEP10QArrayData': /projects/actc-demos/QT_OpenCV_Simple/actc/../QtCore/qarraydata.h:230: undefined reference to_ZN10QArrayData10deallocateEPS_jj' collect2: error: ld returned 1 exit status ######################################## TaskFailed - taskid:LINK:link /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/main.cpp.o /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o /opt/diablo/obj/printarm_linux.o into /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC02/sampleOpenCV Command failed: '/opt/diablo-gcc-toolchain/bin/arm-diablo-linux-gnueabi-gcc /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/main.cpp.o /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC08/mainwindow.cpp.o /opt/diablo/obj/printarm_linux.o -Os -Wl,--fix-cortex-a8 -Wl,--hash-style=sysv -Wl,--no-demangle -Wl,--no-merge-exidx-entries -Wl,--no-undefined -fPIC -g -lc -marm -mcpu=cortex-a8 -msoft-float -g -ldl -mfloat-abi=softfp -msoft-float -mfpu=neon -Wl,-Map,/projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC02/sampleOpenCV.map -lpthread -o /projects/actc-demos/QT_OpenCV_Simple/actc/build/OpenCV_linux/BC02/sampleOpenCV' returned 1 "

Can you help me with it to find the problem?

Thanks in advance

babrath commented 5 years ago

Hi m2coyote,

Could you go into some more detail about what you're trying to do exactly? You're getting a lot of linker errors, probably because your ACTC config file does not correctly describe how to build your binary (even without any protections). You could have missed some dependency or compiler/linker option.

Best regards,

Bert

m2coyote commented 5 years ago

Thanks for your feedback, I have used the copied version of bzip and have changed some values. After getting errors I decided to remove annotations. I attached the config file to this comment, with the txt format. OpenCV_linux (copy).txt Simply I want just some offline protections like code obfuscation, check guards, anti-debugging and that's enough for me.

Best regards,

Milad

Hi m2coyote,

Could you go into some more detail about what you're trying to do exactly? You're getting a lot of linker errors, probably because your ACTC config file does not correctly describe how to build your binary (even without any protections). You could have missed some dependency or compiler/linker option.

Best regards,

Bert