From: [email protected] [mailto:[email protected]] On 
Behalf Of Louis McCarthy
Sent: Tuesday, January 14, 2014 12:23 PM
To: [email protected]
Subject: Re: [beagleboard] Re: Build a QT/11 application for beagleboard black 
by cross compiling from ubuntu

 

Correction, export PATH=$PATH:/usr/local/angstrom/arm/bin

 

I forgot the last bin.....

On Tuesday, January 14, 2014 11:20:46 AM UTC-6, Louis McCarthy wrote:

Did you install the right toolchain for your host, 32 bit or 64 bit. If 64 bit 
you need to include the ia32-libs (apt-get install).

 

I would also add /usr/local/angstrom/arm/ to your path:

export PATH=$PATH:/usr/local/angstrom/arm

 

Then try the arm-[tab][tab] again.

Here is the result of that:

 

beaglebone@ubuntu:~$  export PATH=$PATH:/usr/local/angstrom/arm/bin

beaglebone@ubuntu:~$ g++ --version

g++ (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1

Copyright (C) 2013 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

Also I put a dash before the “check” by mistake, however the info may be of use:

 

beaglebone@ubuntu:~/qt-4.8.5-beagle$ make -check

make: invalid option -- 'c'

make: invalid option -- 'c'

Usage: make [options] [target] ...

This program built for x86_64-pc-linux-gnu

Report bugs to [email protected]

 

I think there must be a syntax error in qabstractanimation.cpp ?

It is the only code that fails “make check”

 

cd src/corelib/ && make -f Makefile check

make[1]: Entering directory `/home/beaglebone/qt-4.8.5-beagle/src/corelib'

/home/beaglebone/qt-4.8.5-beagle/bin/moc -DQT_SHARED -DQT_BUILD_CORE_LIB 
-DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS 
-DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER 
-DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DHB_EXPORT=Q_CORE_EXPORT 
-DQT_NO_DEBUG -I../../mkspecs/qws/linux-am335x-g++ -I. -I../../include 
-I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal 
-I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 
-I../3rdparty/md4 -I.moc/release-shared-emb-arm animation/qabstractanimation.h 
-o .moc/release-shared-emb-arm/moc_qabstractanimation.cpp

/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -c -pipe 
-fno-exceptions -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon 
-mfloat-abi=softfp -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB 
-DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS 
-DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER 
-DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DHB_EXPORT=Q_CORE_EXPORT 
-DQT_NO_DEBUG -I../../mkspecs/qws/linux-am335x-g++ -I. -I../../include 
-I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal 
-I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 
-I../3rdparty/md4 -I.moc/release-shared-emb-arm -o 
.obj/release-shared-emb-arm/qabstractanimation.o 
animation/qabstractanimation.cpp

 

make[1]: /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++: Command 
not found

make[1]: *** [.obj/release-shared-emb-arm/qabstractanimation.o] Error 127

make[1]: Leaving directory `/home/beaglebone/qt-4.8.5-beagle/src/corelib'

make: *** [sub-corelib-check_ordered] Error 2

 

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to