Page 1 of 1
Build kanjitalk755 code under Mojave & Xcode 10?
Posted: Mon Nov 19, 2018 4:46 pm
by emendelson
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!
Re: Build kanjitalk755 code under Mojave & Xcode 10?
Posted: Sat May 04, 2019 10:55 am
by Ronald P. Regensburg
Not so obvious to me, but this certainly helped me.
Re: Build kanjitalk755 code under Mojave & Xcode 10?
Posted: Wed Mar 11, 2020 1:31 pm
by KnuddlMac
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".
Code: Select all
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?
Re: Build kanjitalk755 code under Mojave & Xcode 10?
Posted: Wed Mar 11, 2020 8:07 pm
by emendelson
Sounds like this might be a problem similar to this one:
https://www.emaculation.com/forum/viewt ... &start=100
As you see from that thread, some of us have had no trouble building current code. It's a puzzle.
Re: Build kanjitalk755 code under Mojave & Xcode 10?
Posted: Thu Mar 12, 2020 8:04 am
by KnuddlMac
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
Re: Build kanjitalk755 code under Mojave & Xcode 10?
Posted: Thu Mar 12, 2020 9:54 am
by Cat_7
Not everyone. I have that problem too on Mojave.
Best,
Cat_7
Re: Build kanjitalk755 code under Mojave & Xcode 10?
Posted: Thu Mar 12, 2020 11:49 am
by Ronald P. Regensburg
You run Mojave on a Hackintosh or in a virtual machine on a PC, don't you? Could that be a common factor?
Re: Build kanjitalk755 code under Mojave & Xcode 10?
Posted: Thu Mar 12, 2020 12:38 pm
by Cat_7
Nope, I run that on an actual Apple machine (for once)
(Mac mini server that was tricked into running Mojave.)
Catalina in Virtual box compiles just fine.
Best,
Cat_7
Re: Build kanjitalk755 code under Mojave & Xcode 10?
Posted: Fri Mar 13, 2020 3:13 pm
by RichCini
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.
Re: Build kanjitalk755 code under Mojave & Xcode 10?
Posted: Sun Mar 15, 2020 8:53 am
by KnuddlMac
Back home: New machine, new luck -> Finally builds OK on Catalina with SDL2.12 and Xcode 11.3 .
Wonderful, so all that is missing are the KEXTs.
But outside is sunshine and I already did waste a full day yesterday to get a Powerbook Duo with a Duo Dock running.
Anyone out there with a Asanté Nubus RJ45 Ethernet driver?
Happy Hackin' and let's stay virus free!
Re: Build kanjitalk755 code under Mojave & Xcode 10?
Posted: Fri Mar 27, 2020 5:51 pm
by KnuddlMac
Good news: I just updated to Xcode 11.4 and now this MacBook finally also compiles the code OK.