Hello.
I have few question about Hexagon SDK. (Question 2 is more important)
Question 1.
I am currently developing some codes using HVX SDK 3.5.2 on Windows10 system.
I've installed the SDK successfully and tried the HVX intrinsic code, but an error occured.
Actually, there is no error during building, but whenever I tried to run the code with Debug mode, then it prints out the error code below:
==========================================================
'Launching PROJECT_NAME' has encountered a problem.
An internal error occurred during: "Launching PROJECT_NAME".
An internal error occurred during: "Launching PROJECT_NAME".
java.lang.NullPointerException
==========================================================
I've tried to find out more information on google but there was nothing.
What should I do to run the made binary file?
Question 2. (More important)
Now, I am trying to install Hexagon SDK 3.5.2 at my Ubuntu 18.04 LTS PC.
I've downloaded installer and unzipped it. (qualcomm_hexagon_sdk_3_5_2_eval.bin)
And "sudo chmod +x qualcomm_hexagon_sdk_3_5_2_eval.bin" to change the file mode and installed it with "Full Android SDK".
During installation process, It downloaded successfully Android NDK and Eclipse.
After the installation, I've changed the "Launch Hexagon IDE" file which is located at home directory to correct the location.
from: source "$(get_this_script_dir)"/setup_sdk_env.source
to: source "$(get_this_script_dir)"/Qualcomm/Hexagon_SDK/3.5.2/setup_sdk_env.source
And launched it with "./Launch Hexagon IDE", but only Eclipse photon was poped up, not a Qualcomm hexagon launcher.
So, I moved into "Qualcomm/Hexagon_SDK/3.5.2" and typed the script below to install IDE plugins:
python2 scripts/manage_plugins.py -E tools/hexagon_ide -V tools/hexagon_ide/jre/bin -Z tools/hexagon_ide/ide_plugins/juno/IDE.zip
But it prints out below:
==========================================================================
Installing from jar:file:/tools/hexagon_ide/ide_plugins/juno/IDE.zip!/
Please give me some advice to install it.
Thanks.
I found some problems about your Hexagon SDK.
Firstly, The "manage_plugins.py" has wrong code.
Whenever I tried to install the Hexagon SDK, the hexagon_ide is automatically download and installed during the SDK installation process.
The installed hexagon_ide is "Eclipse photon"
Inside of the function "check_eclipse_version():", the "return "kepler" must be cahnged to return "photon".
And several faulties inside of installation scripts.
I think it is not managed anymore and anybody use it.
If somebody want to install the Hexagon installer, then install SDK firstly and turn on the eclipse photon inside of hexagon_ide folder, and nextly go to Help -> Install New Software and choose the ide_plugins/photon folder and install it on eclipse photon, and finally go to manage_plugins.py and change the script i've mentioned above and change the "uninstall_plugins(0)" to "#uninstall_plugins(0)", and run the script. It will prints out some errors but whenever you run the Launch Hexagon SDK, then it will be successfully turned on. (if fails, then the eclipse photon will be poped on.)
One more thing, you should change "Launch Hexagon IDE" script. The exact location of setup_sdk_env.source is not a "$(get_this_script_dir)"/setup_sdk_env.source. It is located in the "$(get_this_script_dir)"/Qualcomm/Hexagon_SDK/3.5.2 folder.
please change the modifications at next release. I can not understand the faulties about your "RELEASED" Hexagon SDK.
I think the Hexagon SDK will be deprecated.
Nobody cares about the problems.
Dear Seongkyun,
I apologize about the delay and our team is looking into your questions and comments and will get back to you.
Thanks
Hi Seongkyun,
We will look into the issue with the plugins not being installed automatically. In the mean time the manage_plugins.py script requires absolute paths for the flags that are provided. If you run the below commands the manage_plugins.py script should properly install all plugins.
1. source setup_sdk_env.source
2. python2 scripts/manage_plugins.py -E $HEXAGON_SDK_ROOT/tools/hexagon_ide -V $HEXAGON_SDK_ROOT/tools/hexagon_ide/jre/bin -Z $HEXAGON_SDK_ROOT/tools/hexagon_ide/ide_plugins/photon/IDE.zip
After running these you should be able to run Launch Hexagon IDE and see the Hexagon IDE splash screen with all plugins installed.