Eclipse CDT error [message #247828] |
Mon, 04 February 2008 21:31  |
Eclipse User |
|
|
|
Originally posted by: rajkumar.p84.gmail.com
Hello all
I am new to Eclipse. I am looking to work in Eclipse CDT. I installed
Eclipse 3.3.1.1 and CDT 4.0.2. I am using MinGW and have entered its path
C:\MinGW\bin in the path variable. Now, when I create a C++ project and
compile it, the console window throws the following error:
**** Build of configuration Debug for project raj ****
**** Internal Builder is used for build ****
g++ -O0 -g3 -Wall -c -fmessage-length=0 -oraj.o ..\raj.cpp
Internal Builder: Exec error:The system cannot find the file specified.
Build error occurred, build is stopped
Time consumed: 15 ms.
There are no files in the Debug directory of the project.
Initially, when I first tried running the project, it threw the error
Launch failed; no binaries
I searched online and found this:
3. When I try to run my C++ program, it says "Launch failed; no binaries".
What to do?
This answer applies to users of all platforms.
Try this:
1. Click on your project name.
2. Click the "Run" menu at the top of the screen. Choose "Run...".
3. A window will appear. Click "C/C++ Local Application" at the left.
Click "New" at the bottom left.
4. If your project name does not already appear in the "Project:" box,
click "Browse..." and select it.
5. Click the "Debugger" tab. From the drop-down menu, choose "GDB
Debugger".
6. Click the main tab. Next to "C/C++ Application:", choose "Search
Project...". Choose the current project and click "OK".
7. Click "Run".
I followed till step 6, but in step 6, when I clicked "Search Project", I
could not find any project listed.
Please help me with this problem.
Thanks!
Raj
|
|
|
Re: Eclipse CDT error [message #247853 is a reply to message #247828] |
Tue, 05 February 2008 02:42  |
Eclipse User |
|
|
|
Originally posted by: dmsubs.NOSPAM.consertum.com
--
Derek
Raj wrote:
> Hello all
>
> I am new to Eclipse. I am looking to work in Eclipse CDT. I installed
> Eclipse 3.3.1.1 and CDT 4.0.2. I am using MinGW and have entered its
> path C:\MinGW\bin in the path variable. Now, when I create a C++ project
> and compile it, the console window throws the following error:
>
> **** Build of configuration Debug for project raj ****
>
> **** Internal Builder is used for build ****
> g++ -O0 -g3 -Wall -c -fmessage-length=0 -oraj.o ..\raj.cpp
> Internal Builder: Exec error:The system cannot find the file specified.
This is becuase it can't find "g++" - are you sure that is what your compiler is
called?
>
> Build error occurred, build is stopped
> Time consumed: 15 ms.
> There are no files in the Debug directory of the project.
> Initially, when I first tried running the project, it threw the error
> Launch failed; no binaries
>
> I searched online and found this:
>
> 3. When I try to run my C++ program, it says "Launch failed; no
> binaries". What to do?
> This answer applies to users of all platforms.
> Try this:
> 1. Click on your project name.
> 2. Click the "Run" menu at the top of the screen. Choose "Run...".
> 3. A window will appear. Click "C/C++ Local Application" at the left.
> Click "New" at the bottom left.
> 4. If your project name does not already appear in the "Project:" box,
> click "Browse..." and select it.
> 5. Click the "Debugger" tab. From the drop-down menu, choose "GDB
> Debugger".
> 6. Click the main tab. Next to "C/C++ Application:", choose "Search
> Project...". Choose the current project and click "OK".
> 7. Click "Run".
> I followed till step 6, but in step 6, when I clicked "Search Project",
> I could not find any project listed.
>
> Please help me with this problem.
>
> Thanks!
> Raj
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.08207 seconds