Hi,

I want to build Qt app that have to run with the 4D-Touch screen cape from 
4D system.


   - I've followed the instructions from  the Debian installation 
tutorial<http://eewiki.net/display/linuxonarm/BeagleBone+Black> which 
   let me successfully start the BBB.
   
uname -a : Linux arm 3.8.13-bone28 #1 SMP Sun Oct 13 00:07:57 CEST 2013 
> armv7l GNU/Linux


   - I've then changed the instructions from another tutorial 
<http://www.cloud-rocket.com/2013/07/building-qt-for-beaglebone/> to 
   use the Debian LInaro toolchain with a Qmake.conf :
   

#
>
> # qmake configuration for building with arm-linux-g++
>
> #
>
>
>> include(../../common/linux.conf)
>
> include(../../common/gcc-base-unix.conf)
>
> include(../../common/g++-unix.conf)
>
> include(../../common/qws.conf)
>
>
>> # modifications to g++.conf
>
> #Toolchain
>
>
>>
>> #Compiler Flags to take advantage of the ARM architecture
>
> QMAKE_CFLAGS_RELEASE =   -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon 
>> -mfloat-abi=*hard*
>
> QMAKE_CXXFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon 
>> -mfloat-abi=*hard*
>
>
>> QMAKE_CC = 
>> /home/david/BBb/Debian_eewiki.net/gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux/bin/arm-linux-gnueabihf-gcc
>
> QMAKE_CXX = 
>> /home/david/BBb/Debian_eewiki.net/gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux/bin/arm-linux-gnueabihf-g++
>
> QMAKE_LINK = 
>> /home/david/BBb/Debian_eewiki.net/gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux/bin/arm-linux-gnueabihf-g++
>
> QMAKE_LINK_SHLIB = 
>> /home/david/BBb/Debian_eewiki.net/gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux/bin/arm-linux-gnueabihf-g++
>
>
>> # modifications to linux.conf
>
> QMAKE_AR = 
>> /home/david/BBb/Debian_eewiki.net/gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux/bin/arm-linux-gnueabihf-ar
>>  
>> cqs
>
> QMAKE_OBJCOPY = 
>> /home/david/BBb/Debian_eewiki.net/gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux/bin/arm-linux-gnueabihf-objcopy
>
> QMAKE_STRIP = 
>> /home/david/BBb/Debian_eewiki.net/gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux/bin/arm-linux-gnueabihf-strip
>
>
>> load(qt_config)
>
>
>  
Please note that I've also to change the *softfloat *option to *hard.*
*
*


   - Then I"ve copied the lib to the target
   

scp -r /opt/qt/lib root@192.168.0.32:"/opt/qt"
>


   -  Finally, I've installed Qtcreator and set it to use the Linaro 
   Toolchain and gdb
   
but the executable complains :

./TestBeagle_console: /lib/arm-linux-gnueabihf/libc.so.6: version 
> `GLIBC_2.17' not found (required by /opt/qt/lib/libQtCore.so.4)


 
Whereas I've followed the Qt instructions for Env paths :

>
>> LD_LIBRARY_PATH=/opt/qt/lib:/lib/arm-linux-gnueabihf
>
>
>> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/qt/lib:/lib/arm-linux-gnueabihf
>
>
>
ldd says :

> ./TestBeagle_console: /lib/arm-linux-gnueabihf/libc.so.6: version 
> `GLIBC_2.17' not found (required by /opt/qt/lib/libQtCore.so.4)
>
>         libQtNetwork.so.4 => /opt/qt/lib/libQtNetwork.so.4 (0xb6e2c000)
>         libQtCore.so.4 => /opt/qt/lib/libQtCore.so.4 (0xb6b92000)
>         libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 
> (0xb6b77000)
>         libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 
> (0xb6ac8000)
>         libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6a5d000)
>         libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 
> (0xb6a39000)
>         libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6953000)
>         libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6948000)
>         /lib/ld-linux-armhf.so.3 (0xb6f01000)
>  
>
>
 what did I missed please ?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to