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

Mac platform errors #3

Open
jaccen opened this issue Nov 23, 2020 · 2 comments
Open

Mac platform errors #3

jaccen opened this issue Nov 23, 2020 · 2 comments
Assignees

Comments

@jaccen
Copy link

jaccen commented Nov 23, 2020

/MoravaEngine/vendor/cross-platform/assimp/contrib/zlib/adler32.c:180:15: error:
conflicting types for 'adler32_combine64'
uLong ZEXPORT adler32_combine64(adler1, adler2, len2)
^
/Users/Engine/MoravaEngine/MoravaEngine/../vendor/cross-platform/assimp/contrib/zlib/zutil.h:183:27: note:
previous declaration is here
ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
^
1 error generated.
make[2]: *** [CMakeFiles/zlibstatic.dir/Users//Engine/MoravaEngine/vendor/cross-platform/assimp/contrib/zlib/adler32.c.o] Error 1
make[1]: *** [CMakeFiles/zlibstatic.dir/all] Error 2
make: *** [all] Error 2

@dtrajko
Copy link
Owner

dtrajko commented Nov 24, 2020

Thank you for taking the time for checking out the project. I appreciate your feedback.

Unfortunately, MoravaEngine doesn't run on the Mac platform at this time, because it works only with OpenGL which is deprecated on the Mac platform.

"Important: OpenGL was deprecated in macOS 10.14. To create high-performance code on GPUs, use the Metal framework instead. See Metal."

https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_pg_concepts/opengl_pg_concepts.html

MoravaEngine can run on Windows 64 bit and on Linux (with some issues). Metal, Vulkan and DirectX support will be implemented in the future.

I will check these build errors on MacOS. The project should build, as I tested it before, but the application will not run without Metal support.

@dtrajko dtrajko self-assigned this Nov 24, 2020
@jaccen
Copy link
Author

jaccen commented Nov 28, 2020

Thank you for taking the time for checking out the project. I appreciate your feedback.

MacOs can support OpenGL, for this simple Pro : https://github.com/jaccen/OpenGL_CMAKE

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

2 participants