Skip to content

Linker error when using libktx #530

Answered by MarkCallow
ChunkTreasure1 asked this question in Q&A
Discussion options

You must be logged in to vote

I am guessing, given lack of info about platform and actual errors ...

If you are building on Windows and the errors are unresolved symbols of the form __imp_* then to solve it you need to specify -DKHRONOS_STATIC on the compile command(s) when building your application. This will give your application the correct linkage for linking to a static library.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MarkCallow
Comment options

Answer selected by MarkCallow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants