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
I keep getting this writing to a closed file error while trying to compile
When trying to compile my class I get an error: The constant 'NamespaceName.ClassName.CONST_NAME' cannot
I am trying to compile this .c code in windows using MinGW (gcc file.c
I'm trying to compile the two files below, but get an error message from
Trying to compile gearman on Suse 10 and I get this: #:~/src/gearmand-0.14> sudo make
I'm trying to add an header file to dev-C++ but when I compile it
I'm trying to compile a Delphi 7 project that I've inherited, and I'm getting
i am trying to compile this very simple piece of code class myList {

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.