We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is the offending line of code (viewMatrix is a mat4): mat3 normalMatrix = inverse(transpose(mat3(viewMatrix)));
Linker error message (Visual Studio 2012):
1>Object.obj : error LNK2019: unresolved external symbol "struct glm::detail::tmat3x3<float,0> __cdecl glm::detail::inverse<float,0>(struct glm::detail::tmat3x3<float,0> const &)" (??$inverse@M$0A@@detail@glm@@ya?AU?$tmat3x3@M$0A@@01@ABU201@@z) referenced in function "public: virtual void __thiscall Object::Render(struct glm::detail::tmat4x4<float,0>,struct glm::detail::tmat4x4<float,0>,class Lights)" (?Render@Object@@UAEXU?$tmat4x4@M$0A@@detail@glm@@0VLights@@@z)
This code works fine with version 0.9.4, am I doing something wrong here?
Thanks a lot for the great library!! Wesley
The text was updated successfully, but these errors were encountered:
Fixed inverse link error when using namespace glm; (#147)
aa26672
This bug is fixed in GLM 0.9.5 branch for GLM 0.9.5.1 release.
Thanks for contributing, Christophe
Sorry, something went wrong.
Groovounet
No branches or pull requests
This is the offending line of code (viewMatrix is a mat4):
mat3 normalMatrix = inverse(transpose(mat3(viewMatrix)));
Linker error message (Visual Studio 2012):
1>Object.obj : error LNK2019: unresolved external symbol "struct glm::detail::tmat3x3<float,0> __cdecl glm::detail::inverse<float,0>(struct glm::detail::tmat3x3<float,0> const &)" (??$inverse@M$0A@@detail@glm@@ya?AU?$tmat3x3@M$0A@@01@ABU201@@z) referenced in function "public: virtual void __thiscall Object::Render(struct glm::detail::tmat4x4<float,0>,struct glm::detail::tmat4x4<float,0>,class Lights)" (?Render@Object@@UAEXU?$tmat4x4@M$0A@@detail@glm@@0VLights@@@z)
This code works fine with version 0.9.4, am I doing something wrong here?
Thanks a lot for the great library!!
Wesley
The text was updated successfully, but these errors were encountered: