langest/ezgba

How to compile it in OS X?

eyp opened this issue · 1 comments

eyp commented

Hi, I've tried to compile the project in OS X but without success.
First I installed boost, wxmac and tclap. Then I cloned the project and within ezgba/src execute:

cmake .

Everything seems ok, I get these messages:

-- Boost version: 1.61.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/edu/Documents/GBA/ezgba-v0.2.0a-2/src

Then I've run make without any error, so a ezgba-cli is created.

After that, I've converted build-osx-bundle.sh to unix format with dos2unix, then I've changed the first line to #!/bin/bash...

but I don't know how to follow with the process. I've tried to execute 'build-osx-bundle.sh', but
I get this error:

./build-osx-bundle.sh: line 49: BUNDLE_PATH: Bundle path not set.

So I've created a new 'bundle' directory, and ran the script with:

./build-osx-bundle.sh ezgba-cli "" bundle

But then I get these messages:

cp: fts_open: No such file or directory
chmod: bundle/Contents/Resources/ezgba.icns: No such file or directory

Any help, please? How do I get the .icns file?

I have the binaries of the 0.2.0a2 version, but I'd like to know how to generate the OS X binaries, too.

eyp commented

I got it, just found the icons :)