Skip to content
New issue

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

Unresolved external symbol when using glm::linearRand #340

Closed
sasmaster opened this issue May 12, 2015 · 3 comments
Closed

Unresolved external symbol when using glm::linearRand #340

sasmaster opened this issue May 12, 2015 · 3 comments
Assignees

Comments

@sasmaster
Copy link

I am using glm version 0.9.4.1

If I use glm::linearRand ,for example

int frame_index = glm::linearRand(0,10);

I am getting this:

Error   3   error LNK2019: unresolved external symbol "public: int __cdecl glm::detail::compute_linearRand::operator()<int>(int const &,int const &)const " (??$?RH@compute_linearRand@detail@glm@@QEBAHAEBH0@Z) referenced in function main    E:\Documents\visual studio 2012\Projects\XXX\XXXX\SomeObj.obj
@JesseTG
Copy link

JesseTG commented Mar 6, 2016

Is this still an issue?

@Groovounet Groovounet self-assigned this Oct 16, 2016
@Groovounet
Copy link
Member

This issue was resolve a while ago, at least the fix is available in GLM 0.9.8.

Thanks,
Christophe

@Groovounet
Copy link
Member

Fixed in GLM 0.9.6 with #230.

The fix added linear overloads for integers.

Thanks,
Christophe

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

No branches or pull requests

3 participants