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

Error: Darwin.cmake not found when building on macOS #262

Open
M0REKZ opened this issue Apr 2, 2024 · 2 comments
Open

Error: Darwin.cmake not found when building on macOS #262

M0REKZ opened this issue Apr 2, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@M0REKZ
Copy link

M0REKZ commented Apr 2, 2024

When i tried to build sonic mania from https://github.com/Rubberduckycooly/Sonic-Mania-Decompilation it failed with

`CMake Error at dependencies/RSDKv5/CMakeLists.txt:66 (include): include could not find requested file:
platforms/Darwin.cmake

CMake Error at dependencies/RSDKv5/CMakeLists.txt:71 (set_target_properties):
set_target_properties Can not find target to add properties to: RetroEngine

CMake Error at dependencies/RSDKv5/CMakeLists.txt:76 (set_target_properties):
set_target_properties Can not find target to add properties to: RetroEngine

CMake Error at dependencies/RSDKv5/CMakeLists.txt:134 (target_include_directories):
Cannot specify include directories for target "RetroEngine" which is not
built by this project.

CMake Error at dependencies/RSDKv5/CMakeLists.txt:151 (target_compile_definitions):
Cannot specify compile definitions for target "RetroEngine" which is not
built by this project.

CMake Error at dependencies/RSDKv5/CMakeLists.txt:168 (add_custom_command):
No TARGET 'RetroEngine' has been created in this directory.

-- Configuring incomplete, errors occurred!`

looks like darwin.cmake does not exist on this repo

Since the bug comes at cmakelists file from here, im creating the issue here

macOS 14.4.1
-cloned sonic mania repo with git clone --recursive

@MegAmi24
Copy link
Member

MegAmi24 commented Apr 2, 2024

I believe Xcode is the intended way to build the decomp on Mac. Mac was never part of the CMake building overhaul the decomps received, so it's not properly supported by it. You can find the old build guide for Xcode on Mac here, although I'm not sure if it still works.

@M0REKZ
Copy link
Author

M0REKZ commented Apr 3, 2024

XCode project for sonic mania works correctly (it only builds the game.dylib), however, when i try to build RSDKv5 xcode project it gives me this error:

error: Build input file cannot be found: '/Users/benjamin/Laboratorio/RSDKv5-Decompilation/dependencies/mac/RSDKv5.entitlements'.

also i see a missing Assets file

kljshfs

@Mefiresu Mefiresu added the enhancement New feature or request label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants