compiling using CDT [message #129210] |
Mon, 29 November 2004 15:06  |
Eclipse User |
|
|
|
Originally posted by: vman_2003.yahoo.co.uk
Hi, ive installed CDT plugin for eclipse and can open my c++ project files
but i cant seem to compile them. I get thsi error message:
Error launching builder (make all )
(Exec error:Launching failed)
ive installed cygwin which has the make,g++ and gdb. I also have dev-Cpp
which also has make,gcc and gdb. I dont know how i can tell eclipse to
look in the cywgin bin folder for the make command, theres no option for
it.
I have eclipse v3. Can someoen tell me if theres a way to make eclipse
compile the files or do i have to compile them through the cywgin command,
but i prefer to compile and run through eclipse.
thanks
|
|
|
|
|
|
|
|
Re: compiling using CDT [message #129506 is a reply to message #129495] |
Tue, 30 November 2004 13:13  |
Eclipse User |
|
|
|
Harry,
Having read the entire thread, I would suggest that your problems are
still related to the PATH environment variable.
All exes compiled under Cygwin need to link in the Cygwin DLLs at
run-time. You can check out their FAQ for why. Anyway, DLLs must be in
the PATH (which includes the directory where the executable resides) or
you will see this message. Your choices include copying the needed DLLs
into the directory where your executable is, or fixing your path problem.
Frankly, I'd avoid putting the Cygwin binaries in any directory with
spaces in the path but I doubt that this is the root of your present
difficulties.
Sean
Harry wrote:
> hello Jon
>
> Your way worked, i created a bat file and placed the commands in there,
> my project now compiles. I dont understand why teh system varaible
> thingy doesnt work but doesnt matter.
>
> But im still getting launch failed o binaries when i try to run it. I
> looked in teh folder and the .exe file is there(im assumign this is the
> binary its talkign about). I clicked on the binary file it self and it
> came out with
> 'this application has failed to start because cygwin1.dll was not
> found...' that file is in the bin folder so any suggestions
>
> thanks
|
|
|
Powered by
FUDForum. Page generated in 0.03114 seconds