Building ATAK on macOS
Hi, I am trying to use the convenience script on macOS, but it is failing.
First, it fails to compile SQLite due to this line: https://github.com/deptofdefense/AndroidTacticalAssaultKit-CIV/blob/master/takthirdparty/mk/sqlite.mk#L26
which I changed to:
$(CC) -c -v -I ./ -I $(OUTDIR_CYGSAFE)/include $(sqlite_CFLAGS) $(sqlite_fixedflags) -o $(OUTDIR_CYGSAFE)/$(sqlite_srcdir)/sqlite3.o $(OUTDIR_CYGSAFE)/$(sqlite_srcdir)/sqlite3.c
However, it is now failing on this line: https://github.com/deptofdefense/AndroidTacticalAssaultKit-CIV/blob/master/takthirdparty/mk/ogdi-common.mk#L16
it is attempting to patch ogdi/config/unix.mak via /takthirdparty/distfiles/ogdi-pgsc.patch and it fails on that "hunk" for an unknown reason.
I tried using --ignore-whitespace --fuzz 3 in the patch call in ogdi-common.mk but that didn't work.
Any suggestions?
@bigfish24 TAK Third Party (TTP) builds are currently only guaranteed to work on Linux; please see the note on https://github.com/deptofdefense/AndroidTacticalAssaultKit-CIV/blob/master/BUILDING.md under Development Environment > Other Dependencies > TAK Third Party Build System. Unfortunately, I don't have any specific thoughts on why patch isn't succeeding for that patch file on macOS.
We don't currently have effort scheduled to resolve building TTP on other host platforms, so a Pull Request with changes to get that functional on macOS would be most welcome!
Thanks, I will switch to Linux for now and continue working on fixing the macOS issues in parallel - if successful then create a PR for review.
got same issues on Catalina. compiled sqlite by adding to PATH toolset/bin folder compiled ogdi by patching it in tar.gz file by hand. Weird "patch" bug