473,383 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Using eclipse for C++ project: error launching 'cygin'

momotaro
357 100+
I m trying to use eclipse for c but when i creat a project and try to build i have this error message: error launching 'cygin'...
plz help!
Feb 20 '07 #1
24 8746
sicarie
4,677 Expert Mod 4TB
I m trying to use eclipse for c but when i creat a project and try to build i have this error message: error launching 'cygin'...
plz help!
cygin or cygwin?

If it's the latter - I'm betting that there is a config issue with how Eclipse is installed and set up. (If it's the former, I have no idea - unless that's the config issue....)
Feb 20 '07 #2
momotaro
357 100+
It is cygwin and i think that every thing is ok with the path....
realy i don't understand
Feb 20 '07 #3
sicarie
4,677 Expert Mod 4TB
It is cygwin and i think that every thing is ok with the path....
realy i don't understand
Check out this link and see if it helps.
Feb 20 '07 #4
momotaro
357 100+
thx but still having the same probem: error launching 'cygpath' command
Feb 20 '07 #5
RedSon
5,000 Expert 4TB
Make sure that your cygwin binaries are visible to eclipse. The cygpath program is a utility that converts Windows native filenames to Cygwin POSIX-style pathnames and vice versa. It can be used when a Cygwin program needs to pass a file name to a native Windows program, or expects to get a file name from a native Windows program. Alternatively, cygpath can output information about the location of important system directories in either format.
Feb 20 '07 #6
sicarie
4,677 Expert Mod 4TB
Make sure that your cygwin binaries are visible to eclipse. The cygpath program is a utility that converts Windows native filenames to Cygwin POSIX-style pathnames and vice versa. It can be used when a Cygwin program needs to pass a file name to a native Windows program, or expects to get a file name from a native Windows program. Alternatively, cygpath can output information about the location of important system directories in either format.
Another thing to check is the classpath - to see if it is enclosed in quotation marks "c:/path/to/cygwin/binary". If so, remove those (but save the path!)
Feb 20 '07 #7
momotaro
357 100+
AM using mingw...
Feb 20 '07 #8
momotaro
357 100+
am trying to use eclipse for c but while building i keep having this problem!!!!!!
ERROR LAUNCHING 'cygpath' COMMAND.

PLZ HELP!!!!
Feb 21 '07 #9
sicarie
4,677 Expert Mod 4TB
am trying to use eclipse for c but while building i keep having this problem!!!!!!
ERROR LAUNCHING 'cygpath' COMMAND.

PLZ HELP!!!!
Momotaro-

Please do not double post, if you feel the thread has moved out of view of the experts of the forum, (after a reasonable amount of time) post a ::bump:: reply to it, that will bring it back to the top.
Feb 21 '07 #10
momotaro
357 100+
how to do it?
Feb 21 '07 #11
RedSon
5,000 Expert 4TB
Didnt I answer it in your other post?
Feb 21 '07 #12
momotaro
357 100+
sorry but it did not solve the problem!
Feb 21 '07 #13
RedSon
5,000 Expert 4TB
did you post what you tried to do to fix it after reading my post and what other issues you are having or what the error message is? Try continuing this discussion in the original post so that this one can be closed, since it is a duplicate.
Feb 21 '07 #14
AdrianH
1,251 Expert 1GB
how to do it?
Just reply to the thread with '::bump::'.

Any activity on a thread will move it to the top of the list.

Since I do not know what RedSon has posted, I could be reposting the same answer. But you will have to do the following:
  • Window->Preferences->C/C++->Debug->Common Source Lookup Path
  • Click on Add->Path Mapping
  • Click on the new mapping then click on Edit
  • Name the mapping what ever you want.
  • Click on Add
  • In the compilation path type \cygdrive\c
  • In the local system path type c:\
  • Click Ok
  • If you have other paths (such as you want to add d drive, you may also want to add the include path but that is up to you) go to step 5
  • Click Ok
  • Click Ok
You may have to restart Eclipse for this to work.

Hope this helps.


Adrian
Feb 21 '07 #15
RedSon
5,000 Expert 4TB
I said you need to take a look at your elicpse path. I did not provide the steps to do it.
Feb 21 '07 #16
AdrianH
1,251 Expert 1GB
Where is the original post?

Adrian
Feb 21 '07 #17
AdrianH
1,251 Expert 1GB
BTW, what I stated probably won't work. When I reread your question, looks like your path environment variable is set wrong.


Adrian
Feb 21 '07 #18
RedSon
5,000 Expert 4TB
Where is the original post?

Adrian
aqui .
Feb 21 '07 #19
momotaro
357 100+
as i said am using mingw not cyg...
so am realy confused!
Feb 21 '07 #20
RedSon
5,000 Expert 4TB
Here is another link for the same type of problem you are having.

http://yongshin.blogspot.com/2005/11...r-eclipse.html
Feb 21 '07 #21
AdrianH
1,251 Expert 1GB
as i said am using mingw not cyg...
so am realy confused!
Ok, I've merged the two threads into one.

Now momotaro, it sounds like you really are confused. If what RedSon has pointed you at doesn't work. You may want to restate your problem. Don't double post. Post back to this thread.

If the problem is that you are getting a error executing cygpath and you are using MinGW, it is probably that you have set your compiler options incorrectly. When I was first using it, I think I saw one but can't remember where.

Do you have both MinGW and cygwin installed or just MinGW? If you have both, they will probably conflict without special percautions.

We'll get you through this, you just have to do some of the work too.


Adrian
Feb 21 '07 #22
momotaro
357 100+
Thx a lot!!!!!
Feb 21 '07 #23
AdrianH
1,251 Expert 1GB
Thx a lot!!!!!
Hmm, was that sarcasim, or did we help you?


Adrian
Feb 21 '07 #24
RedSon
5,000 Expert 4TB
Lets hope for the latter...
Feb 21 '07 #25

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Oracle3001 | last post by:
Hi All, I have just got JBuidler 8, and I want to use the latest JDK with it. How / Can I do this. Also I am building a project using java media api and java 3d api, how can I get JBuilder to...
0
by: Vikram Sorathia | last post by:
hi, I am a novice developer in ECLIPSE. I am interested in developing web services on Eclipse Platform. I am trying to install WebTools Platform from the following site:...
2
by: TM | last post by:
When I run an ASP.Net application I am getting the following error: "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged."...
7
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the...
4
by: junee | last post by:
I tried to develop php on eclipse installed are prerequisites but it didn't work help me, if any one experienced with it succeeded. it is 0.7 build help plz
0
by: krishnakant Mane | last post by:
hello all, I found a very strange kind of behaviour in python with my own package. I created a package in which there were 4 modules and one __init__.py file I created the entire project in...
0
by: Husey | last post by:
Hi, I am trying to create a very simple EJB project which requires me to create a new jboss configuration in Eclipse. I keep getting the error message "An error has occurred. See error log for...
4
by: Gangreen | last post by:
ok, this might be a very stupid question, but I have googled, and I'm still stuck with it. I'm working on vista btw. I downloaded eclipse for C/C++, created a new project, and entered a simple...
4
by: vijayarl | last post by:
Hi All, i have the following software installed in my system : 1.OS: Win2k 2.Eclipse Version used :3.4.0 & even the perl too... 1. I have imported the my own perl project in Eclipse, when i...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.