Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Internal Builder: Exec error:The system cannot find the file specified.
Internal Builder: Exec error:The system cannot find the file specified. [message #201390] Tue, 11 September 2007 15:28 Go to next message
Eclipse UserFriend
Originally posted by: helene.montarou.ericsson.com

Hi,

I am working with Eclipse 3.3 JavaEE. I added the CDT 4.0 plugin.
I installed:
- MinGW 5.1.3 (C:\MinGW),
- gdb 6.6 (C:\MinGW),
- MSYS 1.0.10 (C:\msys\1.0),
As it is suggested in the user guide.

The toolchain is well recognized but I got the following error when I try
to build the Hello World application described in the user guide.

------------------------------------------------------------ ------

**** Rebuild of configuration Debug for project HelloWorld ****

**** Internal Builder is used for build ****
g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\HelloWorld.o
..\src\HelloWorld.cpp
Internal Builder: Exec error:The system cannot find the file specified.

Build error occurred, build is stopped
Time consumed: 10 ms.

------------------------------------------------------------ ------

Also, I got sometimes the famous warnings: Error launching external info
generator.

Settings:

echo %PATH%
C:\Perl\bin\;C:\Program Files\SAP\FrontEnd\Controls\;C:\Program
Files\SAP\FrontEnd\SAPgui\;C:\WINNT\system32;C:\WINNT;C:\WIN NT\System32\Wbem;C:\Program
Files\ATI Technologies\ATI Control Panel;c:\Program
Files\orant\BIN;C:\Program Files\Rational\Common\;C:\Program
Files\Rational\ClearCase\bin\;C:\Pr
ogram
Files\Rational\common;C:\Ericsson\SDS3.1\icp;C:\Ericsson\SDS 4.0\icp;C:\Program
Files\QuickTime\QTSystem\;;C:\Ericsson\SDS4.0\icp\windows;C: \Program
Files\Microsoft Visual Studio\Common\Tools\WinNT\;C:\Program
Files\Microsoft Visual Studio\Common\MSDev98\bin;C:\Program
Files\microsoft visual st
udio\common\tools;C:\Program Files\Microsoft Visual
Studio\VC98\Bin\;G:\BIN32\;G:\BIN;G:\DLL32;C:\apache-ant-1.6 .5\bin;C:\Cavaj
Java Decompiler;C:\MinGW\bin;C:\msys\1.0\bin

------------------------------------------------------------ ------

C:\>make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-msys
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.

------------------------------------------------------------ -------

C:\>g++ -v
Reading specs from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as
--host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads
--disable-nls --enable-languages=c,c++,f77,ada,objc,java
--disable-win32-registry --disable-shared --enable-sjlj-exceptions
--enable-libgcj --disable-java-awt --w
ithout-x --enable-java-gc=boehm --disable-libgcj-debug
--enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.2 (mingw-special)


I guess there is something somewhere I did not configure correctly but
from now I have not succeeded to find what.

Thank you and best regards,

Helene.
Re: Internal Builder: Exec error:The system cannot find the file specified. [message #201433 is a reply to message #201390] Wed, 12 September 2007 09:21 Go to previous messageGo to next message
Eclipse UserFriend
Helene wrote:
> **** Internal Builder is used for build ****
> g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\HelloWorld.o
> .\src\HelloWorld.cpp
> Internal Builder: Exec error:The system cannot find the file specified.
>
> Build error occurred, build is stopped
> Time consumed: 10 ms.
> ------------------------------------------------------------ ------

The paths seem to be incorrect. Managed build should be in your
configuration's folder under your project. E.g., if your project is
named Foo, and your configuration is named Debug, then it should be
building in Foo/Debug, i.e. that should be the CWD.

This means that when it looks for your source file, it should be looking
in ..\src\, not .\src, which is where the object files built from ..\src
should be ending up.

Not sure what is causing this. Did you mess with the output settings or
the command line? Maybe it's a bug...


===========================

Chris Recoskie
Team Lead, IBM CDT Team
IBM Toronto
http://www.eclipse.org/cdt
Re: Internal Builder: Exec error:The system cannot find the file specified. [message #201669 is a reply to message #201433] Fri, 14 September 2007 17:23 Go to previous message
Eclipse UserFriend
Originally posted by: helene.montarou.ericsson.com

Actually, I unzipped the cdt-master directly to Eclipse instead of using
the update manager, that is why I got that error.
My mistake. That was already posted but I did not recognize the problem
described as the same as I had.
Thank you very much.
Previous Topic:stop building project references
Next Topic:Schedule CDT Index rebuild?
Goto Forum:
  


Current Time: Tue May 06 18:54:30 EDT 2025

Powered by FUDForum. Page generated in 0.03403 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top