I can build kanjitalk755's excellent BasiliskII code under High Sierra and Xcode 9.4. Under Mojave and Xcode 10.1, the genpcu module produces this error:
error: Build input file cannot be found: '/Users/edward/Library/Developer/Xcode/DerivedData/BasiliskII-bnefkqahrmhuywchlwzfrqstsman/Build/Products/Release/build68k_output/defs68k.c'
Is there an obvious solution to this? Or a non-obvious one?
EDIT: Yes, there is an obvious solution. File-->Project Settings-->Build System, change to "Legacy Build System." Maybe this will help someone else!
emendelson wrote:I can build kanjitalk755's excellent BasiliskII code under High Sierra and Xcode 9.4. Under Mojave and Xcode 10.1, the genpcu module produces this error:
error: Build input file cannot be found: '/Users/edward/Library/Developer/Xcode/DerivedData/BasiliskII-bnefkqahrmhuywchlwzfrqstsman/Build/Products/Release/build68k_output/defs68k.c'
Is there an obvious solution to this? Or a non-obvious one?
EDIT: Yes, there is an obvious solution. File-->Project Settings-->Build System, change to "Legacy Build System." Maybe this will help someone else!
Interesting, the same error occurres again using Xcode 11.3.1 on Catalina. - Current project setting is "Legacy Build System" and no improvement switching to "New build system".
clang: error: no such file or directory: '/Users/mickeyMouse/Library/Developer/Xcode/DerivedData/BasiliskII-cuuxyciijfkrbobvqtldhcveczlm/Build/Products/Release/gencpu_output/defs68k.c'
clang: error: no input files
A version from February compiles just fine, but I fail on the recent build.
Any idea what mistake I made or which switch I should toggle?
As you see from that thread, some of us have had no trouble building current code. It's a puzzle.
Thank you for confirming that my experience is not an exempt case. - I simply feels stupid, if everyone compiles code w/o significant problems, just here it fails... =8D
Well, that worked for me (XCode 11.3.1 on Catalina). The build still produces a few warnings: three functions without a prototype, two depreciated functions (AuthorizationCopyPrivilegedReference and AuthorizationExecuteWithPrivileges) and two about promoted type "int" not compatible with specified type u_char (both in ip_icmp.c).
Since those are warnings, it builds and executes just fine.