ROCprof Compute Viewer installation#
2025-06-04
2 min read time
This topic explains how to build ROCprof Compute Viewer (RCV) from source on various Operating Systems.
For prebuild binaries, see the RCV release.
Building from source#
By default, the project builds with Qt 6.8. To build with Qt 5, use:
cmake -DQT_VERSION_MAJOR=5 ..
For Qt 6.4, use:
cmake -DQT_VERSION_MINOR=4 ..
Build on macOS Homebrew#
Install Qt 5 or Qt 6:
brew install qt@5 brew install qt@6
Configure CMake and build:
mkdir build cd build cmake .. -DCMAKE_PREFIX_PATH=$(brew --prefix qt@6) # or cmake .. -DQT_VERSION_MAJOR=5 -DCMAKE_PREFIX_PATH=$(brew --prefix qt@5) make -j
Build on Linux#
Install Qt 5 or Qt 6:
For Ubuntu 22.04
sudo apt install -y qtbase5-dev qt5-qmake cmake build-essential
For Ubuntu 24.04
sudo apt install -y libgl1 qtbase5-dev qt5-qmake cmake build-essential
For other distributions, see Getting Started with Qt.
Configure CMake and build:
mkdir build cd build cmake .. -DQT_VERSION_MAJOR=5 # for qt6.4, use # cmake .. -DQT_VERSION_MAJOR=6 -DQT_VERSION_MINOR=4 make -j
Build on Windows Subsystem for Linux (WSL)#
Requires Ubuntu 22+
Follow the same instructions as given for Linux
Recommended to use Qt 5.15
Build on Windows Native#
To build on Windows, use Qt Tools with Qt 6.8 (or later). See Installing Qt on Windows for details.
Disabling OpenGL widgets#
To disable OpenGL widgets, use:
cmake .. -DRCV_DISABLE_OPENGL=On