Wolfram Computation Meets Knowledge

How do I set up a C++ compiler on macOS?

Read this article in: Deutsch, Español, Français, 日本語, 한국어, Português, Русский, 中文


In order to use System Modeler, Command Line Tools must be installed, and System Modeler must be able to access it.

  1. Launch the Terminal, found in /Applications/Utilities.
  2. Run the following command:
     xcode-select --install 

    A software update popup window will appear.

  3. Click Install to download and install the Command Line Tools. The License Agreement window will appear.
  4. Click Agree to proceed with the installation.

  5. Wait for the download and installation to complete.
  6. Click Done to complete the installation process.
  7. Start System Modeler. System Modeler will automatically detect the tools as the default compiler.
  8. Verify that System Modeler succeeded. If the compiler was not detected, please try setting it up manually.
  9.  

You could also install Command Line Tools together with Xcode. To download and install Xcode, visit the Mac App Store.

Is this article helpful?
Yes
No

Any comments?

Thank you for your feedback.

Submit

Contact Support

Whether you have a question about billing, activation or something more technical, we are ready to help you.

1-800-WOLFRAM (+1-217-398-0700 for international callers)

Customer Support

Monday–Friday
8am–5pm US Central Time

  • Product registration or activation
  • Pre-sales information and ordering
  • Help with installation and first launch

Advanced Technical Support (for eligible customers)

Monday–Thursday
8am–5pm US Central Time

Friday
8:30–10am & 11am–5pm US Central Time

  • Priority technical support
  • Product assistance from Wolfram experts
  • Help with Wolfram Language programming
  • Advanced installation support