[yocto] QtCreator +CMake + meta-toolchain-qt5
Mauro Ziliani
mauro at faresoftware.it
Sun Mar 3 07:53:38 PST 2019
Hi all.
I'd like to use QtCreator to debug the directly in final system.
My project is generated with CMake, under Debian 9.7 amd64
I try every tutorial I found by the behaviour is always the same.
/lib/ld-linux-armhf.so.3: No such file or directory
The entire log is the following.
----- START LOG -----
Running
"/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/cmake
/home/mauro/Sviluppo/myapp/src '-GCodeBlocks - Unix Makefiles'
-DCMAKE_BUILD_TYPE:STRING=Debug
-DCMAKE_CXX_COMPILER:STRING=/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++
-DCMAKE_C_COMPILER:STRING=/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
-DCMAKE_PREFIX_PATH:STRING=/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr
-DQT_QMAKE_EXECUTABLE:STRING=/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake"
in /home/mauro/Sviluppo/myapp/build-src-Qt5_IMX-Debug.
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler:
/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
-- Check for working C compiler:
/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
-- broken
CMake Error at
/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/share/cmake-3.4/Modules/CMakeTestCCompiler.cmake:61
(message):
The C compiler
"/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir:
/home/mauro/Sviluppo/myapp/build-src-Qt5_IMX-Debug/CMakeFiles/CMakeTmp
Run Build
Command:"/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/bin/make"
"cmTC_97b71/fast"
/lib/ld-linux-armhf.so.3: No such file or directory
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:12 (project)
-- Configuring incomplete, errors occurred!
See also
"/home/mauro/Sviluppo/myapp/build-src-Qt5_IMX-Debug/CMakeFiles/CMakeOutput.log".
See also
"/home/mauro/Sviluppo/myapp/build-src-Qt5_IMX-Debug/CMakeFiles/CMakeError.log".
*** cmake process exited with exit code 1.
----- END LOG -----
Any idea?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190303/779efcfa/attachment.html>
More information about the yocto
mailing list