Forums - Has Anyone Used Hexagon SDK 3.0 on Ubuntu?

9 posts / 0 new
Last post
Has Anyone Used Hexagon SDK 3.0 on Ubuntu?
michael.stewart
Join Date: 8 Dec 15
Posts: 11
Posted: Thu, 2016-07-21 17:29

Has anyone used Hexagon SDK 3.0 on Ubuntu?

I downloaded and installed the Linux version on my Ubuntu but I find that the installation instructions (Hexagon_SDK/3.0/docs/Dependencies_Common.html) diverge from reality when I install Eclipse from the recommended link: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downl... (Juno). There is no tools/eclipse/ide_plugins directory as stated in the installation instructions. It looks like it's in Hexagon_SDK/3.0/tools/hexagon_ide/ide_plugins instead. But when I change the IDE installation script accordingly (python scripts/manage_plugins.py -E tools/eclipse -Z tools/hexagon_ide/ide_plugins/juno/IDE.zip) I get this error:

Traceback (most recent call last):
  File "scripts/manage_plugins.py", line 503, in <module>
    main()
  File "scripts/manage_plugins.py", line 485, in main
    install_plugins(check_eclipse_version())
  File "scripts/manage_plugins.py", line 118, in install_plugins
    java_exe = os.path.join(java_loc, "java")
  File "/usr/lib/python2.7/posixpath.py", line 70, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
 

Is there someone here who has gone through a successful install and knows the trick?

Thanks!

  • Up0
  • Down0
chenna
Join Date: 4 Feb 16
Posts: 54
Posted: Thu, 2016-07-21 22:17

Please run this command 

python scripts/manage_plugins.py -E tools/eclipse -Z tools/hexagon_ide/ide_plugins/juno/IDE.zip -V tools/hexagon_ide/jre/bin

  • Up0
  • Down0
michael.stewart
Join Date: 8 Dec 15
Posts: 11
Posted: Fri, 2016-07-22 13:11

Thanks. I got this message:

~/Qualcomm/Hexagon_SDK/3.0 $ python scripts/manage_plugins.py -E tools/eclipse -Z tools/hexagon_ide/ide_plugins/juno/IDE.zip -V tools/hexagon_ide/jre/bin
Installing from jar:file:/tools/hexagon_ide/ide_plugins/juno/IDE.zip!/
Installing Hexagon plugins...
Please wait...
Installation failed.

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Unable to load repositories.
Application failed, log file location: /home/citeam/Qualcomm/Hexagon_SDK/3.0/tools/eclipse/configuration/1469217678345.log

Hexagon plugin Installation Done...
You are using the older version of Hexagon, please update the plugins.
 

I'm guessing I need an older version of JRE.

Here's the log file:

!SESSION 2016-07-22 13:01:18.247 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.8.0_31
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.cpp.product -application org.eclipse.equinox.p2.director -repository jar:file:/tools/hexagon_ide/ide_plugins/juno/IDE.zip!/ -installIU com.qualcomm.feature.ide.feature.group,com.qualcomm.feature.ide.hexagon.feature.group,com.qualcomm.feature.ide.hexagon.hlos.interface.feature.group,com.qualcomm.feature.ide.hexagon.opendsp.feature.group,com.qualcomm.hexagon.ra.feature.feature.group
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product -application org.eclipse.equinox.p2.director -repository jar:file:/tools/hexagon_ide/ide_plugins/juno/IDE.zip!/ -installIU com.qualcomm.feature.ide.feature.group,com.qualcomm.feature.ide.hexagon.feature.group,com.qualcomm.feature.ide.hexagon.hlos.interface.feature.group,com.qualcomm.feature.ide.hexagon.opendsp.feature.group,com.qualcomm.hexagon.ra.feature.feature.group

!ENTRY org.eclipse.equinox.p2.artifact.repository 4 1000 2016-07-22 13:01:19.198
!MESSAGE No repository found at jar:file:/tools/hexagon_ide/ide_plugins/juno/IDE.zip!/.

!ENTRY org.eclipse.equinox.p2.metadata.repository 4 1000 2016-07-22 13:01:19.221
!MESSAGE No repository found at jar:file:/tools/hexagon_ide/ide_plugins/juno/IDE.zip!/.

!ENTRY org.eclipse.equinox.p2.core 4 0 2016-07-22 13:01:19.221
!MESSAGE Unable to load repositories.

  • Up0
  • Down0
chenna
Join Date: 4 Feb 16
Posts: 54
Posted: Sat, 2016-07-23 23:34
Please try this 
 
python scripts/manage_plugins.py -E ~/Qualcomm/Hexagon_SDK/3.0/tools/eclipse -Z ~/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide/ide_plugins/juno/IDE.zip -V ~/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide/jre/bin
 
  • Up0
  • Down0
michael.stewart
Join Date: 8 Dec 15
Posts: 11
Posted: Mon, 2016-07-25 11:03

That seems to have done the trick. Thank you very much.

python scripts/manage_plugins.py -E ~/Qualcomm/Hexagon_SDK/3.0/tools/eclipse -Z ~/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide/ide_plugins/juno/IDE.zip -V ~/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide/jre/bin
Installing from jar:file:/home/citeam/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide/ide_plugins/juno/IDE.zip!/
Installing Hexagon plugins...
Please wait...
Installing com.qualcomm.feature.ide.feature.group 2.0.0.201604261051.
Installing com.qualcomm.feature.ide.hexagon.feature.group 2.0.0.201604261051.
Installing com.qualcomm.feature.ide.hexagon.hlos.interface.feature.group 2.0.0.201604261051.
Installing com.qualcomm.feature.ide.hexagon.opendsp.feature.group 2.0.0.201604261051.
Installing com.qualcomm.hexagon.ra.feature.feature.group 1.0.1.5.
Operation completed in 4619 ms.

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

