Updated Build OSX MacPorts .App (markdown)

Charles J. Cliffe 2015-02-18 01:28:23 -05:00
parent 400b29dc29
commit 1046ce1c57

@ -1,8 +1,5 @@
# Mac App Build Instructions (using MacPorts):
Note: This is a work-in-progress as relevant branch for these instructions is https://github.com/cjcliffe/CubicSDR/tree/osx-app-build and the .app does not currently run on my system (but regular build with same libraries does).
### Build wxWidgets
Substitute your own user paths where appropriate.
@ -15,7 +12,7 @@ ccliffe$ wget http://sourceforge.net/projects/wxwindows/files/3.0.2/wxWidgets-3.
ccliffe$ tar -xvjpf wxWidgets-3.0.2.tar.bz2
... unpacking ...
ccliffe$ cd wxWidgets-3.0.2
ccliffe$ ./configure --with-opengl --with-libjpeg --with-libtiff --with-libpng --with-zlib --with-mac --disable-sdltest --enable-unicode --enable-display --enable-debug --disable-webkit --disable-webview --disable-webviewwebkit --with-macosx-version-min=10.9 --prefix=/Users/ccliffe/Dev/wxWidgets-build CXXFLAGS="-std=c++0x" --with-libiconv=/usr
ccliffe$ ./configure --with-opengl --disable-shared --enable-monolithic --with-libjpeg --with-libtiff --with-libpng --with-zlib --with-mac --disable-sdltest --enable-unicode --enable-display --enable-debug --disable-webkit --disable-webview --disable-webviewwebkit --with-macosx-version-min=10.9 --prefix=/Users/ccliffe/Dev/wxWidgets-staticlib CXXFLAGS="-std=c++0x" --with-libiconv=/usr
... configuring ...
ccliffe$ make && make install
... building, installing ...
@ -42,4 +39,4 @@ ccliffe$ make install
.. compiling ..
```
Note: CubicSDR.app should now be in x64/, as of writing it doesn't actually run, regular build with the same libraries should work (remove -DBUNDLE_APP for regular build).
CubicSDR.app should now be built as x64/CubicSDR.app