help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unable to build


From: Guy Harrison
Subject: Re: unable to build
Date: Wed, 11 Aug 2004 01:00:25 GMT
User-agent: KNode/0.7.7

Edo wrote:

> Hello
> I am not able to build this simple project, it is giving me the error
> below the code

You need to ask in DevCpp forum...
 
> thanks for helping
> 
> //////////////////code/////////////////
> #include <iostream>
> #include "SpatialIndex.h"
> using namespace std;
> 
> 
> int main()
> {
> 
>      cout << "keep on going " << endl;
> cin.sync(); getchar(); return 0;
> return 0;
> }
>
> /////////////////error/////////////////
> Compiler: Default compiler

...because it's generating the makefile...

> Building Makefile: "C:\IBMDRV\C++\work\proj1\Makefile.win"
> Finding dependencies for file: C:\IBMDRV\C++\work\proj1\main.cpp
> Executing  make...
> make.exe -f "C:\IBMDRV\C++\work\proj1\Makefile.win" all
> C:\IBMDRV\C++\work\proj1\Makefile.win:28: *** multiple target patterns.
>   Stop.
> Execution terminated

...and its that makefile(.win) which is causing your compilation to stop.

> ////////////////Makefile.win////////////
> # Project: Project1
> # Makefile created by Dev-C++ 4.9.9.0

[snip]

If you suspect a problem with gcc itself, this is the place to post. If you
have problems with 3rd party stuff, ask the 3rd party. If you have problems
with the IDE then DevCPP problem. Finally (and non-too obvious) if you have
pure linker problems then its a system problem and thus best dealt with via
DevCpp (or ultimately mingw). Linker issues might be ontopic here but best
to exhaust other avenues first.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]