Paths and Compilers, and Totorials [message #79311] |
Thu, 28 August 2003 17:10  |
Eclipse User |
|
|
|
Originally posted by: BlackBsd.Mountain.Net
hi,
i know this is a newbie question but here goes. i am having a problem
running the c totorial. i have installed eclipse 2.1.1 and the cdt 1.1,
also i have installed mingw and msys and that is it. Do i have
everything needed?? How do i set up a correct path varibale if i need
one? the error that i am getting is
"Build Error
(Exec error:Launching failed)"
by reading the other posting i think that i have to set up a path
variable and set it equal to the path of the make.exe?? Is that right?
What should that name of the path variable be?
And should it point to "c:\msys\1.0\bin\make" or
"c:\MinGW\bin\mingw32-make"? What is the difference?
sorry so many quesions. but i cant get anything to compile.
TIA
bj
|
|
|
Re: Paths and Compilers, and Totorials [message #79326 is a reply to message #79311] |
Thu, 28 August 2003 18:10   |
Eclipse User |
|
|
|
Brian Black wrote:
> hi,
> i know this is a newbie question but here goes. i am having a
> problem running the c totorial. i have installed eclipse 2.1.1 and the
> cdt 1.1, also i have installed mingw and msys and that is it. Do i have
> everything needed?? How do i set up a correct path varibale if i need
> one? the error that i am getting is
> "Build Error
> (Exec error:Launching failed)"
>
> by reading the other posting i think that i have to set up a path
> variable and set it equal to the path of the make.exe?? Is that right?
>
> What should that name of the path variable be?
> And should it point to "c:\msys\1.0\bin\make" or
> "c:\MinGW\bin\mingw32-make"? What is the difference?
>
> sorry so many quesions. but i cant get anything to compile.
>
> TIA
> bj
>
Setting you PATH depends on your OS.
Under Windows 9x/ME you need to set it in your autoexec.bat.
In Windows 2000/XP you need to set it by right-clicking on your Desktop
on the (what is it called) "My Desktop", go to "Properties" on the
"Advanced" Tab, there is an "Environment Settings" Button, click on it.
In the lower list look for PATH, select it and an Dialog will open. Add
there just the following seapareted by semikolon:
C:\msys\1.0\bin;\C:\MinGW\bin
As PATH tells, it wants the path, not the whole program.
Accept the Dialog by clicking "Ok" all to the end.
Restart Eclipse.
|
|
|
Re: Paths and Compilers, and Totorials [message #79561 is a reply to message #79311] |
Mon, 01 September 2003 17:01   |
Eclipse User |
|
|
|
Originally posted by: david.waller1.blueyonder.co.uk
Brian,
I have recently got eclipse, CDT, mingw and msys to work together. The
trick I found
is to start eclipse through the msys environment, otherwise the system
will not find the
compiler (gcc) or make unless you change your path settings.
I created a simple file called eclipse and placed this in the
/usr/local/bin directory. The contents
are as shown below.
#!/bin/sh
cd /c/eclipse
eclipse -data /source/myworkspace
This assumes your eclipse executable is in C:/eclipse , the default place
and that in your msys
setup that /c is mapped to your c drive, which is the default.
Now start up Msys and enter eclipse and all should start as normal. Create a
C project and then
a file.
The reason for your failure is that eclipse is not able to find make. If you
follow the above then it will
find make and it works very well. The resultant executable can either be run
from Windows as normal, or
from the Msys environment.
Dave W
"Brian Black" <BlackBsd@Mountain.Net> wrote in message
news:bilr2f$628$1@eclipse.org...
> hi,
> i know this is a newbie question but here goes. i am having a problem
> running the c totorial. i have installed eclipse 2.1.1 and the cdt 1.1,
> also i have installed mingw and msys and that is it. Do i have
> everything needed?? How do i set up a correct path varibale if i need
> one? the error that i am getting is
> "Build Error
> (Exec error:Launching failed)"
>
> by reading the other posting i think that i have to set up a path
> variable and set it equal to the path of the make.exe?? Is that right?
>
> What should that name of the path variable be?
> And should it point to "c:\msys\1.0\bin\make" or
> "c:\MinGW\bin\mingw32-make"? What is the difference?
>
> sorry so many quesions. but i cant get anything to compile.
>
> TIA
> bj
>
|
|
|
Re: Paths and Compilers, and Totorials [message #80370 is a reply to message #79326] |
Wed, 17 September 2003 01:00  |
Eclipse User |
|
|
|
Originally posted by: simon.ou.edu
Hi...
This should be in the faq's. Thanks for your help. Many people
appreciate yours and others effort.
Regards...
Miguel.
kesselhaus wrote:
>
> Setting you PATH depends on your OS.
> Under Windows 9x/ME you need to set it in your autoexec.bat.
> In Windows 2000/XP you need to set it by right-clicking on your Desktop
> on the (what is it called) "My Desktop", go to "Properties" on the
> "Advanced" Tab, there is an "Environment Settings" Button, click on it.
> In the lower list look for PATH, select it and an Dialog will open. Add
> there just the following seapareted by semikolon:
> C:\msys\1.0\bin;\C:\MinGW\bin
>
> As PATH tells, it wants the path, not the whole program.
> Accept the Dialog by clicking "Ok" all to the end.
> Restart Eclipse.
>
|
|
|
Powered by
FUDForum. Page generated in 0.06340 seconds