Error Message using jGRASP

Aug 31, 2010 at 1:50pm
So we just started writing programs and I followed my teachers code to the T and it looks like this.

#include<isostream>
using namespace std;

int main()
{
cout << "Hello, today is Tuesday." << endl;
cout << "Tomorrow is Wednesday.";

return 0;
}

Something simple to just have it say Hello.....Wednesday.

I end up getting these error messages:


----jGRASP exec: g++ -g -c /Users/CRinger/School/ITCS 1212-001/FirstProgram.cpp
----jGRASP wedge: could not execute g++
---- error number 2.
----
---- Target does not exist or is not on PATH.
----
---- PATH is ":/usr/bin:/bin:/usr/sbin:/sbin".

----jGRASP: operation complete.

So any tips for a first time user?
Aug 31, 2010 at 2:20pm
Does this happen to anyone else? looks like your user was not added to a user list?? I could be wrong though
Aug 31, 2010 at 2:24pm
Its actually a remote laptop, so it is not connected to her network. Not sure if that helps at all.
Aug 31, 2010 at 2:27pm
Try reinstalling the compiler.

Back up any work you done using it first.
Last edited on Aug 31, 2010 at 2:28pm
Aug 31, 2010 at 3:32pm
So I have figure out the issue. However I am not sure how to fix it. The IDE is installed but the compiler is not. I just downloaded straight from the jgrasp website. I've tried xcode however not having an up to date OS for mac won't let it install. I have also tried codeblocks but there are a bunch of bugs that won't let me type code in the way I would like to. Any other free IDE+Compilers I can find. Its for just an intro course so I don't need anything fancy just something to get through the semester without having to waste time in our computer labs.
Topic archived. No new replies allowed.