MoravaEngine icon indicating copy to clipboard operation
MoravaEngine copied to clipboard

Mac platform errors

Open jaccen opened this issue 5 years ago • 2 comments

/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

jaccen avatar Nov 23 '20 12:11 jaccen

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 avatar Nov 24 '20 07:11 dtrajko

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

jaccen avatar Nov 28 '20 08:11 jaccen