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

Fix header file missing (which would cause compile error on Fedora OS) #46

Merged
merged 2 commits into from
Apr 7, 2022

Conversation

kwbm
Copy link
Contributor

@kwbm kwbm commented Apr 6, 2022

Fix header file missing (which would cause compile error on Fedora OS)

@hyv1001
Copy link
Collaborator

hyv1001 commented Apr 6, 2022

The matrix3.h and matrix4.h don't use the std::string, could you create an issue about the compile error?

@kwbm
Copy link
Contributor Author

kwbm commented Apr 6, 2022

Screenshot from 2022-04-06 23-53-13

@kwbm
Copy link
Contributor Author

kwbm commented Apr 6, 2022

missing "memcpy" declarations

@wlbksy
Copy link
Contributor

wlbksy commented Apr 6, 2022

IMO, this should be <cstring> as this is a cpp project instead of c project.

@@ -4,6 +4,8 @@
#include "runtime/core/math/quaternion.h"
#include "runtime/core/math/vector3.h"

#include <string.h>
Copy link
Collaborator

@hyv1001 hyv1001 Apr 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use #include <cstring>

@@ -6,6 +6,8 @@
#include "runtime/core/math/vector3.h"
#include "runtime/core/math/vector4.h"

#include <string.h>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No description provided.

@kwbm
Copy link
Contributor Author

kwbm commented Apr 7, 2022

"string.h" header file has been changed to "cstring"

@hyv1001 hyv1001 merged commit 120e589 into BoomingTech:main Apr 7, 2022
@kwbm kwbm deleted the fix-fedora-build-error branch April 9, 2022 05:00
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.

4 participants