Hi, I'm chul.
I have configuration error at MIDAS Ultrasound v2.0 Demo step QT Libraries setup.
First, I try follow website as blow.
Qt 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. host $ cd ~/qt-everywhere-opensource-src-4.6.2 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 host $ make host $ make install INSTALL_ROOT=/home/<username>/workdir/filesys |
I input command won@ubuntu:~/qt-everywhere-opensource-src-4.6.2$ ./configure -prefix /opt/qt ~ .
and I get error message.
I analyzed the error message and I found that source code compiled /toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-gcc.
So, I made sure .bashrc and closed terminal.
I opened terminal and input command won@ubuntu ~ $ source .bashrc.
And I input command won@ubuntu:~/qt-everywhere-opensource-src-4.6.2$ make confclean.
But return stop message.
The message is " make: *** No rule to make target `confclean'. Stop. "
So. I input command won@ubuntu:~/qt-everywhere-opensource-src-4.6.2/qmake$ rm *.o
and won@ubuntu:~/qt-everywhere-opensource-src-4.6.2/qmake$ make clean .
I try configure again.
won@ubuntu:~/qt-everywhere-opensource-src-4.6.2$ ./configure -prefix /opt/qt ~ .
The result is the following message.
won@ubuntu:~/qt-everywhere-opensource-src-4.6.2$ ./configure -prefix /opt/qt -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-omap3-g++ -depths 16,24,32 \ |
I have identified QMAKE_INCDIR and QMAKE_LIBDIR.
QMAKE_INCDIR += /home/won/workdir/filesys/include
QMAKE_LIBDIR += /home/won/workdir/filesys/lib
I would like to know the solution to this problem.
Please, Help me.