I've just purchased SystemModeler (Mac OS X Mavericks) but can't verify the g++ compiler path. I assume it's in the Xcode package but nothing I've tried seems to work, for example,
Applications/xcode.app/Contents/Developer/usr/bin
Any ideas?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityI was formally informed by WRI personnel that the system modeler is not (yet) compatible with 10.9
I just solved this problem, which is in fact resulted from the missing of gcc and apple developer tool. 1.gcc: refer to this page for the installation of gcc 4.8: gcc 4.7, 4.8 and 4.9
2.Apple Developer Tool: Just install it by executing this command in Terminal:
xcode-select --install
After install the developer tool, verify the g++ compiler in Preferences of SystemModeler under the compiler section. Good luck.
/usr/bin
, putting /usr/bin
in the compiler section of the preferences results in "Compiler verification failed. Change the settings and try again."
$\endgroup$
Mar 19, 2014 at 23:22
SystemModeler 4 supports Mac OS X Mavericks out of the box.
Locate the Compile script in the SystemModeler bundle, in a standard installation it should be located here /Applications/SystemModeler.app/Contents/MacOS/Compile
.
To get there, right-click (or Ctrl+left click) on the SystemModeler bundle and select "Show Package Contents". Then you can browse into Contents/MacOS. Open the Compile file in a text editor and substitute the contents with this:
#!/bin/sh
export export MACOSX_DEPLOYMENT_TARGET=10.8
make $2 -f $1.makefile > $1.log 2>&1
Warning: Make sure that the new file does NOT use windows line endings, because then nothing will work.
xcode-select --install
Could be not work (https://stackoverflow.com/questions/9329243/xcode-4-4-and-later-install-command-line-tools/9964905#9964905). But it is posible to download from https://developer.apple.com/downloads/index.action, it is required to sign in (or sign up if you don't have a apple account).
After that, like sunt05 suggest (sorry, I can't vote), you must install gcc 4.8 binaries following the instructions of hpc.sourceforge.net. Then, in system modeler put the path /usr/local/bin and push verify.
XCode > Preferences > Downloads > Components > Command Line Tools > Install
. If you upgrade to XCode 5, it should come with the command line tools. $\endgroup$