Hello. I am encountering a linking error with ktx.lib #943
Hello. I am encountering a linking error with ktx.lib. I am using the Windows operating system, and I followed these steps: git clone https://github.com/KhronosGroup/KTX-Software.git After that, I copied the ktx.exp, ktx.lib, ktx.exe, and ktx.dll files from the build/release directory. I placed the ktx.dll file in the same directory as my program's executable file. In Visual Studio, I added ktx.lib to the "Additional Dependencies" under "Linker -> Input" in the project properties. I also added the path containing ktx.exp, ktx.lib, and ktx.exe to the "Additional Library Directories" under "Linker -> General". |
Replies: 1 comment
|
Sorry for failing to answer this for so long. From the symbol names in the error messages it looks like your application has been built to link with a static ktx.lib but the ktx.lib built with the default cmake settings is companion to a dll so the symbol names have a |

Sorry for failing to answer this for so long. From the symbol names in the error messages it looks like your application has been built to link with a static ktx.lib but the ktx.lib built with the default cmake settings is companion to a dll so the symbol names have a
_impsuffix.