Hexagon plugin Installation Done...
Modifying configuration files....
Modfying configuration files done...
 

  • Up0
  • Down0
amit.makani
Join Date: 15 Nov 16
Location: Bangalore
Posts: 1
Posted: Mon, 2016-11-28 04:10

 

For me there is no "juno/IDE.zip" inside "Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide/ide_plugins/" .

Is there someone here who has gone through a successful install and knows the trick?

Getting below error.

amit@amit-VM:~/Qualcomm/Hexagon_SDK/3.0$ python scripts/manage_plugins.py -E ~/Qualcomm/Hexagon_SDK/3.0/tools/eclipse -Z ~/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide/ide_plugins/juno/IDE.zip -V ~/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide/jre/bin
Not a valid install location: /home/amit/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide/ide_plugins/juno/IDE.zip
 
Thanks!
  • Up0
  • Down0
chennak
Join Date: 22 Sep 16
Posts: 78
Posted: Mon, 2016-11-28 05:05

Can you please go through the installation log at <HEXAGON_SDK_ROOT>/tools/installer_logs/Qualcomm_Hexagon_SDK_3.0_Install_<xx> and provide the error you got

 

  • Up0
  • Down0
amit.makani
Join Date: 28 Nov 16
Location: Bangalore
Posts: 2
Posted: Thu, 2016-12-01 05:08

Below is the logs from log file.

===============================================================

RepositoryManager: Trying fallback repository location...
 
8. final log file name=/home/amit/Qualcomm/Hexagon_SDK/3.0/tools/Installer_logs/Qualcomm_Hexagon_SDK_3.0_Install_11_25_2016_17_38_09.log
installUnixJRE:  the source VM tar: /tmp/install.dir.33720/Linux/resource/vm.tar
    exists = true
installUnixJRE:  the source VMRoot: /tmp/install.dir.33720/Linux/resource/jre
    exists = true
installUnixJRE:  the dest VMRoot: /home/amit/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide/jre
    exists = true
#
# INSTALLING VM: /home/amit/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide/jre
#
 
installUnixJRE: Using new TAR technique...
Destination path for tar extraction (sans 'jre') =
    /home/amit/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide
 
installUnixJRE: install shell script:
#!/bin/sh
echo "InstallUnixJRE Script begun..."
cd '/home/amit/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide/jre'
rm -rf  *''
cd '/home/amit/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide'
tar xf '/tmp/install.dir.33720/Linux/resource/vm.tar'
chmod -R '775' '/home/amit/Qualcomm/Hexagon_SDK/3.0/tools/hexagon_ide/jre'
echo "...InstallUnixJRE Script complete."
##### SCRIPT END ############
 
Downloading and installing files ... This will take several minutes depending on your internet connection speed. Please wait...
local:
Installer Mode SILENT
$DOWNLOAD_ECLIPSE$ false
$DOWNLOAD_ANDROID$false
$DOWNLOAD_TOOLS$ true
/home/amit/Qualcomm/Hexagon_SDK/3.0/tools/android-ndk-r10d: NOT found
/home/amit/Qualcomm/Hexagon_SDK/3.0/tools/eclipse/eclipse: NOT found
/home/amit/Qualcomm/HEXAGON_Tools/7.2.12: found
Url list size  : 0
FileName :libusb-1.0.so
target = /tmp/120727.tmp//libusb-1.0.so
downloading is done for : /tmp/120727.tmp//libusb-1.0.so
Creating thread to run: cp /tmp/120727.tmp//libusb-1.0.so /home/amit/Qualcomm/Hexagon_SDK/3.0/tools/libusb
Done.
Running mode option : 
Downloading Threads completed their execution
 
Installing Hexagon Tools
Creating thread to run: chmod 755 /home/amit/Qualcomm/Hexagon_SDK/3.0/Hexagon.LLVM_linux_installer_7.2.12.bin
Done.
Creating thread to run: /home/amit/Qualcomm/Hexagon_SDK/3.0/Hexagon.LLVM_linux_installer_7.2.12.bin -i silent -DUSER_INSTALL_DIR=/home/amit/Qualcomm/HEXAGON_Tools/7.2.12 -f /home/amit/Qualcomm/Hexagon_SDK/3.0/HEXAGON_Tools_linux_online_installer.properties
Done.
 
Completed the installation of Hexagon Tools
Install status :true
Successfully completed download and extraction
XMLScriptWriter: No Installation Objects were skipped
Retrying Installables deferred in pass 0
Deferral retries done because: 
There were no deferrals in the last pass.
8. final log file name=/home/amit/Qualcomm/Hexagon_SDK/3.0/tools/Installer_logs/Qualcomm_Hexagon_SDK_3.0_Install_11_25_2016_17_38_09.log
====================STDOUT ENTRIES==================
 
  • Up0
  • Down0
chennak
Join Date: 22 Sep 16
Posts: 78
Posted: Thu, 2016-12-01 08:23

I am not sure why the $DOWNLOAD_ECLIPSE$ , $DOWNLOAD_ANDROID$ showsing as false

they should be true by default unless you set them to false in installer.properties file in your current directory. 

how are you running the installer ? I guess you are using silent mode, please run it as 

./qualcomm_hexagon_sdk_3_0_eval.bin -i silent

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.