Unsolved Cross compile Marble for xilinx arm zynq
-
Hi,
I am trying to cross compile Marble map application using CMake for Zynq.
My Host is UBUNTU 14.04
As Marble source code depend upon Qt .So i first cross compile Qt4 .
when i run Cmake(Version 3.4.1) command with this toolchain.cmake file.
//------------------------------------------------------------
#Mytoolcahin.cmake
SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_VERSION 1)
SET(CMAKE_C_COMPILER /opt/Xilinx/SDK/2015.1/gnu/arm/lin/bin/arm-xilinx-linux-gnueabi-gcc)
SET(CMAKE_CXX_COMPILER /opt/Xilinx/SDK/2015.1/gnu/arm/lin/bin/arm-xilinx-linux-gnueabi-g++)
SET(CMAKE_FIND_ROOT_PATH /usr/local/Trolltech/QtEmbedded-4.8.1-arm/)
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
//------------------------------------------------------------
I get the following errors.
can not found QTWEBKIT , QTDECLARATIVE , QTDBUS.
//-------------------------------------
i have also tried with Qt5.4
with Qt5.4 i got different error which is .
CMake Error at MarbleMacros.cmake:23 (qt5_add_resources): Unknown CMake command "qt5_add_resources".
//-------------------------------------Can anybody plz help ?
Regards,
Junaid -
Hi and welcome to devnet,
From what I can see, you are trying to build a recent version of Marble which is Qt 5 based against an old Qt 4 version.
-
@SGaist said in Cross compile Marble for xilinx arm zynq:
you are trying to build a recent version of Marble which is Qt 5 based against an old Qt 4 version.
Thanx for your reply.
As i mentioned I have tried both.- With Qt4 i tried "marble-15.04.3"
- With Qt5.4 i tried the latest marble version.
both efforts failed.
-
What version of CMake are you using ?
-
Thank again for reply.
CMake 3.4.1 -
I'd start by updating your cmake version.