Switch to full style
About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.
Post a reply

Build kanjitalk755 code under Mojave & Xcode 10?

Mon Nov 19, 2018 4:46 pm

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?

Sat May 04, 2019 10:55 am

Not so obvious to me, but this certainly helped me. :smile:

Re: Build kanjitalk755 code under Mojave & Xcode 10?

Wed Mar 11, 2020 1:31 pm

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:
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?

Wed Mar 11, 2020 8:07 pm

Sounds like this might be a problem similar to this one:

viewtopic.php?f=6&t=10459&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?

Thu Mar 12, 2020 8:04 am

emendelson wrote:Sounds like this might be a problem similar to this one:

viewtopic.php?f=6&t=10459&start=100

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

Re: Build kanjitalk755 code under Mojave & Xcode 10?

Thu Mar 12, 2020 9:54 am

Not everyone. I have that problem too on Mojave.

Best,
Cat_7

Re: Build kanjitalk755 code under Mojave & Xcode 10?

Thu Mar 12, 2020 11:49 am

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?

Thu Mar 12, 2020 12:38 pm

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?

Fri Mar 13, 2020 3:13 pm

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?

Sun Mar 15, 2020 8:53 am

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?

Fri Mar 27, 2020 5:51 pm

Good news: I just updated to Xcode 11.4 and now this MacBook finally also compiles the code OK.
Post a reply