Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3442872
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:43:21+00:00 2026-05-18T08:43:21+00:00

When trying to compile a c++ file in textmate (this happens when clicking run),

  • 0

When trying to compile a c++ file in textmate (this happens when clicking run), I get an error in a seperate window that says:

Can’t find “g++” on PATH.

Theme:
The current PATH is:

/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/usr/texbin
/usr/X11/bin
Please add the directory containing “g++” to PATH in TextMate’s Shell Variables preferences.

Alternatively, the PATH can be retrieved from Terminal but this requires a relaunch:
Set PATH and relaunch (button)

Clicking clicking Compile Single File to Tool gives a different error.
It says: “sh: g++: command not found”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T08:43:21+00:00Added an answer on May 18, 2026 at 8:43 am

    Textmate is telling you that it cannot find the compiler (g++).

    You should either move the g++ executable into one of the directories specified in the PATH variable, or add the directory containing the g++ executable to the PATH.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I always get this error when trying to compile my file with Boost::GIL PNG
When trying to compile a file that include winnt.h via windows.h, I get the
Trying to compile a iPhone/iPad application with SDK3.2 and am getting this error: Undefined
I'm trying to compile a haskell file that has a HUGE number of errors
I'm trying to compile (using cygwin) a C header file that includes netinet/ether.h. On
I'm trying to compile a cs file that is in a sibling directory of
hi im developing silverlight application but when i m trying to compile that file
When trying to compile the following file in xcode: http://openkinect.org/wiki/C%2B%2BOpenCvExample I get these errors:
I'm trying to compile this .ccp file. I got it from https://github.com/loarabia/Clang-tutorial . //
I'm a complete newbie at Haskell. I'm trying to compile this Haskell file I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.