Pre & Post build steps in CDT [message #244958] |
Tue, 08 January 2008 04:35 |
Eclipse User |
|
|
|
Originally posted by: ravindranathm.jataayusoft.com
Dear all,
I am a new comer to Eclipse. I have installed Eclipse Europa with CDT, on
WinXP with MinGW.
While I am able to build project, the pre and/or post build steps do not
seem to work. For testing this, i have mentioned a very simple echo
command in the pre-build step. However I get an error as below.
**** Internal Builder is used for build ****
echo E:\CPP\CSocket\trunk\development\source_code\Debug
Internal Builder: Exec error:Launching failed
Build error occurred, build is stopped
Time consumed: 266 ms.
It looks like Eclipse is not able to find the echo command? Note that I
do not have cygwin installed, and so expect Eclipse to use the windows OS
commands.
regards,
rv
|
|
|
Re: Pre & Post build steps in CDT [message #244968 is a reply to message #244958] |
Tue, 08 January 2008 07:55 |
Eclipse User |
|
|
|
Originally posted by: dmsubs.NOSPAM.consertum.com
Unlike *nix, I think that echo is built in to cmd.exe - that is, there is no
such thing as echo.exe. The pre/post build is trying to exec echo.exe and thus
it won't work. To confirm, try using "cmd /c echo whatever".
--
Derek
Ravindranath wrote:
> Dear all,
>
> I am a new comer to Eclipse. I have installed Eclipse Europa with CDT,
> on WinXP with MinGW.
>
> While I am able to build project, the pre and/or post build steps do not
> seem to work. For testing this, i have mentioned a very simple echo
> command in the pre-build step. However I get an error as below.
>
>
> **** Internal Builder is used for build ****
> echo E:\CPP\CSocket\trunk\development\source_code\Debug
> Internal Builder: Exec error:Launching failed
> Build error occurred, build is stopped
> Time consumed: 266 ms.
> It looks like Eclipse is not able to find the echo command? Note that I
> do not have cygwin installed, and so expect Eclipse to use the windows
> OS commands.
>
> regards,
> rv
>
|
|
|
Powered by
FUDForum. Page generated in 0.07750 seconds