Open philippkeller opened 3 years ago
I don't have a mac handy for testing, so I'm not surprised there are build issues. Those narrowing issues should be safe to silence with casts.
That said, one may want to omit the target triplet from the cmake command line. Alternately, "-DVCPKG_TARGET_TRIPLET:STRING=x64-osx" should be better than "x64-linux" (or, even "arm64-osx" if on an ARM64 mac).
The code now compiles on macOS, but it crashes during startup.
I tried to compile on OSX. in
IDE/VC/vcpkg/build_vcpkg.sh
I replacedtriplet withx64-osx
, then thebuild_vcpkg.sh
ran through successfully.After installing ninja with
brew install ninja
this step also worked:cmake -G Ninja -DCMAKE_BUILD_TYPE:STRING=Release -DVCPKG_TARGET_TRIPLET:STRING=x64-linux ../../..
But now I'm stuck at
cmake --build .
with this error:I did
cp IDE/xCode/MacFunctions.* src/
in order to provide the header file and replacedWith
There might be a smarter way to solve this…? Anyway: this made this error go away, but now I'm stuck at these errors:
Any idea what might be wrong? This is my c++ version: