Thanks John, I'll try that.

 

In the mean time, the instructions I was following were:
http://www.cloud-rocket.com/2013/07/building-qt-for-beaglebone/

 

If that helps any ??

 

Also I used "apt-get install g++" to install g++ on my desktop (development)
system.

That was probably a mistake L

 

Bill

 

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

 

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

 

 

From: William Pretty Security <[email protected]>
Reply-To: <[email protected]>
Date: Monday, January 13, 2014 at 8:21 PM
To: <[email protected]>
Subject: RE: [beagleboard] Re: Build a QT/11 application for beagleboard
black by cross compiling from ubuntu

 

 

 

Hi William,

 

If you run the following command, what do you get:

 

/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -version

 

>From the above error, g++ is missing.

 

Regards,

John

 

Hi John:

 

When I cut and paste you command into the terminal I get:

 

beaglebone@ubuntu:~$
/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -version

bash: /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++: No such
file or directory

 

If I simply enter: 

beaglebone@ubuntu:~$ g++ -version

 

I get:

 

g++: error: unrecognized command line option '-version'

g++: fatal error: no input files

compilation terminated.

 

 

However, when I got to:
/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin

I see the following:

 

beaglebone@ubuntu:/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin$ ls
-l

total 172

lrwxrwxrwx 1 root root    46 Mar 18  2011 addr2line ->
../../bin/arm-angstrom-linux-gnueabi-addr2line

lrwxrwxrwx 1 root root    39 Mar 18  2011 ar ->
../../bin/arm-angstrom-linux-gnueabi-ar

lrwxrwxrwx 1 root root    39 Mar 18  2011 as ->
../../bin/arm-angstrom-linux-gnueabi-as

lrwxrwxrwx 1 root root    40 Mar 18  2011 cc ->
../../bin/arm-angstrom-linux-gnueabi-gcc

lrwxrwxrwx 1 root root    44 Mar 18  2011 c++filt ->
../../bin/arm-angstrom-linux-gnueabi-c++filt

lrwxrwxrwx 1 root root    40 Mar 18  2011 cpp ->
../../bin/arm-angstrom-linux-gnueabi-cpp

-rwxr-xr-x 1 root root  4328 Mar 16  2011 dmesg.util-linux-ng

lrwxrwxrwx 1 root root    40 Mar 18  2011 g++ ->
../../bin/arm-angstrom-linux-gnueabi-g++

lrwxrwxrwx 1 root root    40 Mar 18  2011 gcc ->
../../bin/arm-angstrom-linux-gnueabi-gcc

lrwxrwxrwx 1 root root    43 Mar 18  2011 gccbug ->
../../bin/arm-angstrom-linux-gnueabi-gccbug

lrwxrwxrwx 1 root root    41 Mar 18  2011 gcov ->
../../bin/arm-angstrom-linux-gnueabi-gcov

lrwxrwxrwx 1 root root    45 Mar 18  2011 gfortran ->
../../bin/arm-angstrom-linux-gnueabi-gfortran

lrwxrwxrwx 1 root root    42 Mar 18  2011 gprof ->
../../bin/arm-angstrom-linux-gnueabi-gprof

-rwxr-xr-x 1 root root  7660 Mar 16  2011 kill.util-linux-ng

lrwxrwxrwx 1 root root    39 Mar 18  2011 ld ->
../../bin/arm-angstrom-linux-gnueabi-ld

-rwxr-xr-x 1 root root 18964 Mar 16  2011 login.util-linux-ng

-rwxr-xr-x 1 root root 30660 Mar 16  2011 more.util-linux-ng

-rwsr-xr-x 1 root root 58400 Mar 16  2011 mount.util-linux-ng

lrwxrwxrwx 1 root root    39 Mar 18  2011 nm ->
../../bin/arm-angstrom-linux-gnueabi-nm

lrwxrwxrwx 1 root root    44 Mar 18  2011 objcopy ->
../../bin/arm-angstrom-linux-gnueabi-objcopy

lrwxrwxrwx 1 root root    44 Mar 18  2011 objdump ->
../../bin/arm-angstrom-linux-gnueabi-objdump

lrwxrwxrwx 1 root root    43 Mar 18  2011 ranlib ->
../../bin/arm-angstrom-linux-gnueabi-ranlib

lrwxrwxrwx 1 root root    44 Mar 18  2011 readelf ->
../../bin/arm-angstrom-linux-gnueabi-readelf

lrwxrwxrwx 1 root root    41 Mar 18  2011 size ->
../../bin/arm-angstrom-linux-gnueabi-size

lrwxrwxrwx 1 root root    44 Mar 18  2011 strings ->
../../bin/arm-angstrom-linux-gnueabi-strings

lrwxrwxrwx 1 root root    42 Mar 18  2011 strip ->
../../bin/arm-angstrom-linux-gnueabi-strip

-rwsr-xr-x 1 root root 35560 Mar 16  2011 umount.util-linux-ng

-rwxr-xr-x 1 root root  4202 Mar 16  2011 usb-devices

 

 

Should there be two " - - " dashes ? Or did something go wrong with
./configure ?

Yeah, there are two dashes before version. The g++ in that folder is just a
symbolic link to another file which is two directories down in the bin
folder. Does this file exist relative to the original folder:

../../bin/arm-angstrom-linux-gnueabi-g++

Which I believe is this file:

/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++

Does this file exist? My guess is it doesn't exist. 

 

Clearly you do have a g++ on your system, but that would be the native x86
g++, and not the cross compile g++. 

 

Try typing arm- and then hit the tab twice (autocomplete) to see if you have
any arm cross compiler installed on your system. 

 

Regards,

John

 

 

Bill

-- 
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: 3658/6910 - Release Date: 12/11/13
Internal Virus Database is out of date.

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

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

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