Is it possible to build engine on macOS?
The only dependency I've failed to resolve is liblockfile-dev. Is it possible theoretically?
liblockfile is available in homebrew (i'm not an osx user, just a passerby :) )
brew install liblockfile
The only dependency I've failed to resolve is liblockfile-dev. Is it possible theoretically?
Did you made a build? I tried to do it but no luck. All dependencies are solved, but got missing header files during make.
Nope. None of the interested developers have a mac.
@eagleivg I have one. But question in other thing, do we need to build engine on MacOS for now? I think no, for what purpose? Many gamers and game developers prefer to use linux or windows operating systems, maybe in some future, but compilation should be fine on OSX too. @eanekrasov I will check that problem by the end of the week.
@eanekrasov I have checked build on MacOS. Nope, currently build will fail because of many non supported and not implemented crossplatform "things" in code. I'm not sure that we will support osx systems. Maybe in some future.
macOS will be one of the next possible platforms to which we will port the engine.
Any news with macOS. Try to cmake.. but always got error:
-- Found LZO: /usr/local/lib/liblzo2.dylib
git commit: 35fbe9728941dda2654dd62249c3a22c8b758e3b
git branch: dev
-- The ASM compiler identification is Clang
-- Found assembler: /Library/Developer/CommandLineTools/usr/bin/cc
Makefile:320: *** missing: export MACOSX_DEPLOYMENT_TARGET=XX.YY. Stop.
lj_arch.h:82:10: fatal error: 'TargetConditionals.h' file not found
#include "TargetConditionals.h"
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
CMake Error at Externals/LuaJIT-proj/luajit.cmake:191 (if):
if given arguments:
"STREQUAL" ""
Unknown arguments specified
Call Stack (most recent call first):
Externals/LuaJIT-proj/CMakeLists.txt:1 (include)
-- Configuring incomplete, errors occurred!
https://github.com/LuaJIT/LuaJIT/issues/653 - solution
Any news with macOS. Try to cmake.. but always got error:
-- Found LZO: /usr/local/lib/liblzo2.dylib git commit: 35fbe9728941dda2654dd62249c3a22c8b758e3b git branch: dev -- The ASM compiler identification is Clang -- Found assembler: /Library/Developer/CommandLineTools/usr/bin/cc Makefile:320: *** missing: export MACOSX_DEPLOYMENT_TARGET=XX.YY. Stop. lj_arch.h:82:10: fatal error: 'TargetConditionals.h' file not found #include "TargetConditionals.h" ^~~~~~~~~~~~~~~~~~~~~~ 1 error generated. CMake Error at Externals/LuaJIT-proj/luajit.cmake:191 (if): if given arguments: "STREQUAL" "" Unknown arguments specified Call Stack (most recent call first): Externals/LuaJIT-proj/CMakeLists.txt:1 (include) -- Configuring incomplete, errors occurred!LuaJIT/LuaJIT#653 - solution
There is a progress in #923, @Vertver managed to compile and launch it to the main menu, but didn't get into the game yet. (though, the pull request is only for macOS with Apple M1 processor. But it can be ported to older macOS versions in future)
Technically, the issue is solved, engine can be built on macOS and I want to reduce the number of open issues...
It won't run though, feel free to reopen this issue and rename it or open a new issue with wording something like: "Run on macOS". :)
feel free to reopen this issue and rename it or open a new issue with wording something like: "Run on macOS". :)
The issue about running macOS is open! #1104