Login  •  Register


The time is now: Sun Nov 18, 2018 3:35 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 10 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Mon Oct 22, 2018 1:34 am 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 922
I've been trying to build kanjitalk755's code under Xcode 10 under Mojave. After solving a few problems caused by own incompetence, I'm baffled by this error in kph_cpu:

In nvmzmfun.cpp, this line:

#include <functional>

produces the error

'functional' file not found.

I've tried running Xcode-select --install to install the command-line tools, having read that this solves the problem. But it doesn't solve it. I can see the file "functional" in the same place in the Toolchains folder under Xcode 10 where it was in Xcode 9, so I'm puzzled. If anyone has any insight, please let us know!


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Oct 22, 2018 2:01 am 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 922
To answer my own question: the answer seems to be in this thread:

https://forums.developer.apple.com/thread/106114

Look for the reply by gsmalley (third post). You may also have to change some deployment targets to 10.7 or later before it will finally build, and also remove any build setting that points to i386.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Oct 22, 2018 4:30 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 2265
Location: Emaculation.com
Sounds like we should have a Mojave project file so people don't have to manually do this every time they want to build. I've been setting minimum target to 10.11 and dropping i386 since Sierra for my own builds (of anything), but breaking out the x64 and i386 projects sounds like a good idea at this point.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Oct 23, 2018 12:29 am 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 922
adespoton wrote:
Sounds like we should have a Mojave project file so people don't have to manually do this every time they want to build. I've been setting minimum target to 10.11 and dropping i386 since Sierra for my own builds (of anything), but breaking out the x64 and i386 projects sounds like a good idea at this point.


Your wish is my command. Here's the xcodeproj file modified for Mojave. I also changed the Run setting to create a Release version rather than a Debug version, but that's easy to change back:

http://www.columbia.edu/~em36/SheepShav ... Mojave.zip

Replace the existing xcodeproj file with this one (of course after making a backup of the original).


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Oct 23, 2018 5:20 am 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 2265
Location: Emaculation.com
Thanks! Anyone able to commit it back to the main project?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Oct 23, 2018 7:21 am 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 5185
Location: Amsterdam, Netherlands
adespoton wrote:
Thanks! Anyone able to commit it back to the main project?

Which "main project" do you refer to? This is about the source code from kanjitalk755/macemu, which is developed way beyond the code in cebix/macemu.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Oct 23, 2018 3:57 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 2265
Location: Emaculation.com
I was talking about kanjitalk755/macemu -- the cebix/macemu code doesn't have all the fixes, so adding it to that wouldn't make much sense.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Oct 23, 2018 4:52 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 922
kanjitalk755 visits this forum. I'm sure he can do a better job of updating the project file than I could, so let's wait and see if he decides to update his original.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Oct 28, 2018 6:08 am 
Offline
Tinkerer

Joined: Thu Nov 09, 2017 12:06 pm
Posts: 53
I have updated my repo for Xcode10.

https://github.com/kanjitalk755/macemu

But SDL2.0.8 (stable version) is seems to be incompatible with 10.14SDK.
I encountered black screen on launching SheepShaver.
The problem can be resolved using the SDL built by latest source.
If you use SDL2.0.8, I recommend to use Xcode9 and 10.13SDK.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Oct 28, 2018 9:20 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 922
Thank you, kanjitalk755!

I can confirm that SheepShaver builds successfully under Mojave. I used kanjitalk755's method of adding an "External" folder to project and copying the current SDL 2.0.9 source into it. The SDL authors warn that this is not final code, but it seems to work for SheepShaver.


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 10 posts ]


Who is online

Users browsing this forum: Baidu [Spider] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group