Hi everyone,
Last night I decided to start tinkering with the Dolphin source code on macOS, and I thought a natural first step would be to compile the current source. Following the instructions, everything appeared to be going well. All targets had finished compiling, the main binary was linked successfully, and the make process moved on to the "Fixing up the application bundle" phase. Then in an instant, everything came crashing to a halt, and my dreams and aspirations were crushed.
Well ok, maybe not that last part. But seriously, the following CMake error occurred at DolphinPostprocessBundle.cmake:40:
As someone who has never bothered with cross-platform build-systems like CMake literally until installing CMake yesterday specifically to build Dolphin, I didn't really know what to do and googling it brought nothing useful to my attention. So - of course - I opened the offending CMake file in a text editor and commented out the line that mentioned "fixup_bundle", then rebuilt the project. And lo and behold, it worked([color=#222222]™[/color])! (meaning I was able to launch the app bundle and menus worked. Haven't tested a game)
Which brings me to my questions, then: what exactly does fixup_bundle do; why does it not work on my machine; why would commenting out a line that refers to it not break things spectacularly; or, if that in fact does break things spectacularly, what things does it break and how spectacularly does it break them? (I suppose the last two questions are redundant to the first one, but whatever)
As another bit of info, last night I actually initially built the project on a 2012 non-retina MacBook Pro running an early beta of Sierra and got this error, but thought it could have been related to the beta OS. I then switched to Zachintosh (the name of my hackintosh, obviously) and was able to reproduce the exact same behaviour on the latest non-beta version of Sierra.
Thanks in advance!
Last night I decided to start tinkering with the Dolphin source code on macOS, and I thought a natural first step would be to compile the current source. Following the instructions, everything appeared to be going well. All targets had finished compiling, the main binary was linked successfully, and the make process moved on to the "Fixing up the application bundle" phase. Then in an instant, everything came crashing to a halt, and my dreams and aspirations were crushed.
Well ok, maybe not that last part. But seriously, the following CMake error occurred at DolphinPostprocessBundle.cmake:40:
Code:
error: fixup_bundle: not a valid bundle
As someone who has never bothered with cross-platform build-systems like CMake literally until installing CMake yesterday specifically to build Dolphin, I didn't really know what to do and googling it brought nothing useful to my attention. So - of course - I opened the offending CMake file in a text editor and commented out the line that mentioned "fixup_bundle", then rebuilt the project. And lo and behold, it worked([color=#222222]™[/color])! (meaning I was able to launch the app bundle and menus worked. Haven't tested a game)
Which brings me to my questions, then: what exactly does fixup_bundle do; why does it not work on my machine; why would commenting out a line that refers to it not break things spectacularly; or, if that in fact does break things spectacularly, what things does it break and how spectacularly does it break them? (I suppose the last two questions are redundant to the first one, but whatever)
As another bit of info, last night I actually initially built the project on a 2012 non-retina MacBook Pro running an early beta of Sierra and got this error, but thought it could have been related to the beta OS. I then switched to Zachintosh (the name of my hackintosh, obviously) and was able to reproduce the exact same behaviour on the latest non-beta version of Sierra.
Thanks in advance!