Forums - Fastcv Installation

4 posts / 0 new
Last post
Fastcv Installation
Join Date: 2 Jul 21
Posts: 3
Posted: Wed, 2022-05-04 08:34
We are trying to install fastcv SDK in Android Device in order to build sample application. while following the official installation guide,
We are facing the following issues. 
make clean 
Host OS was auto-detected: windows
make: C:/android/Development/fastcv-android-1-7-1/samples/fastcorner/: No such file or directory
make: /ndk-build: No such file or directory
make: *** [Makefile:57: clean] Error 127
"make clean" terminated with exit code 2. Build might be incomplete.
We are using Windows as the host machine, with Android 8.1 and NDK version 21.
Any help would be appreciated. Thanks
  • Up0
  • Down0
Join Date: 20 Mar 20
Posts: 23
Posted: Thu, 2022-06-02 23:52


we are using Linux as host machine and tested with RB3 SDA845, Below are the steps we followed


FastCV SDK environment setup on host

  1. FastCV SDK download

Download v1.7.1 for Linux Embedded

  1. FastCV installation and compilation

The FastCV binary file is fastcv-installer-linuxembedded-1-7-1.bin. Follow the steps below to install it:

chmod 777 fastcv-installer-linuxembedded-1-7-1.bin



Building Sample Applications on host

fastcvSimpleTest using Hexagon sdk 64-bit

1. Download Hexagon DSP SDK from Qualcomm developer network

2. Download gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu.tar.xz

Extract the tar file and copy folder gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu

To <Hexagon_SDK_ROOT>/tools/ folder.

Rename gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu folder to linaro64.

3. Copy the fastcvSimpleTest folder inside <Hexagon_SDK_ROOT>/examples/common/.

Copy 64-bit libfastcv.a from libs provided in the fastcv sdk

(fastcv-1-7-1_LinuxEmbedded\lib\64-bit\libfastcv.a) to

<Hexagon_SDK_ROOT>/examples/common/fastcvSimpleTest/lib/ folder.

4. Open a new terminal from the root directory <Hexagon_SDK_ROOT> of the Hexagon SDK

and run setup_sdk_env.source.

This script configures the local environment. These changes are not persistent in the

terminal instance, so you must run setup_sdk_env.source on each terminal you want to

develop in.

$ cd < Hexagon SDK root directory, default is: ~/Qualcomm/Hexagon_SDK/<version>>

$ source setup_sdk_env.source

5. Change the directory to fastcvSimpleTest folder

cd examples/common/fastcvSimpleTest

Execute command: make tree V=UbuntuARM_Debug_aarch64

6. A folder with name "UbuntuARM_Debug_aarch64" should get generated in

the fastcvSimpleTest folder. It will contain the fastcvSimpleTest binary file.


FastCV SDK Test with RB3 SDA845

1. Push the fastcvSimpleTest binary file in the target:

adb push


hip\fastcvSimpleTest /usr/bin/

2. Change bin permissions and execute the fastcvSimpleTest:

adb shell chmod 777 /usr/bin/fastcvSimpleTest

adb shell /usr/bin/fastcvSimpleTest



  • Up0
  • Down0
Join Date: 21 Nov 22
Posts: 2
Posted: Tue, 2022-11-22 19:54

I got the following error, How can I solve such error?


best wishes.


ubuntu@npu:/zyx_mac/Work/Lib$ chmod 777 ./fastcv-installer-android-1-7-1.bin

ubuntu@npu:/zyx_mac/Work/Lib$ ./fastcv-installer-android-1-7-1.bin

Preparing to install...

Extracting the installation resources from the installer archive...

Configuring the installer for this system's environment...


Launching installer...



Graphical installers are not supported by the VM. The console mode will be used instead...





Installer User Interface Mode Not Supported


The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The valid UI modes identifiers are GUI, Console, and Silent.



  • Up0
  • Down0
Join Date: 12 Dec 22
Posts: 1
Posted: Wed, 2022-12-14 03:06


I had the same issue (Ubuntu 22.04.1 LTS).

Installing openjdk-8 resolved this problem in my case.
            apt install openjdk-8-jdk openjdk-8-jre

Best regards,

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