Skip to content

fix: SG-44617: Build imgui with custom RV_DEPS_BASE_DIR - #1367

Open
paulbarton90 wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
paulbarton90:imgui_build_patch
Open

fix: SG-44617: Build imgui with custom RV_DEPS_BASE_DIR#1367
paulbarton90 wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
paulbarton90:imgui_build_patch

Conversation

@paulbarton90

@paulbarton90 paulbarton90 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Linked issues

None

Summarize your change.

Updated items in imgui.cmake to use the items created via the macro RV_CREATE_STANDARD_DEPS_VARIABLES.

Describe the reason for the change.

Building OpenRV with a custom RV_DEPS_BASE_DIR set caused the configuration step for RV_DEPS_IMGUI to fail with unable to find the source directory.

Describe what you have tested and on which operating system.

Tested on CY2024 on Rocky Linux 9.7.

Add a list of changes, and note any that might need special attention during the review.

The configure command used to configure the OpenRV build was:

/usr/local/bin/cmake \
  --fresh \
  -B /build/openrv/build \
  -G Ninja \
  -DCMAKE_BUILD_TYPE=Release \
  -DRV_DEPS_BASE_DIR=/build/openrv/3rdparty \
  -DRV_DEPS_DOWNLOAD_DIR=/build/openrv/downloads \
  -DRV_DEPS_QT_LOCATION=/opt/Qt/6.5.3/gcc_64 \
  -DRV_VFX_PLATFORM=CY2024

If possible, provide screenshots.

N/A

With the current build system if you specify a custom RV_DEPS_BASE_DIR
it failed to build imgui correctly. This patch resolves this by using
the standard arguments as found in `rv_create_std_deps_vars.cmake`.

Signed-off-by: Paul Barton <28630076+paulbarton90@users.noreply.github.com>
@eloisebrosseau eloisebrosseau changed the title fix: Build imgui with custom RV_DEPS_BASE_DIR fix: SG-44617: Build imgui with custom RV_DEPS_BASE_DIR Jul 30, 2026
@eloisebrosseau eloisebrosseau added community Contribution from the Open RV Community PR: Acknowledged New PR has been acknowledge by the TSC labels Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Contribution from the Open RV Community PR: Acknowledged New PR has been acknowledge by the TSC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants