Hi,
I am trying to setup MIDAS 2.0 build environment in my machine.
I am following the procedures in the link MIDAS_2.0.
http://processors.wiki.ti.com/index.php/MIDAS_Ultrasound_v2.0_Demo#PSP_and_DVSDK.C2.A0Setup
I have completed all the steps except "QT Setup" section.
t Libraries
1. Download the Qt libraries 4.6.2 for embedded Linux from here, save it in ~, and extract the source as: host $ cd ~ host $ gunzip qt-everywhere-opensource-src-4.6.2.tar.gz host $ tar xvf qt-everywhere-opensource-src-4.6.2.tar 2. Important: Ensure that Qt uses the host g++ for compiling the Qt libraries. To do this, check your ~/.bashrc file to ensure that CC, CXX variables are not set for cross-compile, i.e. comment any custom definitions as below if present by adding the # sign, as: #export CC=~/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-gcc #export CXX=~/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-g++ Run the following command to reset paths. host $ source ~/.bashrc It is recommended that you close this command window and open a new one before proceeding to ensure environment variables have been picked up. 3. Edit ~/qt-everywhere-opensource-src-4.6.2/mkspecs/common/linux.conf and add the “-lts” option to QMAKE_LIBS_THREAD as: QMAKE_LIBS_THREAD = -lpthread -lts 4. Create an omap3 qmake configuration as follows: host $ cd ~/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/ host $ cp -r ./linux-arm-g++ ./linux-omap3-g++ host $ gedit ./linux-omap3-g++/qmake.conf Replace the text in qmake.conf with the following. Make sure to change <username> as per your host: # qmake configuration for building with arm-linux-g++ include(../../common/g++.conf) include(../../common/linux.conf) include(../../common/qws.conf) # modifications to g++.conf # To include ts-lib QMAKE_INCDIR += /home/<username>/workdir/filesys/include QMAKE_LIBDIR += /home/<username>/workdir/filesys/lib #Compiler Flags to take advantage of the ARM architecture QMAKE_CFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp QMAKE_CXXFLAGS_RELEASE= -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp QMAKE_CC = arm-none-linux-gnueabi-gcc QMAKE_CXX = arm-none-linux-gnueabi-g++ QMAKE_LINK = arm-none-linux-gnueabi-g++ QMAKE_LINK_SHLIB = arm-none-linux-gnueabi-g++ # modifications to linux.conf QMAKE_AR = arm-none-linux-gnueabi-ar cqs QMAKE_OBJCOPY = arm-none-linux-gnueabi-objcopy QMAKE_STRIP = arm-none-linux-gnueabi-strip load(qt_config) 5. Configure qmake and build Qt libraries.
|
I'm trying this command
host $ ./configure -prefix /opt/qt -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-omap3-g++ -depths 16,24,32 \
-no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc \
-qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -qt-mouse-tslib
blow the error message.
won@ubuntu:~/qt-everywhere-opensource-src-4.6.4$ ./configure -prefix /opt/qt -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-omap3-g++ -depths 16,24,32 \
|
How can I correct this error.
Please share your thoughts on this issue.
Thanks in advance,