![]() |
|
#1
|
|||
|
|||
jGrasp Compile ErrorI am trying to compile a program in jGrasp, but every time I try I receive an error -
Quote:
|
|||
|
#2
|
||||
|
||||
Re: jGrasp Compile ErrorQuote:
__________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: jGrasp Compile ErrorOk, so I installed it making sure g++ was checked. Now I receive the following error -
Code:
I just wanted to see if it worked, so here is the code I used - CPP / C++ / C Code:
Last edited by admin : 28-Aug-2008 at 22:04.
Reason: Please insert your example C/C++ codes between [CPP] and [/CPP] tags
|
|
#4
|
||||
|
||||
Re: jGrasp Compile ErrorI don't think that g++ accepted that path (having spaces) as a valid input file.
One thing to try, is to replace the spaces with underscores, and that should help. But if not, post another reply. __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#5
|
|||
|
|||
Re: jGrasp Compile ErrorSpaces aren't the problem unless it's a very old version of jGRASP (like ten years old).
You can turn on "Settings" / "Verbose Messages" in jGRASP to see the full path to the g++ that gets called and the quoted arguments (labeled as "actual command sent"). I'm guessing that you're missing something else from Cygwin (maybe the "wrong" preprocessor is being called or something). If you have the disk space, the easiest thing is just to install everything from Cygwin (takes a while though). Otherwise, you can add a "-v" flag to the compile-and-link command to see the details of what "g++" is doing. |
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Two-Tier data dissemination code installation problem | nidhibansal1984 | Computer Software Forum - Linux | 6 | 16-Sep-2007 11:13 |
| Linked Lists advice request | promsan | C Programming Language | 74 | 23-May-2007 09:29 |
| Major newbie problem | cynack | MS Visual C++ / MFC Forum | 1 | 08-Apr-2007 12:25 |
| Winsock error when compiling FLTK 2.0 Projects | mauriciorossi | FLTK Forum | 3 | 16-Aug-2005 11:18 |
| Help with syntax errors | PeteGallo | C Programming Language | 7 | 08-Aug-2005 21:30 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The