From a7d4c091a0525fa8b137e2d9a6e12161b897cdd3 Mon Sep 17 00:00:00 2001 From: Anders Conbere Date: Tue, 20 Nov 2018 10:04:12 -0800 Subject: [PATCH 1/2] add FAQ file --- FAQ.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 FAQ.md diff --git a/FAQ.md b/FAQ.md new file mode 100644 index 0000000..b2246e4 --- /dev/null +++ b/FAQ.md @@ -0,0 +1,7 @@ +# Attempt to build Mac binary fails with NSInternalInconsistencyException + +When building on the darwin platform SameBoy will attempt to make a native executable and UI. In this case the environment expects a bunch of stuff to be set up by XCode. Fix this issue by starting XCode and letting it install components and set up the environment. After it's done building SameBoy should work (wehther or not XCode continues to run). + +# Attempt to build SDL binaris on Mac fails on linking + +Sameboy expects you to have installed the SDL2 framework you can find the binaries on the [SLD homepage](https://www.libsdl.org/download-2.0.php). Mount the DMG and copy SDL2.framework to `/Library/Frameworks/`. From 653c7fc1e649d6091071bd0c0b1237f32746c175 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sun, 6 Jan 2019 20:45:15 +0200 Subject: [PATCH 2/2] Update and rename FAQ.md to build-faq.md --- FAQ.md | 7 ------- build-faq.md | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 FAQ.md create mode 100644 build-faq.md diff --git a/FAQ.md b/FAQ.md deleted file mode 100644 index b2246e4..0000000 --- a/FAQ.md +++ /dev/null @@ -1,7 +0,0 @@ -# Attempt to build Mac binary fails with NSInternalInconsistencyException - -When building on the darwin platform SameBoy will attempt to make a native executable and UI. In this case the environment expects a bunch of stuff to be set up by XCode. Fix this issue by starting XCode and letting it install components and set up the environment. After it's done building SameBoy should work (wehther or not XCode continues to run). - -# Attempt to build SDL binaris on Mac fails on linking - -Sameboy expects you to have installed the SDL2 framework you can find the binaries on the [SLD homepage](https://www.libsdl.org/download-2.0.php). Mount the DMG and copy SDL2.framework to `/Library/Frameworks/`. diff --git a/build-faq.md b/build-faq.md new file mode 100644 index 0000000..e2192f5 --- /dev/null +++ b/build-faq.md @@ -0,0 +1,7 @@ +# Attempting to build the Cocoa frontend fails with NSInternalInconsistencyException + +When building on macOS, the build system will make a native Cocoa app by default. In this case, the build system uses the Xcode `ibtool` command to build user interface files. If this command fails, you can fix this issue by starting Xcode and letting it install components. After this is done, you should be able to close Xcode and build successfully. + +# Attempting to build the SDL frontend on macOS fails on linking + +SameBoy on macOS expects you to have the SDL2 framework installed as a framework. You can find the SDL2 binaries on the [SDL homepage](https://www.libsdl.org/download-2.0.php). Mount the DMG and copy SDL2.framework to `/Library/Frameworks/`.