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

Fixed octet compiling on mac using make file #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Basher207
Copy link

-octet/MakeFile
Added std=c++11 for lambda usage

-octet/src/scene/mesh.h:
cast unsigned ints to int32_t to match for edge constructor

-octet/src/scene/scene_node.h
using sqrt instead of std::sqrt
(Compiler error:
“error: no member named 'sqrt' in namespace 'std'; did you mean simply
'sqrt’?”
)

-octet/MakeFile
Added std=c++11 for lambda usage

-octet/src/scene/mesh.h:
cast to int32_t unsigned ints to int32_t for edge constructor

-octet/src/scene/scene_node.h
using sqrt instead of std::sqrt
(Compiler error:
“error: no member named 'sqrt' in namespace 'std'; did you mean simply
'sqrt’?”
)
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

Successfully merging this pull request may close these issues.

2 participants