Jump to content

A buddy and I decided to dig into C++ some, but are running into problems.

 

I have used Eclipse before, and knew it was good for C/C++ as well as the other languages I was using. So we decided to stick with that.

 

My problem is im getting the errors:

  • program "g++" not found in PATH
  • program "gcc" not found in PATH

What are these? And how do i put them into the "PATH"? I cant seem to find anything useful in a simple google search.

 

 

Many thanks!

 

post-316-0-41501600-1449454233_thumb.png

 

 

~Judah

Link to comment
https://linustechtips.com/topic/500583-eclipse-c-problem/
Share on other sites

Link to post
Share on other sites

gcc and g++ are compilers for C and C++ respectively, and PATH is the environment variables for letting the operating system know where to look for the compilers. 

 

for recent windows editions, go to "This PC" (almost said my computer) , right click properties -> advanced system settings -> 

unknown.png

 

unknown.png

 

you might need to install those compilers separately, and they should automatically be added to your path variable. 

otherwise, just find the folder that those g++.exe and gcc.exe is located and put that into the path variable with semicolons separating them. 

Me: Computer Engineer. Geek. Nerd.

[Educational] Computer Architecture: Computer Memory Hierarchy

[Educational] Computer Architecture:  What is SSE/AVX? (SIMD)

Link to comment
https://linustechtips.com/topic/500583-eclipse-c-problem/#findComment-6684485
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×