Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

(minor) Fix link issue in Release configuration #28

Open
wants to merge 1 commit into
base: zulauf_oaas_mode
Choose a base branch
from

Conversation

Ybalrid
Copy link

@Ybalrid Ybalrid commented Dec 15, 2022

The link library was called openxr instead of openxr_loader

The link library was called `openxr` instead of `openxr_loader`
@bradgrantham-lunarg
Copy link
Contributor

This probably solves #29

@Ybalrid
Copy link
Author

Ybalrid commented Jan 14, 2023

Hi,

This probably solves #29

Indeed, the linked post describes the same error I had, IIRC. CMake script using the wrong build target name to link the library. The CMake generator will assume this is a "system" library instead and will put a .lib prefix on it and say everything is fine.

Then the Visual Studio linker will error out because there is no openxr.lib file in any default linker path. But obviously, here we want to link against the Khronos OpenXR Loader library...🙂

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants