Installation
  • 23 Apr 2025
  • 2 Minutes to read
  • Dark
    Light
  • PDF

Installation

  • Dark
    Light
  • PDF

Article summary

How to install VizionSDK

Windows-x64

  1. Download the VizionSDK for Windows from the following link: VizionSDK Download Page.

  2. Once downloaded, run the installer (vizionsdk-{version}-win64.exe).

  3. By default, VizionSDK is installed under C:\Program Files\vizionsdk

Linux-x64

Supported platforms

General PCs, UP Squared Pro 7000

  • Offline Installation

    Download the VizionSDK .deb packages for Ubuntu from the following link: VizionSDK .deb packages Download Page.

    • Uncompress .tar folder and you can link to the local library

      tar -xf ./vizionsdk-{version}-linux64.tar.xz
    • Install .deb packages. You can do this either through the graphical software center if available or via the command line using:

      1. sudo apt install ./vizionsdk-linux64.deb
      2. Installing the .deb package will automatically install the apt repository and signing key to enable auto-updating using the system's package manager.

  • Online Installation

    The repository and key can also be installed manually with the following script:

    sudo apt-get install wget gpg
    wget -qO- https://download.technexion.com/apt/technexion.asc | gpg --dearmor > packages.technexion.gpg
    sudo install -D -o root -g root -m 644 packages.technexion.gpg /etc/apt/keyrings/packages.technexion.gpg
    sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.technexion.gpg] https://download.technexion.com/apt/vizionsdk/ stable main" > /etc/apt/sources.list.d/vizionsdk.list'
    sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.technexion.gpg] https://download.technexion.com/apt/vizionviewer/ stable main" >> /etc/apt/sources.list.d/vizionsdk.list'

    Then update the package cache and install the package using:

    sudo apt update
    sudo apt install vizionsdk

Linux-ARM64

Supported platforms

NXP-iMX8MP, NXP-iMX8MM, NXP-iMX93, NXP-iMX95
NVIDIA-Jetpack5.x and Later

  • Offline Installation

    Download the VizionSDK .deb packages for ARM from the following link: VizionSDK .deb packages Download Page.

    • Uncompress .tar folder and you can link to the local library

      tar -xf ./vizionsdk-{version}-linuxarm64.tar.xz
    • Install .deb packages. You can do this either through the graphical software center if available or via the command line using:

      1. sudo apt install ./vizionsdk-linuxarm64.deb
      2. Installing the .deb package will automatically install the apt repository and signing key to enable auto-updating using the system's package manager.

  • Online Installation

    The repository and key can also be installed manually with the following script:

    For Jetpack user, the stable main version is different from the legacy stable version.

    sudo apt-get install wget gpg
    wget -qO- https://download.technexion.com/apt/technexion.asc | gpg --dearmor > packages.technexion.gpg
    sudo install -D -o root -g root -m 644 packages.technexion.gpg /etc/apt/keyrings/packages.technexion.gpg
    sudo sh -c 'echo "deb [arch=arm64 signed-by=/etc/apt/keyrings/packages.technexion.gpg] https://download.technexion.com/apt/vizionsdk/ stable main" > /etc/apt/sources.list.d/vizionsdk.list'
    sudo sh -c 'echo "deb [arch=arm64 signed-by=/etc/apt/keyrings/packages.technexion.gpg] https://download.technexion.com/apt/vizionviewer/ stable main" >> /etc/apt/sources.list.d/vizionsdk.list'

    Then update the package cache and install the package using:

    sudo apt update
    sudo apt install vizionsdk

Configuration Setup

After installing, the VxConfig.conf will setup in the following path.

  • Windows:
    C:\Program Files\vizionsdk\bin\VxConfig.conf

  • Linux, NXP-iMX, NVIDIA-Jetpack5.x and Later:
    /usr/share/vizionsdk/VxConfig.conf

  • Local library:

    /vizionsdk-{version}-{os}/bin/VxConfig.conf

The config file is for VizionSDK to recognize the device which is TechNexion series camera.

The location of VxConfig.conf can be customized by setting the VIZIONSDK_CONFIG_PATH environment variable.

How to use VizionSDK

There is the example for linking the VizionSDK library by CMake.
You can follow the steps in Sample Build Guide to install the necessary package in your host PC.

Prerequisites

  • CMake (version 3.0 or newer)

  • C++ compiler

Import the library

Include the VizionSDK header file in the code

#include "VizionSDK.h"

Build the project with CMake

Link the library from installation (.exe, .deb or apt install)

Using CMake to find the package and link VizionSDK library.

# Find VizionSDK package
find_package(vizionsdk REQUIRED)

# Add executable
add_executable({PROJECT_NAME}
    {project}.cpp
)

# Link libraries
target_link_libraries({PROJECT_NAME}
    PRIVATE
    vizionsdk::VizionSDK
)

Link the library from local folder

Link the library which is located in the local folder ../Downloads/vizionsdk-{version}-{arch}/lib .

# Set path to the SDK library directory
# NOTE: Update this path to match your SDK location
target_link_directories({PROJECT_NAME}
  PRIVATE
  ${CMAKE_CURRENT_SOURCE_DIR}/../../Downloads/vizionsdk-{version}-{arch}/lib
)

# Link libraries
target_link_libraries({PROJECT_NAME}
  PRIVATE
  VizionSDK
)

Troubleshooting

⚠️ The stable jetson APT repository has been deprecated.

Please use the stable main repository instead, as shown in Online Installation.


Was this article helpful?