Message Boards Message Boards

GROUPS:

SystemModeler 4.3 on OS X 10.14 not working?

Posted 5 months ago
784 Views
|
5 Replies
|
0 Total Likes
|

Hi:

I've tried everything (I think) trying to get SM 4.3 to work with my iMac on 10.14 including different versions of XCode ranging from 6.2 to 10.3 where the SDK for 10.14 is clearly there. So, why is it not working even with manually entering C++ compiler options? I removed all compiler flags except libc++

Someone who is experienced, please help!!

Thanks, Gani !!

SM compiler manual preferences

Attachments:
5 Replies

SystemModeler 4.3 is quite old and the support libraries that simulations are linked with was at that time built with libstdc++, so you cannot change to link with libc++ (that's why you get link errors).

What you need is an Xcode old enough to ship with libstdc++ and my googling tells me that Xcode 9 or older should do that. I verified on my machine that 4.3 works with Xcode 9.2 with the default compiler flags (-m64 -stdlib=libstdc++ -fPIC).

Otto

Thank you Otto! I will try it and let you know.

gani-

Hi Otto:

How did you download XCode 9.2? I went to the official Apple Software Downloads (https://developer.apple.com/download/more/?name=Xcode) but after downloading versions XCode9.2.xip (or XCode9.3.xip) and trying to expand them, I get a message "The archive "XCode_9.2.xip" does not come from Apple". Not sure how to proceed, unless you know a way of getting .dmg file for these.

thanks, Gani -

I already had it installed.

It seems to be signed with and outdated certificate, sounds like you could get around it by changing your system date: https://forums.developer.apple.com/thread/125108

Or do something like this: https://stackoverflow.com/questions/40414645/how-to-extract-xip-archive-using-command-line/47638524

I hope that helps, Otto

That's great! I will check it out.

gani-

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract