[CMake] cmake from eclipse has error but cmake from shell works fine??!? help!

Alexander Neundorf a.neundorf-work at gmx.net
Fri Sep 4 13:59:36 EDT 2009


On Monday 17 August 2009, Steve Mathers wrote:
> I
> have a relatively simple cmake file that has generated a great big
> Makefile (and associated CMake files) that compiles my project just
> fine when I invoke it from the bash shell, simply by typing 'make'.
>
> When I configure eclipse to do the same thing (simply calling make in the
> same directory) it also works fine the first time. however, if I edit some
> code in eclipse and fire up the debuger
> again, it halts with some error. the error is non-descriptive,
> something like 'error 2', even in VERBOSE mode.
>
>
> What could possibly be different in eclipse that could cause it to
> work the first time, but halt with an error the next time, when only a
> single file needs to be rebuilt? yet the exact same command 'make' from
> the shell works every time...
>
> I tried copying my entire shell path into the eclipse debug config path -
> it didnt help.

You need to post some more information, otherwise we can't help. 
What is the error message ?

Alex


More information about the CMake mailing list