[Interest] Regarding cross-compilation of a database application for am335x evm board

Jha Sonakumar Sona.Jha at TechMahindra.com
Wed Feb 18 13:43:06 CET 2015


Hi all,

I am able to run a sample database application using sqlite on Desktop.

If i try to cross-compile same code for am335x EVM board ,an error occurs ,which terminates compilation.


Please find the below screenshot :


[linux-devkit]:/home/sona/Desktop/HMIApp> make
arm-linux-gnueabihf-g++ -c -pipe -pipe -pipe  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/sona/TI-SDK-7/linux-devkit/sysroots/cortexa8hf-vfp-neon-3.8-oe-linux-gnueabi  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/sona/TI-SDK-7/linux-devkit/sysroots/cortexa8hf-vfp-neon-3.8-oe-linux-gnueabi -O2 -O2 -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_QWS_CLIENTBLIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../TI-SDK-7/linux-devkit/sysroots/cortexa8hf-vfp-neon-3.8-oe-linux-gnueabi/usr/share/qtopia/mkspecs/linux-g++ -I. -I/home/sona/TI-SDK-7/linux-devkit/sysroots/cortexa8hf-vfp-neon-3.8-oe-linux-gnueabi/usr/include/qtopia/QtCore -I/home/sona/TI-SDK-7/linux-devkit/sysroots/cortexa8hf-vfp-neon-3.8-oe-linux-gnueabi/usr/include/qtopia/QtGui -I/home/sona/TI-SDK-7/linux-devkit/sysroots/cortexa8hf-vfp-neon-3.8-oe-linux-gnueabi/usr/include/qtopia -I. -I. -I. -o datahandler.o datahandler.cpp
In file included from datahandler.h:5:0,
                 from datahandler.cpp:1:
dbmanager.h:5:24: fatal error: QSqlDatabase: No such file or directory
compilation terminated.
make: *** [datahandler.o] Error 1


Best Regards
Sona


============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150218/e9fa8c37/attachment.html>


More information about the Interest mailing list