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

Add -lm #5

Open
AmmarkoV opened this issue Jun 2, 2016 · 0 comments
Open

Add -lm #5

AmmarkoV opened this issue Jun 2, 2016 · 0 comments

Comments

@AmmarkoV
Copy link

AmmarkoV commented Jun 2, 2016

Linux compilation fails with current head commit with gcc 4.9.2

undefined reference to symbol 'roundf@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line

It can be fixed by changing

https://github.com/ccxvii/asstools/blob/master/Makefile#L15
to
AI_LIBS += -L../assimp/build/code -lassimp -lz -lstdc++ -lm

(adding the -lm )

Thanks for the good work 👍

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

No branches or pull requests

1 participant