Skip to content

Fix lookup of manifest files from both install and build trees#117

Merged
jcfr merged 2 commits intoKitwareMedical:masterfrom
jcfr:fix-manifest-lookup
Jun 15, 2023
Merged

Fix lookup of manifest files from both install and build trees#117
jcfr merged 2 commits intoKitwareMedical:masterfrom
jcfr:fix-manifest-lookup

Conversation

@jcfr
Copy link
Contributor

@jcfr jcfr commented Jun 14, 2023

Fix lookup of manifest file from install or build trees

This commit is a follow-up of dec1acf (BUG: Ensure action manifest files are found during interctor initialization) and 08485bd (BUG: Improve action manifest paths)

It implements the following changes:

  1. Append the / character required to successfully compose the full manifest file path.
    Indeed, in vtkOpenVRRenderWindowInteractor::Initialize() the directory and filename are joined using this->ActionManifestDirectory + this->ActionManifestFileName

  2. Fix the manifest directory associated with:

  • the build by appending the externals/vtkRenderingOpenVR sub-directory.

  • the installed extension by ensuring the manifests are looked up in a
    known.

@jcfr jcfr linked an issue Jun 14, 2023 that may be closed by this pull request
@jcfr
Copy link
Contributor Author

jcfr commented Jun 14, 2023

After testing locally, lookup of manifest files:

  • from build tree ✔️
  • from install tree ❌

After inspecting the content of the extension package, the manifest files are not in the bin folder.

image

@cpinter
Copy link
Collaborator

cpinter commented Jun 14, 2023

Thanks a lot @jcfr for working on this! Feel free to merge it, as it solves half the issues. I don't have an idea off the bat why it does not work...

@jcfr

This comment was marked as outdated.

This commit is a follow-up of dec1acf (BUG: Ensure action manifest files
are found during interctor initialization) and 08485bd (BUG: Improve
action manifest paths)

It implements the following changes:

1. Append the "/" character required to successfully compose the
   full manifest file path.
   Indeed, in vtkOpenVRRenderWindowInteractor::Initialize() the directory
   and filename are joined using "this->ActionManifestDirectory + this->ActionManifestFileName"

2. Fix the manifest directory associated with:

  - the build by appending the "externals/vtkRenderingOpenVR" sub-directory.

  - the installed extension by ensuring the manifests are looked up in a
    known.
@jcfr jcfr force-pushed the fix-manifest-lookup branch from 2865a2f to 6310ecc Compare June 15, 2023 00:11
@jcfr
Copy link
Contributor Author

jcfr commented Jun 15, 2023

Manifest files should now be properly looked up:

image

image

@jcfr jcfr merged commit 173b1a8 into KitwareMedical:master Jun 15, 2023
@jcfr jcfr deleted the fix-manifest-lookup branch June 15, 2023 00:34
@jcfr jcfr changed the title BUG: Fix lookup of manifest file from install or build trees BUG: Fix lookup of manifest file from both install and build trees Jun 15, 2023
@jcfr jcfr changed the title BUG: Fix lookup of manifest file from both install and build trees Fix lookup of manifest files from both install and build trees Jun 15, 2023
@jcfr
Copy link
Contributor Author

jcfr commented Jun 15, 2023

Today's package has been updated as well.

image

@cpinter
Copy link
Collaborator

cpinter commented Jun 15, 2023

Thanks a lot for this fix! For non-developer users this is a must.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Action manifest not found

2 participants