Thanks for all the help Louis. I really appreciate it!

 

As you have probably guessed I am new to cross-compiling J

 

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

 

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

 

I guess I wasn't clear, you need to type 'arm-angstrom-linux-gnueabi-g++ 
--version'. Just typing g++ will use your regular host compiler (not toolchain 
cross compiler)

 

If that gives a valid response, you then need to modify your qmake.conf files 
or configure command line options (depending on Qt version and how you 
configured it) to point to the full binary name, not just g++.

 

>From the error message, I doubt the error is in qabstractanimation.cpp, but 
>you can look around for a local qmake.conf file, for that module, that may be 
>pointing to the wrong g++.

Louis


On Tuesday, January 14, 2014 5:30:22 PM UTC-6, William Pretty Security wrote:

From: [email protected] <javascript:>  
[mailto:[email protected] <javascript:> ] On Behalf Of Louis McCarthy
Sent: Tuesday, January 14, 2014 12:23 PM
To: [email protected] <javascript:> 
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] <javascript:> 

 

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.



No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4259 / Virus Database: 3681/7004 - Release Date: 01/15/14

  _____  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4259 / Virus Database: 3658/6910 - Release Date: 12/11/13
Internal Virus Database is out of date.

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