Make sure you're using the same toolchain for tslibs that was used for the 
kernel/rootfs.   all the RCN stuff uses hard float point toolchain.
https://launchpad.net/linaro-toolchain-binaries/trunk/2013.10/+download/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux.tar.xz

I had this problem when I first switched from Angstrom to RCN kernel and 
debian rootfs.  I just continued to use the old toolchain from Angstrom 
without giving it much thought.  




On Saturday, March 1, 2014 11:47:49 AM UTC-5, Franck freedev wrote:
>
> Well I compiled tslib.; but I still have some issue..
>
> I set the environment variable like this:
>
> *export TSLIB_FBDEVICE=/dev/fb0*
>
> *export TSLIB_CONFFILE=/etc/ts.conf*
>
> *export TSLIB_PLUGINDIR=/usr/local/lib/ts*
>
> *export TSLIB_TSDEVICE=/dev/input/event1*
>
>  
>
> I tried also this :
>
> export TSLIB_TSDEVICE=/dev/input/mouse0 (and all others input devices..... 
> )
>
>  
>
> event1 and mouse0 are the two files that output something when I do :
>
> *cat /dev/input/event1*  or *cat /dev/input/mouse0* and I touch the 
> screen.
>
>  
>
> but even if I configure the environment variable like above, I've got this 
> message when I execute ts_calibrate:
>
> *No raw module loaded.*
>
> *ts_config: No such file or directory*
>
>
> have you got an idea? ( in /etc/ts.conf,  the line  *module_raw input *(linux 
> input layer event interface) is not commented..)
>
>
> Le lundi 17 février 2014 14:41:16 UTC+1, Franck freedev a écrit :
>>
>>
>> Hello,
>>
>> I'm trying to cross compile Qt SDK for BBB (with Ubuntu or Debian).
>>
>> I managed to compile it well with -*embedded arm* option  ...
>>
>> But with this option I have to execute my programs with -qws option.. And 
>> I have some issues with the mouse pointer, it doesn't clic where I want and 
>> it move my application windows .. I guess it's because I use a touch screen 
>> and the calibration needs X11 maybe...?? 
>>
>> So I would like to cross compile Qt without the *-embedded arm *option 
>> to support and use X11 .. but I need X11 libs for ARM to do this.. so I 
>> tried a chroot on a minimal arm file system ubuntu on my PC desktop and 
>> link to this librairy in the qmake.conf  and made this:
>>
>>
>> ./configure -opensource -confirm-license -prefix 
>>> /usr/local/Qt-4.8.5-arm-X11 -xplatform linux-arm-gnueabi-g++
>>>
>>
>> But it doesn't work..
>>
>> I've got this error message:
>>
>>  
>>
>> Basic XLib functionality test failed!  
>>>
>> You might need to modify the include and library search paths by editing 
>>>
>>  QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in 
>> /home/franck/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++.
>>  
>>>
>>>
>>
>>  
>>
>> and here is my qmake.conf:
>>
>>     
>>> franck@VB:~/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++$
>>>  
>>> cat qmake.conf   
>>>     #  
>>>     # qmake configuration for building with arm-linux-gnueabi-g++  
>>>     #  
>>>       
>>>     MAKEFILE_GENERATOR      = UNIX  
>>>     TARGET_PLATFORM         = unix  
>>>     TEMPLATE                = app  
>>>     CONFIG                  += qt warn_on release incremental link_prl 
>>> gdb_dwarf_index  
>>>     QT                      += core gui  
>>>     QMAKE_INCREMENTAL_STYLE = sublib  
>>>       
>>>     include(../common/linux.conf)  
>>>     include(../common/gcc-base-unix.conf)  
>>>     include(../common/g++-unix.conf)  
>>>       
>>>     QMAKE_INCDIR_X11       
>>> +=/home/franck/chroot-armhf/fs/usr/include/X11/  
>>>     QMAKE_LIBDIR _X11      
>>> +=/home/franck/chroot-armhf/fs/usr/lib/arm-linux-gnueabihf/  
>>>       
>>>     # modifications to g++.conf  
>>>     QMAKE_CC                = 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-gcc
>>>   
>>>
>>>     QMAKE_CXX               = 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++
>>>   
>>>
>>>     QMAKE_LINK              = 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++
>>>   
>>>
>>>     QMAKE_LINK_SHLIB        = 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++
>>>   
>>>
>>>       
>>>     # modifications to linux.conf  
>>>     QMAKE_AR                = 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-ar
>>>  
>>> cqs  
>>>     QMAKE_OBJCOPY           = 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-objcopy
>>>   
>>>
>>>     QMAKE_STRIP             = 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-strip
>>>   
>>>
>>>       
>>>     load(qt_config)  
>>>
>>
>>
>>
>> So I decided to compile Qt SDK directly in the arm file system "chrooted":
>>
>> I made 
>>
>> ./configure -opensource -confirm-license -prefix 
>>> /usr/local/Qt-4.8.5-arm-X11 -no-qt3support -nomake demos -nomake examples
>>>
>>
>> Now I've got this error message:
>>
>> make[1]: *** [../../lib/libQtCore.so.4.8.5] Error 1
>>> make[1]: Leaving directory 
>>> `/home/ubuntu/qt-everywhere-opensource-src-4.8.5/src/corelib'
>>> make: *** [sub-corelib-make_default-ordered] Error 2
>>>
>>>
>> If someone has an idea.. ^^
>>
>

-- 
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