# voxl-hexagon: unable to install cross_toolchain

Source: https://forum.modalai.com/topic/1959/voxl-hexagon-unable-to-install-cross_toolchain
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2023-03-17 09:59:31 UTC by SHofmeester
Replies: 7 · Views: 1535

## SHofmeester · 2023-03-17 09:59:31 UTC

Hi,

I was trying to install voxl-hexagon on Ubuntu 22.04, when I got this message: ![7174be92-114f-4934-b387-6dc31ca0bcee-image.png](https://forum.modalai.com/assets/uploads/files/1679046920281-7174be92-114f-4934-b387-6dc31ca0bcee-image-resized.png) 
When I tried to run `./installsdk.sh --APQ8096 --arm-gcc /opt/` manually, I got the following message: ![e0cd17d3-a1bf-4303-a5b9-a6f8faf34cdc-image.png](https://forum.modalai.com/assets/uploads/files/1679047111887-e0cd17d3-a1bf-4303-a5b9-a6f8faf34cdc-image.png) 
Can you help me with this?

## Reply by SHofmeester · 2023-03-21 12:29:03 UTC

I tried it on Ubuntu 20.04 as well, but it gave the same message as in Ubuntu 22.04. I also tried it with an older commit from the voxl-docker repository, but that also gave the same message. Does it have to do with the files that need to be downloaded and put in `cross_toolchain/downloads? Do I need to install something else?

## Reply by Chad Sweet (ModalAI staff) · 2023-03-27 15:06:38 UTC

Have you downloaded the [hexagon SDK 3.1](https://developer.modalai.com/asset/download/51)?

https://developer.modalai.com/asset/7

## Reply by SHofmeester · 2023-03-28 08:07:22 UTC

Hi @Chad-Sweet,

These are the files in `voxl-docker/cross_toolchain/downloads`: ![df041145-d84d-43c5-9337-842e6236cff2-image.png](https://forum.modalai.com/assets/uploads/files/1679989965752-df041145-d84d-43c5-9337-842e6236cff2-image.png) 
I tried it again with the file you linked, but the error stays the same. 

Additional information:
1. When I try to run `./installsdk.sh --APQ8096 --arm-gcc /opt/` now, it says the following: ![29503efe-dba8-4f46-aa38-df8f458663e2-image.png](https://forum.modalai.com/assets/uploads/files/1679990314845-29503efe-dba8-4f46-aa38-df8f458663e2-image.png) I tried to run the export-commands, but nothing changed.
2. Inside `/opt/` there is a directory called Qualcomm with a folder called: ARM_tools and Hexagon_SDK

We really appreciate your help!

## Reply by Eric Katzfey (ModalAI staff) · 2023-03-28 18:08:40 UTC (in reply to SHofmeester)

@SHofmeester What do you get with `docker images`? Does it show any version of voxl-hexagon available?

## Reply by SHofmeester · 2023-03-29 07:36:49 UTC

Hi @Eric-Katzfey,
This is the result when I run `docker images`:
![4b8c6550-aff4-42d4-9318-ed1f3cbf363f-image.png](https://forum.modalai.com/assets/uploads/files/1680074734745-4b8c6550-aff4-42d4-9318-ed1f3cbf363f-image.png) 

I feel like I am forgetting something, because I was able to install it before.
I set up voxl-docker (`voxl-docker -l` and voxl-cross work), downloaded the 2 files and put them in `cross_toolchain/downloads` and then ran `./install-hexagon-docker.sh`. Am I missing anything?

## Reply by Eric Katzfey (ModalAI staff) · 2023-03-29 16:11:30 UTC (in reply to SHofmeester)

@SHofmeester The `installsdk.sh` script is run as part of the Docker build process and is meant to be installed inside the Docker image, not on your local machine so it's understandable that that command failed. I just tried doing all the steps on my Ubuntu 20.04 machine and there were no issues. Can you show the entire output of the process starting with the invocation of the `./install-hexagon-docker.sh` command? And also, you can just download the voxl-hexagon docker image directly from our downloads site so that you don't have to build it.

## Reply by SHofmeester · 2023-03-31 09:01:05 UTC

Thank you for your help! I was able to download it directly and it works now. On my other device I was only able to build it, but on this device downloading it directly works.
