MAC jGrasp Running Problem.. Please Help

I just installed jGrasp on my macbook pro running OS X v10.6.8 and tried to compile and run a simple code i was assigned in class.

#include <iostream>
using namespace std;

int main()
{
int i=0;

cout<<"hello world "<<i<<endl;

return 0;
}



And when i compiled i got and output message stating:

----jGRASP exec: g++ -g /Users/Pardeepkumar/Desktop/CSC/HELLOMAC.cpp
----jGRASP: operation complete.
----jGRASP: unexpected exit value (139) from wedge.

And then tried to run it:

----jGRASP exec: /Users/Pardeepkumar/Desktop/CSC/a.out
----jGRASP: operation complete.
----jGRASP: unexpected exit value (139) from wedge.


I can't seem to figure out what the problem is, if anyone has had this problem and knows of the solution please help me out.

Thank You!
Turn on "Settings" / "Verbose Messages" and see if you get any additional output. Let us know the results using "Help" / "Report a Bug".

If you have the latest version of jGRASP, you can skip the wedge and run it in a pure Java mode from the command line by going to the jGRASP installation Contents/Resources/jgrasp directory and running java -jar jgrasp.jar -pj . The only problem is that your I/O will most likely be buffered unless you turn buffering off in your code.
Topic archived. No new replies allowed.